procmail
[Top] [All Lists]

Re: help. my rules just stopped working...

2004-12-03 22:59:17
Toen wij Christopher L. Barnard kietelden, kwam er dit uit:

These four rules just stopped working this morning.

 :0 f
 *$ ^To:*\(_at_)isc\(_dot_)org

1. No need for the '$' after the '*', since you don't need a re-parse.
2. The part ':*' means zero or more colons. Change to ':.*'.
3. No need to escape the '@'.


Revised:

  :0 f   # might need other flags
  * 9876543210^0 ^(to|cc):(_dot_)*(_at_)isc\(_dot_)org
  * 9876543210^0 
^(to|cc):(_dot_)*procmail(_at_)lists\(_dot_)rwth-aachen\(_dot_)de
  | formail -a "X-Keeplist-Member: procmail ... through."


Yes, I
know that the two rules for the isc.org and for the procmail mailing
lists could be combined with

*$ ^[to|cc]:

No, that idea is wrong. The '$' should go, the '[' should be a '(', etc.

-- 
Grtz, Ruud


____________________________________________________________
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>