procmail
[Top] [All Lists]

Re: [procmail] newbie question

2003-01-16 16:07:47
Michele Francis skribis:
I have this working

:0
* ^ From:.*awsome.net|\
 ^From:.*m100.net|\
 ^From:.deals.com
/dev/null

Here the conditione are OR-ed.

The condition contains several errors and mistakes: 
the space after the first ^, the missing * before deals, 
all the unescaped dots, the verbosity.


Why doesn't this work?
:0
* ^ From:.*awsome.net
* ^From:.*m100.net
* ^From:.deals.com
/dev/null

Here the conditions are AND-ed.


Better make that something like:

 :0
 * ^From:.*@([-a-z0-9]+\.)*(awsome\.net|m100\.net|deals\.com)\>
 /dev/null



-- 
Affijn, Ruud

Easy people don't care too much.

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