[Previous entry: "What is the cost of war?"] [Main Index] [Next entry: "The universe is complicated."]
11/13/2003 Archived Entry: "Newly updated .procmailrc for use with SpamAssassin"
LOGFILE=$HOME/.procmail.log
# Process all mail through SpamAssassin, wait for that process to finish
# before continuing.
# The -s on spamc assigns a size limit. Anything above that size will not
# be filtered.
:0fw
| /usr/bin/spamc -s 256000
# Dump the spam with a score 10+ right to irrecoverable trash
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null
# Put other spam in a SPAM mailbox
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*
/home/greg/SPAM
# ...and if it got through all that, deliver it
:0:
/var/mail/greg
The truth is, I've gotten WAY too much spam recently, roughly 120 spams every three days at last reckoning. Maybe it's because I'm an anti-spammer and am being targetted. *shrug* Pretty stpud if you ask me. It just helps me create rules so other people can block their spam better.
Replies: 3 comments
|
I get more spam than you, but I only get about two to four in my actual regular inbox -- the rest all goes to the spam folder (including a bunch of my legit email that I've been too lazy to whitelist yet...) Posted by Chuk @ 11/14/2003 09:01 AM PST |
|
Wow...your filters do better than mine! Are you just using SA or some other filtering? I don't whitelist at all though... Posted by Greg @ 11/14/2003 07:30 PM PST |
|
SA, plus a procmail script from hell (three or four different ones, actually -- a green list, a "work" list, a list list, and a spam list). Posted by Chuk @ 11/17/2003 11:14 AM PST |