procmail
[Top] [All Lists]

Re: efficiency q: multiple addressees

2002-01-16 15:15:15
Seriously, I am looking for efficiency

In that case, you might want to *not* use ^TO_ or ^TO since they have
the "(.*[^-a-zA-Z0-9_.])?" and "(.*[^a-zA-Z])?)" which isn't useful for
how you're using it.  Also, the "Original-" or "Resent-" variations of
the ^TO(_) regexes might not be much use to you (??) in which case you
could pare the condition down to something like:

  :0:
  * ^((Apparently-)?To|Cc|Bcc|X-Envelope):.*(,|(^.+)*\
            ^((Apparently-)?To|Cc|Bcc|X-Envelope):)
  multiples

And that might save you a little bit.

Whether it saves you anything measurable is a different question, of
course.

Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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