http://www.spamassassin.org/ - docs, faq, downloads
http://www.paulgraham.com/spam.html - description of Bayesean filtering used by SpamAssassin