procmail
[Top] [All Lists]

Re: newbie question

2003-01-16 16:11:48
Michele Francis <Michele(_dot_)Francis(_at_)NAU(_dot_)EDU> asked:

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

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


The pipes represent "OR" syntax.  The standard condtion lines are "ANDed."

Btw, you probably want to quote your dots, as in

        awsome\.net
        deals\.com

Otherwise, you would match without meaning to on mail such as

        From: "One Awesome Net-Gal" <yourmom(_at_)isp(_dot_)com>
or
        From: "New Deals 'R' Us" <newmusic(_at_)newmusic(_dot_)nu>

-- 
dman


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