procmail
[Top] [All Lists]

Re: Recipe needed

1999-10-26 12:16:49
Maybe (and I mean maybe) something along the lines of

:0
* ^(Cc|To):[    ]*([^(_at_)]+@[^, >]+){101,}
/dev/null

the [   ] is a space and tab.

On Tue, 26 Oct 1999, Laura Henry wrote:

I want to filter junk messages sent out to long lists of recipients.  Is
there a way to tell procmail to reject/bounce any e-mail that has a "To:" or
"Cc:" header which contains (say) more than a hundred occurrences of the "@"
symbol (and hence e-mail addresses)?


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