[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] Spam filtering
>>>>> "David" == David Morris <Morris> writes:
David> Barrie, Just out of curiosity, what qmail config changes
David> did you make? Was it simply a case of piping the incoming
David> message to spamassassin (and if so, how)?
I initially had a Perl script which called Mail::SpamAssassin to check
each message and filtered to various mboxes using Mail::Audit this was
called from the .qmail file.
My web/mail host now has the Spam Assassin spamd running, so
I use spamc from the .qmail to pipe all mail through spamd, then into
another perl script which delivers the mail using Mail::Audit.
A simple .qmail example is:
|/usr/bin/spamc
&user
That should pipe mail through spamd, tag the mail and then deliver all
mail to user [at] localhost.
Check the qmail dot-qmail man pages (http://qmail.org) for the syntax
of the .qmail files.
David> Qmail I'm not so certain about and I reckoned
David> that asking someone who already does it could save me an
David> hour or so of research, especially if qmail needs to be
David> patched first!
No, qmail doesn't need patching - it's all handled through the normal
.qmail files.
Give me a shout off list if you want example scripts etc.
Cheers.
Baz.
--
Barrie J. Bremner
baz-sheflug [at] barriebremner.com http://barriebremner.com/
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.