Originally Published: Friday, 19 January 2001 Author: Martin Sarajervi [martin@linux.com]
Published to: tuneup_tips/Tips Page: 1/1 - [Printable]

More procmail recipes

Procmail is among the very best mail filters today. Go to http://www.procmail.org to learn more about it. Here are some useful rules to avoid spam:

# where to send spam
SPAM=SPAM

# a nice catch all "friends" regexp
:0:
* ^TO.*( |<|,)(fr(ie|ei)nd(s)?|you)@ >
$SPAM

# seems...