Hi
I'm running procmail v3.22, with a global procmailrc called directly as a
mailer from sendmail. None of my users are local unix users, but are
authenticated thru Oracle, which feeds procmail a maildrop (actually a
maildir) to write to.
I'm having a couple of problems, however. The first is, if the maildir
doesn't exist and procmail has to create it, it seems to spend quite a long
time attempting to lock the first time it creates the folder:
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF.CgJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:06 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF,CgJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:14 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF+CgJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:22 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF%CgJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:30 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF.igJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:38 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF,igJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:46 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF+igJk8.polanski
"
procmail: [20590] Thu Mar 14 12:31:54 2002
procmail: Locking "/var/mail/u/t/akfsut670357/.lock"
procmail: Error while writing to
"/var/mail/u/t/akfsut670357/_uBF%igJk8.polanski
"
procmail: Lock failure on "/var/mail/u/t/akfsut670357/.lock"
procmail: Assigning
"LASTFOLDER=/var/mail/u/t/akfsut670357/new/1016109114.20590_
0.polanski"
From mserv Thu Mar 14 12:30:58 2002
Subject: test
Folder:
/var/mail/u/t/akfsut670357/new/1016109114.20590_0.polanski 294
.. before finally creating the mail OK.
However, I really don't want the files to be owned by root, which they are.
In order to get them owned by "popmail", I do this in the global rc:
:0
{
DROPPRIVS=yes
SWITCHRC=/export/home/popmail/vip_procmailrc
}
and looking at the log, I have:
procmail: Assigning "DROPPRIVS=yes"
procmail: Assuming identity of the recipient, VERBOSE=off
However, it still writes the files as root. BTW, I am running procmail
suid. If someone could give me any pointers, I would be very grateful.
Cheers
John P Connor
ICL.net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail