OT: spam filter

James Gray james at grayonline.id.au
Thu Jul 6 21:15:23 IST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rodney Green wrote:
> Does anyone know of a filter script that will scan an mbox file for spam
> using spamassassin's rules and output any mail not found to be spam to
> another file?


Off the top of my head it seems to suggest a combination of "formail"
and "procmail".  Parse the mbox with formail to break it up into
individual messages, then pump them though spamassassin and depending on
 what spamassassin finds, either dump to another mbox or delete (using
procmail).  There are probably other ways, but it's 6:15am and I haven't
had my coffee yet :P

HTH,

James

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErW9bwBHpdJO7b9ERAszxAKCVeNQdiFyJURq99exSahhxOjKavwCffQzl
hgOuXEbAqqMB6mtNFGWULGw=
=XEq6
-----END PGP SIGNATURE-----



More information about the MailScanner mailing list