On 14/11/10 17:00, Klaus Johannes Rusch wrote:
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
OR:
:0
* 1^0 condition1
* 1^0 condition2
* 1^0 condition3
action
You must read the man procmailsc. You don't need the math
explain but
see the examples.
--Udi
____________________________________________________________
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