Procmail permission problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have reinstalled the latest version of spamassassin and clamav. I am using
the clamav plugin and sitewide procmail. Everything works except I cannot find
how to enable the procmail logfile using this approach.

/etc/procmailrc has

# SpamAssassin procmailrc
SENDMAIL=/usr/sbin/sendmail
LOGFILE=/var/log/procmail.log
LOGABSTRACT=all
COMSAT=no
VERBOSE=yes
DROPPRIVS=yes

[snip]

If I leave logfile as above, I get a write logfile error on incoming:

Feb 17 17:24:07 www procmail[30460]: Error while writing to
"/var/log/procmail.log"

-rw-rw-r--    1 root     wheel           0 Feb 17 16:54 procmail.log

which means a permissions error.

How do I find out which user account sitewide procmail uses when processing
the incoming mail? I suspect that the procmail process does not
have write permission for the log? I hesitate to make the logfile 777?

Thanks.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux