I just installed procmail 3.15.2 from the source tar file. I then setup
postfix to use procmail as the LDA. Everything seemed fine except that I
can't create a log file. As a first test, this is my /etc/procmailrc
file:
LOGFILE=/etc/procmail.log
COMSAT=no
So then I sent a mail to my regular user account and it delivers the
mail just fine, but it will not create the log file and in the maillog
file I get this error:
Error while writing to "/etc/procmail.log"
If I change the directory to /tmp then it creates the file, but it does
so with the recipient as the owner of the file, not root as expected.
Which is why it is unable to create the logfile in /etc.
Doesn't the /etc/procmailrc file get run as root? Why would procmail be
trying to create this log as the recipient? The procmail executable is set
suid root:
-rwsr-xr-x 1 root root 67476 Jun 6 23:38 procmail
Why is it trying to create the logfile as the recipient instead of root?
Help appreciated,
Derek
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail