procmail
[Top] [All Lists]

Re: or statements

2003-09-14 09:31:05
Manojav Sridhar wrote:

i am writing th following recipie.

:0:
* ^(From).*senderID@ | ^(From)(_dot_)senderID2(_at_)* | 
^(From)(_dot_)senderID3(_at_)*
sender

:0
* ^From: (senderID|senderID2|senderID3)@
sender


but this doesn't seem to work, I understand that all procmail recipies
are "AND-ed" and not OR'ed how can I achive this?

Individual rules are ANDed, however that does not prevent you from using
ORed regular expressions within a single rule.  Note that @* would match
zero or more @ signs, probably not what you wanted.

--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/




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