mcrute/tiny-webapps — pull request #1 by mpirnat (2012-08-09 03:24:12+00:00)
Title: I hate spam

Here's some very basic wiring of spambayes screening of the email gateway's message field... I've tested the spambayes bits in an interactive shell but not all the configuration wiring. I have used the train_ham.py and train_spam.py scripts to build the example_spam.pkl, feeding it with real-world input from the FPIP contact form.

There is almost certainly room for improvement.