On Wed, 22 Jan 1997 02:50:45 -0500,
Scott Anguish <sanguish(_at_)digifix(_dot_)com> wrote:
For example if the From (or ^TO) has a dozen users (or say 20 or
whatever) I want to treat it as spam...
I also moderate a newsgroup, and if there are crossposts the messages need
to be rejected.
Count the number of commas.
:0
* ^TO(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)\
(.+,)(.+,)(.+,)(.+,)(.+,)(.+,)
/dev/null
/* era */
(Seems the egrep construct (.+,){20,} doesn't work with Procmail?)
--
See <http://www.ling.helsinki.fi/~reriksso/> for mantra, disclaimer, etc.
* If you enjoy getting spam, I'd appreciate it if you'd register yourself
at the following URL: <http://www.ling.helsinki.fi/~reriksso/spam.html>