Hi, On Wed, Oct 22, 2008 at 02:29:00PM -0400, Tony Harris wrote: > We've used SpamAssassin, which is also free and works quite well. Can take a > bit of maintenance to keep the rules up to date, though. And a lot more > maintenance if you decide to use the Bayesian filter. But, it works quite > acceptably even without that. > > Used for an individual account it could get tricky, though, since it's also > designed for server use. But you could do something like have a machine that > runs fetchmail, pulls down your mail and runs that through SpamAssassin > marking > /quarantining/deleting the spam, and then you point your mail client at the > mailbox on that machine via IMAP or POP or something. I've heard of that > being > done.
procmail recipes I use:
--------------------------------------------------------------------------------
# Mail from addresses in addressbook are exempt from spamassassin:
:0Whic
| { address="$(awk '/^From:/ {gsub(/^From:[ \t]*/,""); gsub(/^.*</,"");
gsub(/>.*$/,""); print $0; exit}' | sed 's/^[ \t]*$//')"; [[ "x${address}" ==
"x" ]] && exit 1; abook --mutt-query "${address}" > /dev/null 2>&1; }
:0a
$inbox
# Everything else goes through the filter:
:0fw
| spamassassin
# SPAM goes straight to /dev/null:
:0
* ^X-Spam-Status: Yes
/dev/null
--------------------------------------------------------------------------------
Note that the first rule only makes sense if you use abook.
I read mail directly on that machine, BTW...
-Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org
signature.asc
Description: Digital signature
