procmail
[Top] [All Lists]

Re: advice needed on recipe

2007-09-22 08:52:41
On Sat, 22 Sep 2007 11:55:12 +0200
Ruud H.G. van Tol wrote:

N.J. Mann schreef:

   : 0 BH
   * ^Subject:\ put_your_subject_regexp_here
   * your_email:\ \/.*
   {

There are several reasons to rewrite that to:

     :0
     * ^Subject: put_your_subject_regexp_here
     * B ?? your_email: \/.*
     {

1. The H-flag can cause problems, don't use it in public recipes. I
never use it in any procmail recipe, there is no need.
2. There is no need to look for the Subject-expression in each
(possibly multi-megabyte) body, nor for "your email:" in the headers.
3. The space doesn't need to be escaped.

-- 
Groet, Ruud

Thanks.
-- 
Richard Kimber
http://www.psr.keele.ac.uk/
____________________________________________________________
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>