Mailing list junk
Ben Stuyts (benst@terminus.stuyts.nl)
Sun, 12 Oct 1997 18:02:03 +0200
Hi List,
I've been a bit annoyed about the level of spam lately on this list, so I'd
like to share my spam filter (for procmail) taylored for mgetty. I've had it
in use for the last week, and it seems to catch all the spam. (And the
subscribe messages too.) It works really simple, but I think it shows promise.
# Set SPAM to /dev/null if you don't want to see these messages at all.
# Otherwise set it to some kind of mailbox you check every now and then.
SPAM=Spam.mbox/mbox
# A newline
N="
"
# Consider anything to the mgetty mailing not mentioning any
# of the special keywords (getty, modem, voice, fax) in the body
# of the message list as spam and junk it.
:0B
* H ?? ^TOmgetty
* !getty
* !modem
* !voice
* !fax
{
LOG = "Spam: no keyword on mgetty list $N"
:0:
$SPAM$
}
With kind regards,
Ben
.