python spam filter: random words?

Tony Meyer ta-meyer at
Mon Aug 11 03:34:09 CEST 2003

> I know fighting spam is like fighting global worming,

The images that global worming conjures up are delightful ;)

> Has 
> anyone tried using that feature in antispam filters? Since 
> python is the only lang I am more or less fluent in as an 
> amature scripter, I was wondering if anyone in this goup has 
> comments on this idea.

I suggest you check out spambayes, which is a (the) bayesian (of sorts) spam
filter implemented in Python.  It considers these 'words' just like any
others, which means that they are likely to have no influence over the
classification of the message.


> Also, is it reivial make a python 
> script filter executable from a generic mail program like OE, 
> or NS messenger?

This is really up to the MUA.  SpamBayes includes a nice example of an
Outlook plugin that might be of interest.

> I am also wondering why spammers add that 
> stuff to their subject lines anyway.

To fool simple checksum type filters, probably.

=Tony Meyer

More information about the Python-list mailing list