procmail
[Top] [All Lists]

Re: How to express OR in procmail?

2010-11-14 09:00:14
 On 2010-11-14 15:07, Yue Wu wrote:
Say I want to filter emails with "from: foo1(_at_)mail(_dot_)com" OR "from:
foo2(_at_)mail(_dot_)com" OR "subject: test" into folder/, how to do it in
procmail?

Alternatives can easily be represented in regular expressions:

    :0
    * (condition1|condition2|condition3)
    action

--

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

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