I have been upgrading a personal mail server and appear to have run into a
permission problem using procmail. Previously I was on a Redhat9 box and
used procmail sitewide (/etc/procmailrc) to archive mail, move spam around
and log info. Since upgrading both to centos5 and procmail (v3.22
2001/09/10) my old way of doing things will not work. I was and would like
to continue to log information and archive mails to another directory
located on the system and not into the $HOME location. It appears as though
procmail now executes as the user who has the inbound mail so I cannot get
this log and archive anywhere other than inside the $HOME directory.
If I reset the log path to $HOME/procmail.log it works and I see the
following permissions on the file
-rw------- 1 root mail 0 Jun 6 17:06 procmail.log
I have attempted to change the permissions and owner on the log I wish it to
write to but still get the "Error while writing to
"/tmpdir/mail/logs/procmail.log"". I have also attempted to put my users
and the mail account into a group and give the group read/write to the file
but still get the same result.
Can someone shed some light on this and get me pointed in the right
direction?
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail