A library and Mail Delivery Agent for Bayesian spam filtering