mail filter in python?
gerrit.holl at pobox.com
Mon Feb 7 11:01:56 EST 2000
Oleg Broytmann wrote on 949932068:
> On Mon, 7 Feb 2000, Gerrit Holl wrote:
> > > http://www.procmail.org
> > The procmail syntax is really obfuscated. 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...
> Welcome to the wonderful world of Security! :))) (and locking problems)
> Procmail, being here for a long time, has a LOT of builtin mechanisms
> for locking, security checks, portability and so on.
File locking isn't hard to implement, what kind of security checks do you
mean? Python is portable so that's not a problem.
> It would be hard to reimplement all that from scratch :(
I don't think so. Security is not an issue, the command runs under the
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O
!M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK----- moc.edockeeg.www//:ptth
More information about the Python-list