procmail
[Top] [All Lists]

$MATCH in body

2001-06-25 09:03:33
I don't seem to get a result when I try something like this:

:0 B
* \/this .*is not .*spam|(a|this) one[ -]time (e.*)?mail|not a spam|opt-in\
  |...
  |18.*o(nly|ver)|adults only|nikki
{
        :0 fwh
        | formail -A "X-Diagnostic: spam keyword or phrase in body: \"$MATCH\""
        :0:
        spam
}

The recipe matches its target, but the resulting diagnostic just says:

X-Diagnostic: spam keyword or phrase in body: ""

I get MATCH content consistently from header recipes.  Is there
something different about \/ in the body?  Using procmail v3.10.

TIA,

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