You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2005/09/23 17:22:00 UTC
[Spamassassin Wiki] Update of "IntegratedSpamdInPostfix" by TheoVanDinter
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The following page has been changed by TheoVanDinter:
http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix
The comment on the change is:
-f isn't required for spamc anymore
------------------------------------------------------------------------------
...
spamassassin
unix - n n - - pipe
- user=nobody argv=/path/to/spamc -f -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}
+ user=nobody argv=/path/to/spamc -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}
# make sure it's all on one line or
# start the consecutive lines with a whitespace
# like I did here
@@ -53, +53 @@
...
spamassassin
unix - n n - - pipe
- user=nobody argv=/path/to/spamc -f -u ${recipient} -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}
+ user=nobody argv=/path/to/spamc -u ${recipient} -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}
}}}
Notice "-u ${recipient}" added. Otherwise "username" field in database will always appear as user which postfix is invoking spamc(in this example it is 'nobody').