procmail
[Top] [All Lists]

Re: egrep matches, but procmail recipe not

2015-08-16 10:09:21
Sure Ruud, I see that would work, but this ! match paradigm I
have been using since "forever" and it is simple and logical.

Also these rules are all in a $DEFAULT delivery stanza, so it is
the ! match that I want to confirm and then allow delivery to
proceed. I can change the design and put these rules into a
separate spam trap.

I just cannot understand;
a. Why my rules do not work.
<rant
b. Why after decade(s?) of spam, there are not plugins for
trapping what is so obviously spam. />

Thanks

Eric
Ruud H.G. van Tol wrote on Sun-16-Aug 15  5:03PM

Eric, I think you are looking for 'OR' logic.

OR = 987654321^0

:0
* $ $OR ^(Subject|From):.*sunglas
* $ $OR ^(Subject|From):.*ray.*ban
{ LOG = "FoundOneOrMore: $=" }
:0E
{ LOG = NotFoundAny }


-- 
Ruud
____________________________________________________________
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

-- 
Best regards,
Eric Smith
BioVolt B.V.
Mobile: 00 31 6 455 09313 - Tel Wageningen: +31 317 728888
____________________________________________________________
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