On Sun, Nov 14, 2010 at 06:11:42PM +0200, Udi wrote:
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.
Right, thank all of you so kind! procmail's manpage is too long to
find such a basic thing...
--
Regards,
Yue Wu
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
____________________________________________________________
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