procmail
[Top] [All Lists]

Re: spam filter ?

2000-09-15 11:07:30
On Fri, 15 Sep 2000, Johannes Zellner wrote:
JZ| Hello,
JZ| how can I `or' together the addresses ?
JZ| 
JZ| :0
JZ| * ^From:(_dot_)*(_at_)china(_dot_)com
JZ| * ^From:(_dot_)*(_at_)msn(_dot_)com
JZ| {
JZ|     EXITCODE=77
JZ|     0:
JZ|     /dev/null
JZ| }
JZ| 
JZ| /won't/ work.
Hi,
you can use * ^From:.*@(china|msn)\.com
Note that the dot should be escaped, in order to match a litteral dot.
Look at "Mastering Regular Expressions" by Jeffrey E.F. Friedl,
O'Reilly...

Nigge

-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss or damage caused by relying on this information.

pgp-key fingerprint: B6A8 ED32 EFEF 3F43 6F9B 510D 7A90 7FDC 462A 1ABC



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