procmail
[Top] [All Lists]

Scoring problem

2003-02-23 20:13:01
I'm testing a variant of Dallman's "infinity shuffle" recipe.  The
variable LAST is set to $= from the preceeding recipe.

LAST=3

:0
* $   -$LAST^0 ! LAST ?? (^^1^^|^^2^^|^^3^^)
* 2147483647^0
*          1^0
*          1^1 ^Received:[      ]*\/from\>.+
* MATCH ?? raq2\.paxp\.com

The log reports:

procmail: Assigning "LAST=3"
...
...
procmail: Score:       0       0 ! "(^^1^^|^^2^^|^^3^^)"
procmail: Score: 2147483647 2147483647 ""
procmail: Match on "raq2\.paxp\.com"

I thought that if ! LAST ?? (^^1^^|^^2^^|^^3^^) were true the recipe would
just be skipped.  It's not getting skipped and every hit on the preceeding
recipe gets hit again on this one, since apparently I'm seeing the same
"Received:" line as in the previous recipe.

                                - fleet -

PS:  I get the same result if the first condition is:
* $   -$LAST^0  LAST ?? ^^4^^
Which is what I really wanted.


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