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 2009/10/03 07:55:54 UTC
[Spamassassin Wiki] Update of "IntegratedSpamdInPostfix" by scientes
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The "IntegratedSpamdInPostfix" page has been changed by scientes:
http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix?action=diff&rev1=27&rev2=28
}}}
Make sure that you have adjusted the path to the spamc and sendmail commands above! (Please note that the path required is Postfix's sendmail and not the standalone package, Sendmail the SMTP server. It will not work if you're not careful about which one is installed). Then, setup spamd to start with the system, and you are ready to go. If you wish to provide spamassassin preferences, change "user=nobody" to a valid system user (except for root, since Postfix will NOT call external programs as root), and add .spamassassin into that user's home directory.
+
+ If you want spamd to setuid to the user so it can save settings and leaning data you need to tell it the user
+
+ {{{
+ # ==========================================================================
+ # service type private unpriv chroot wakeup maxproc command + args
+ # (yes) (yes) (yes) (never) (50)
+ # ==========================================================================
+ ...
+ spamassassin
+ unix - n n - - pipe
+ user=nobody argv=/path/to/spamc -u ${user} -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}
+ }}}
If you use user preferences stored in SQL, you should change "spamassassin" service in master.cf to following:
{{{