At 23:57 2007-08-15 -0400, Homer Wilson Smith wrote:
Running postfix and latest procmail.
<snicker>
The latest source distribution, or the latest hacked version as per some
unknown distro?
Using the following /etc/procmailrc
:0
* ^From \/[^ ]*
| /usr/sbin/sendmail -oi -f $MATCH
$LOGNAME(_at_)popper(_dot_)lightlink(_dot_)com
Because procmail runs as root, sendmail (postfix) complains
about being called as root even though sendmail is not setuid.
Can I get procmail to call sendmail non setuid root, the warning
messages /var/log/mail are gigabytes a day!
DROPPRIVS=YES
or, you could specify a different config file for sendmail.
Note that the -f parameter is likely to generate a warning, in the form of
an inserted header about a non-trusted user setting the envelope sender
(unless each user for which this forward operation is taking place is
listed as a trusted user in sendmail).
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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