Dallman wrote,
| :0
| * $ $=^0
| * -100^1 ^(Message-Id|In-Reply-To|References):.*[$!]
| { }
|
| Alternatively, or is it moreover, since we're using scoring,
| we do have the option of ORing like this, don't we?
|
| :0
| * $ $=^0
| * -100^1 ^Message-Id:.*[$!]
| * -100^1 ^In-Reply-To:.*[$!]
| * -100^1 ^References:.*[$!]
| { }
Again, that will count each header only once, regardless of how many dollar
signs or exclamation points are in it, because the regexps are left-anchored.
The earlier score from which you're subtracting counted every dollar sign and
every exclamation point in the head, not just lines that included them.
| Finally, and furthermore, resuscitated from the earlier post is
| again Stage 3:
|
| # $= now contains the corrected score. If it's greater than
| # zero still, then do whatever
| :0
| * $$=^0
| { whatever }
|
| I'm now unclear on the concept of why we need a Stage 3. Why not
| just put "whatever" in the braces up above and be done with it?
I was wondering that myself from the start, but I wanted to try to figure out
all possibilities before challenging Philip on it.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail