Hi.

Since some time, I noticed that procmail prints "Attempt to fake stamp by
<username>" to syslog for each and every mail.
This is because of the postfix setup.  There's this line in
/etc/postfix/main.cf:

     mailbox_command = /usr/bin/procmail -o -a $DOMAIN -d $LOGNAME

I asked on the procmail mailing list, and got an answer by Philip Guenther,
telling me to change the line like so:

     mailbox_command = /usr/bin/procmail -Y -a $DOMAIN

The message "Attempt to fake stamp by" is somehow caused by the -d parameter to
procmail.  However, -d is not necessary, as the mailbox_command already runs
under the recipients UID.  It even says so in the /etc/postfix/main.cf:

     # The mailbox_command parameter specifies the optional external
     # command to use instead of mailbox delivery. The command is run as
     # the recipient with proper HOME, SHELL and LOGNAME environment settings.
     # Exception:  delivery for root is done as $default_user.

So, -d isn't necessary.  I'm not so sure about why he dumped -o and added -Y
though.

But at least the "-d" should definitely be dropped.

Thanks,
Alexander Skwar

PS: This is bug 4048 -> https://qa.mandrakesoft.com/cgi-bin/show_bug.cgi?id=4048



Reply via email to