procmail
[Top] [All Lists]

Re: Is there a way

2004-07-20 16:56:25
Udi wrote:

        To make it global, just:

LOGFILE=/dir/procmail/log/$LOGNAME

        (No need for DROPPRIVS=yes)

If you do that inside /etc/procmailrc without dropping privileges, and procmail is suid root, won't the logfiles be created with root as owner and root or wheel as group? The logfiles would have be be world- readable for their own users to read them, and the users couldn't clear them out when they get long.

So that may do for the files Curtis wants to create as admin logfiles, but at the end of /etc/procmailrc, he still needs to do

 DROPPRIVS=yes
 LOGFILE=$HOME/somepath

so that each user gets an accessible, usable logfile for whatever (s)he does in his/her ~/.procmailrc.

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>