procmail
[Top] [All Lists]

Re: Is there a way

2004-07-20 13:51:25
On Tue, 20 Jul 2004, David W. Tamkin wrote:

Curtis wrote to me privately, saying that none of the posted solutions
is to his liking, and proposing that he keep a separate logfile for each
user, with $LOGNAME in its basename.

Apparently he's using one logfile for all the users on the system and
setting it in /etc/procmailrc?  His post didn't tell us that part.  No
wonder he gets so many clashes.

Curtis, yes, separate them by user.  But near the end of
/etc/procmailrc, just before procmail moves to the recipient's
~/.procmailrc, add

DROPPRIVS=yes
LOGFILE=$HOME/.procmaillog # or something similar that suits your system


        To make it global, just:

LOGFILE=/dir/procmail/log/$LOGNAME

        (No need for DROPPRIVS=yes)

Bye,
 Udi

____________________________________________________________
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>