Re: procmail and commas1998-07-29 12:22:12If one assumes that To: headers are consecutive, then the following
works. I assume it, and it helps catch quite a few spams.
:0
* ^to:\/.*(^to:.*)*
* 1^1 MATCH ?? @
{ NUM_TO=$= }
You want to extend this to CC, Apparently-To, Resent-to.... As with
commas, this miscounts mail addressed
To: rik(_at_)netcom(_dot_)com (rik(_at_)play)
--
Rik Kabel Old enough to be an adult
rik(_at_)netcom(_dot_)com
|
|
||||||||||||||||