|
[SACVS] CVS: spamassassin/debian README.Postfix,NONE,1.1 spamassassin.READM: msg#00123mail.spam.spamassassin.cvs
Update of /cvsroot/spamassassin/spamassassin/debian In directory sc8-pr-cvs1:/tmp/cvs-serv8048 Modified Files: spamassassin.README.Debian Added Files: README.Postfix Removed Files: README.postfix Log Message: Postfix README added --- NEW FILE: README.Postfix --- Integration SpamAssassin with Postfix This file contains information on how to integrate SpamAssassin with Postfix for incoming mails. 1. Set SpamAssassin to start after booting the system Edit /etc/defaults/spamassassin and set SpamAssassin to start after a reboot. 2. Start SpamAssassin /etc/init.d/spamassassin start 3. Create a filter user. adduser --disabled-password --disabled-login --gecos "Postfix Filter User" filter 4. Create the filter script. Under ~filter, create filter.sh: #!/bin/sh /bin/cat | /usr/bin/spamc -f | /usr/sbin/sendmail -i "$@" exit $? Be sure to chmod it to 750, at least. A more complete example can be found under /usr/share/doc/spamassassin/examples 5. Set /etc/postfix/master.cf It must contain the following lines: localhost:smtp inet n - - - - smtpd <external.ip>:smtp inet n - - - - smtpd -o content_filter=filter: [...] filter unix - n n - - pipe flags=Rq user=filter argv=/home/filter/filter.sh -f ${sender} -- ${recipient} 6. Reload postfix As root, exec: #> postfix reload That should be it. Aug 2003, Jesus Climent Index: spamassassin.README.Debian =================================================================== RCS file: /cvsroot/spamassassin/spamassassin/debian/spamassassin.README.Debian,v retrieving revision 1.5 retrieving revision 1.6 diff -b -w -u -d -r1.5 -r1.6 --- spamassassin.README.Debian 21 Jun 2003 01:25:21 -0000 1.5 +++ spamassassin.README.Debian 25 Sep 2003 10:44:49 -0000 1.6 @@ -67,3 +67,4 @@ For information on integrating spamassassin and exim 3, read README.Exim3. +For information on integrating it with Postfix, read README.Postfix. --- README.postfix DELETED --- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [SACVS] CVS: spamassassin/lib/Mail/SpamAssassin MIME.pm,1.3,1.4: 00123, Theo Van Dinter |
|---|---|
| Next by Date: | [SACVS] CVS: spamassassin/build update_website_docs,1.1,1.2: 00123, Justin Mason |
| Previous by Thread: | [SACVS] CVS: spamassassin/lib/Mail/SpamAssassin MIME.pm,1.3,1.4i: 00123, Theo Van Dinter |
| Next by Thread: | [SACVS] CVS: spamassassin/build update_website_docs,1.1,1.2: 00123, Justin Mason |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |