procmail
[Top] [All Lists]

Re: [procmail] or statements

2003-09-14 12:37:40
Toen ik Manojav Sridhar kietelde, kwam er dit uit:

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

My first go:

(1)  * ^From.*\<(senderID|senderID2|senderID3)@

But, if you are not interested in the From_ header, 
and only in the From: header(s), use this:

(2)  * ^From:(.*</)?(senderID|senderID2|senderID3)@

If these senderID# are the literal nameparts of the actual 
mail-addresses, then use

(3)  * ^From:(.*</)?senderID(2|3)?@

(but I think that (2) is what you want)

-- 
Affijn, Ruud

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