Simple mail/spam filter

Auke Jilderda jilderda at
Fri Aug 30 09:59:17 EDT 2002

I wrote a little spamfilter in Python using both the email and smtplib 
packages. It's a very simple (some 300 LOC) implementation of a whitelist 
strategy and works extremely effective for me. Have a look at

Kind regards,


Thomas Weholt <2002 at> wrote:
> Saw the proxy-example on and thought I could make a very
> simple spamfilter. Can I use the mime-module to inspect the incoming emails?
> Any could, real simple examples on how to implement a very basic spamfilter
> would be highly appreciated. The link on was dead.
> Best regards,
> Thomas

More information about the Python-list mailing list