procmail
[Top] [All Lists]

Re: why did this match?

1997-10-20 17:02:35
Timothy J Luoma <luomat+procmail(_at_)luomat(_dot_)peak(_dot_)org> writes:
Well, if the header said

X-SpamChecker: Blocked Domain whatever-it-said-here

then the recipe matched "whatever-it-said-here" in one of the header
given in the condition above, period.  If MATCH contains something,
that's what procmail matched.

It said:

X-SpamChecker: Blocked Domain: from phord (user-37kb6o3.dialup.mindspring.com

But I could not find phord, user-37kb6o3, dialup, or mindspring in the rc file

Alternatively, there's another recipe doing the matching.  Are you 110%
sure that you've looked in all of your .procmailrc files?

There's only one that says 'Blocked Domain'

The recipe you included in your previous message had as an action:

        | $FORMAIL -A"X-SpamChecker: Blocked Domain $MATCH"

Is that really what is in your .procmailrc?  If so, how did a colon
get right after the word "Domain"?  Does the X-SpamChecker: header
really match the action recipe?

Hmm, since your previous recipe started with:

        :0hfw
        * ^(From.|Reply-To:|From:|Message-ID:|Received:)()\/.*(1-global\.com|\

you would get a match if the list of domains contains "ring.com" or
"spring.com".  You probably what to tighten up that regexp:

        :0hfw
        * 
^(From.|Reply-To:|From:|Message-ID:|Received:)()\/(_dot_)*[(_dot_)(_at_)!](\
                1-global\.com|\
                ...
                )([^-a-z0-9]|$)


Philip Guenther

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