procmail
[Top] [All Lists]

RE: filtering issues (newbie warning)

2008-10-13 12:00:25
Professional Software Engineering wrote Monday, October 13, 2008 5:45 PM:

At 18:32 2008-10-10 -0400, Indi wrote:
^From:.*(harikatha\(_at_)harikatha\(_dot_)net|harikatha\(_at_)harikatha\(_dot_)info|
news\(_at_)purebhakti\(_dot_)tv||keep_in_touch\(_at_)purbhakti\(_dot_)tv|news\(_at_)bhakt
iprojects\.com))
$MAIL/bhakti/.

Two things wrong with your condition line here: there are
TWO closing parenthesis, but only one opening, and more to
the issue of your problem:  see the two OR '|' operators in
conjunction?  Basically, you have an EMPTY condition, which
will match anything.  You want ONE OR.

While we're at it, I feel the urge to mention that "@" does not
need to be quoted.  Lots of people in recent weeks have been sending
in example recipes with a slash in front of the at-sign.
No harm, no foul, but also no necessity.

D

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>