procmail
[Top] [All Lists]

Re: message size into subject?

2008-03-02 10:49:26
On Sun, Mar 2, 2008 at 4:44 AM, Richard Ball <rgball(_at_)ellerbach(_dot_)com> 
wrote:
 Header size, body
 size (as byte, word, line counts), addresses, domains, etc. are all
 things that are (can be) parsed as procmail traverses the message. Why
 should I have to invoke formail to get addresses or scoring to get byte
 counts?

Two reasons:  (1) Old unix philosophy:  One program should do one
thing, and do it well.  Header parsing is not procmail's thing.  (2)
Procmail tries to do absolutely nothing that you haven't explicitly
asked for, including not precompiling the rc files to find out what
you might be intending to ask for.  You're completely in control of
how (in)efficient your procmail process may be.  That used to be
extremely important, back when procmail ran on processors whose clock
speeds were measured in tens of MHz.

Other email filtering software does exist.
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>