procmail
[Top] [All Lists]

Re: Detecting multiple To: headers?

1999-05-12 14:35:01
Justin Lloyd wrote,

| The first condition was just my way of making the recipe find messages with
| *multiple* To: lines.  The initial score of -1 made the first To: header set
| the score to 0, keeping the recipe from immediately matching.  Details,
| details...  :)

That may have been your intention, Justin, but it was not your result.

  * 0^-1

always scores zero no matter what.  That's why $= reported the total number
of To: lines instead of the number of extra To: lines when Era logged it.

To prejudice the score by -1, use this:

  * -1^0

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