procmail
[Top] [All Lists]

Re: Detecting multiple To: headers?

1999-05-12 16:38:14
David W. Tamkin writes:
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


So, what would the recipe be to detect multiple To: headers?

        Thanks,

        John

-- 

John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602, whois '!JC154'
conover(_at_)inow(_dot_)com, http://www2.inow.com/~conover/john.html

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