Backend of a spam filter using a naive Bayesian classifier