DIY Spam Filter in Python

2005-04-04 Thread Peter Ballard
Hi all,

I've no idea if this will be of any use to anyone. But since I've gone
to the effort of writing it, I might as well make it publicly
available...

Until last year, spam filtering was a source of frustration for me.
Freeware packages I tried (specifically, spamassassin and dspam) were
difficult to use. Custom rules using procmail were a pain.

Then I noticed that python came with email parsing capabilities in the
email module. So I thought that maybe custom rules in python would be
easier than (a) custom rules in procmail, or (b) deciphering the
documentation of a package. And a lot more fun.

It turned out to be very easy. I got the filter up in a few evenings,
and I've been using it successfully, and slowly enhancing it, over a
number of months.

In short: a success story for "using the batteries" - at least in my
opinion.

Source code, and a bit of documentation, is at:
http://members.ozemail.com.au/~pballard/diyspamfilter.html

--
Regards,

Peter Ballard
Adelaide, AUSTRALIA
http://members.ozemail.com.au/~pballard/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: DIY Spam Filter in Python

2005-04-05 Thread Peter Ballard
Damien Wyart <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> * [EMAIL PROTECTED] (Peter Ballard) in comp.lang.python:
> > Source code, and a bit of documentation, is at:
> > http://members.ozemail.com.au/~pballard/diyspamfilter.html
> 
> BTW, 2 of the 3 files are links, so missing from the tar archive...

Sigh. Murphy's Law strikes again.

The tar file is fixed now.

--
Peter
-- 
http://mail.python.org/mailman/listinfo/python-list