SpamAssassin in Python?

François Pinard pinard at iro.umontreal.ca
Sun Oct 5 12:24:21 EDT 2003


[Roman Suzi]

> Is there SpamAssassin-like app (well, maybe just rule-based
> part of it) written in Python?  I do not need any fancities
> just liked to know if it will be faster than Perl version.

I wrote my own, a good while ago, taking some ideas here, some ideas
there, yet I do not remember having published it ever (it's called
NoSpam).  I revise it once in a while, not often, when the need arises
for me to do so.  It surely has less features than SpamAssassin, is a
bit tied to my own habits, but it does the job good enough for me.  I
surely may make it available for anyone curious who asks, yet I do not
really feel like maintaining it seriously, and this is probably why I
did not make too much noise about it.  The truth is that I'm not so
interested in become a specialist in SPAM matters -- life has so many
more interesting challenges to offer! :-)

I do not know if it is slower or faster than Perl version, yet I do not
remember having had speed problems.  My prejudice is that SpamAssassin
is a bit slow, but I never made any serious check nor comparison.
NoSpam has a mode to diagnose batches of messages, but for incoming
email, NoSpam (and so, Python) is started separately for each message.
I never felt I need a server mode.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard





More information about the Python-list mailing list