[linux-elitists] procmail --> python?
Tue Sep 26 12:14:20 PDT 2000
> I can't help but wonder if Seth's query is inspired by my search last
> night for a perl procmail replacement.
> Procmail works very well for me, but what I am concerned about is that
> to do advanced things (real life example: case changing), I have to
> invoke a shell and invoke a pipeline of processes. This happens every
> time a mail message comes in. I'm starting to think that matching
> against mails with perl's regexps and then using perl for case
> changing, header rewriting, etc etc. Normally I hate perl but it seems
> well-suited for a job like this. FWIW, I found a Mail::Procmail module
> on CPAN, which desite it's name just has similar functionality to
If it's just the regex matching you want, wouldn't awk (or one of its
many variants) be a better "standard" scripting language to apply?
After all that's where perl stole its associative arrays anyway.
* Heather * Immature poets imitate, mature poets steal.
-- T.S. Eliot, "Philip Massinger"
More information about the linux-elitists