Graham's spam filter

Aaron Swartz me at
Wed Sep 4 23:06:53 EDT 2002

I've thought about building something similar too. I don't need the
network code, I can just integrate it into my mail path. Here are some
useful resources:

python-cdb[1] is a Python interface to D. J. Bernstein's cdb
package[2], which supports fast lookups (normally just two disk
accesses), low overhead (24 bytes per record, no startup cost) and is
designed for mission-critical applications like email. In short, it's
absolutely perfect for this application.


Bram Cohen has been thinking of modifications to the algorithm and
writing them up in Python[3].


Hope this helps,

Aaron Swartz []

More information about the Python-list mailing list