Eigenpoll : Spam fighting software : SpamAssassin 

http://spamassassin.org/

A mail filter, written in Perl, to identify spam using a wide range of heuristic tests on mail headers and body text. Free software. Can be used as a standalone mail filter, or from procmail.