Eigenpoll : Spam fighting software : bogofilter 

http://bogofilter.sourceforge.net/
The bogofilter package implements a fast Bayesian spam filter written in C.