procmail
[Top] [All Lists]

Re: regarding OR's on multiple lines

2008-06-16 10:03:53
TLD Procmail wrote:
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

If you can figure out where the searchable archives are (there really needs to be a link in the footer) I know it's scattered in there. I don't have access to my .procmailrc or I'd post an example for you. The proper format is no longer contained within my brainpan.

Gera;d
____________________________________________________________
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