procmail
[Top] [All Lists]

Re: Conditions Limitation

2000-08-08 11:53:55
Eric Hilding wrote:
[snip]
Here are the "Received:" lines from my modified (again) recipe:

* ^Received:.*\<for <[^ ]+(_at_)xx\(_dot_)com>
* ^Received:.*\<for <[^ ]+(_at_)XX\(_dot_)com>
* ^Received:.*\<for <(_dot_)*(_at_)xx\(_dot_)com>
* ^Received:.*\<for <(_dot_)*(_at_)XX\(_dot_)com>
* ^Received:(_dot_)*(_at_)xx\(_dot_)com
* ^Received:(_dot_)*(_at_)XX\(_dot_)com

Is there a limitation, or am I just all messed up here?

These are ANDed -- must ALL be true -- not ORed.  And, if you want
just any of them ("OR"), then this one covers them all:
  * ^Received:(_dot_)*(_at_)xx\(_dot_)com
(since it's case insensitive by default, you can safely "ignore" XX.)

Stan

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