procmail
[Top] [All Lists]

regarding OR's on multiple lines

2008-06-16 09:29:28
All,

  I used to know how to do this, but for the life of me
cannot remember.  How do I set multiple lines that act
as OR's?

  Let's say for sake of an example that I want to catch
anything not to me and not from my domain, but that
potentially has a series of catch phrases in the subject
line:

:0:
* H ?? ! ^TO_tld\(_dot_)procmail(_at_)stimulacra\(_dot_)com
* H ?? ! ^From:.*stimulacra\.com
* H ?? ^Subject:.*(phrase1|phrase2|phrase3)    OR
* H ?? ^Subject:.*(phrase4|phrase5|phrase6)    OR
* H ?? ^Subject:.*(phrase7|phrase8|phrase9)
/mail/has_catch_phrase

Duckie
--
$DEFAULT.sig

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