mail filter in python?
François Pinard
pinard at iro.umontreal.ca
Mon Feb 7 12:10:01 EST 2000
Gerrit Holl <gerrit.holl at pobox.com> writes:
> The procmail syntax is really obfuscated.
You get used to it, or at least, the part that you need. We both quite
understand than mouse-clicking teenagers would be completely lost in it :-).
> What about creating a mail filter with a Python syntax? Shouldn't be too
> difficult, just create some functions (drop, match_header) and execfile()
> a file with the rexec module...
Do not underestimate what `procmail' does. It has a _lot_ of features, and
was debugged over many years, by a rather careful programmer. Of course,
one may try and do better, this is often how programs evolve. But the
overall problem might much, much more obfuscated than procmail syntax :-).
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list