SpamAssassin Gets a Promotion
darthcamaro writes "The folks at internetnews.com are reporting that the Spam Assassin project has been promoted to a full top level Apache Software Foundation project..the project has been in incubation for a while and it's finally made it through...the article also reveals that Apache is now using Spam Assassin themselves: 'I think spam filtering is now a critical part of the network infrastructure and Spam Assassin is a leader in the area,' said Daniel Quinlan, chairman of the Apache Spam Assassin Project Management Committee."
Perhaps Slashdot editors might want to take an extra 20 seconds to check the spelling of the URLs they put in their stories.
spamassassin.org, not spamassasin.org
Brielle
This is great news! I have been running SpamAssassin on my box for quite a while, just to filter my own mail. I recently installed it on my mother's Windows 98 box to filter her mail when she checks it with Outlook Express, and she hasn't complained about Spam since. With a bit of tweaking, its been catching 95% with no false positives. Hopefully the SpamAssassin project will keep on getting better :)
For those looking for the official spam assasin site here it is
The link in the text goes to some search page
"Alcohol, cause of, and solution to, all of life's problems" -Homer Simpson
I can't speak for auto-replies, but you can do the sorting part client-side. The key is that spamassassin adds a line like "X-Spam-Level: *****" where the number of *'s is the score of the email. Almost any email client can filter mail to different folders based on headers. The unary representation of the spam score ensures that even a primitive filter can work.
For example, one popular client is Microsoft Outlook, and there are several web pages in google (such as this one) that explain how to reroute mail to specific folders depending on the spamassassin score.
I added DSpam to my mail server and my spam catching rate is now better than 99%.
/dev/null gives me a 100% spam catching rate.
I haven't seen any false positive stats on dspam. It's easy to say a spam filter has a high spam catching rate, but it means nothing without a very low false positive rate.
Redirecting my mail to
Sending an auto-reply on scores between 5 and 10 (or any other range) makes you part of the problem, not part of the solution.
:-) that receives many hundreds of messages every day. My mail server deals with about half of the spam I get. Well over half of the rest is autoreply responses from idiots who don't understand that *I* never sent that message in the first place -- the from address was forged by a virus.
I have a very well known address (which is why I'm posting as an Anonymous Coward
The correct response to spam is to throw it away. Trying to reply to it makes the world worse, not better.
If you integrate it with your mailer, you can reject the mail during the SMTP session rather than generating a separate bounce email, which would have the problems you mentioned (going to a forged from: address). As an added bonus, when you reject it during the SMTP session, you'll get taken off a lot of spam lists, since your address will look like it had delivery problems. And you still get the advantage of bounces, that legitimate mail that got rejected will end up with a bounce back to the sender informing them of it.
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
3.0.0pre1 was made available last week.
i ld/3.0.0_change_summary
It will apparently take another month or so to finalize the weighting of the rules.
I've put 3.0.0pre1 on a production system that filters ~350k messages per day. With some tweaking of the RBL, bayes, and AWL rules, it is much (~10%) more efficient at tagging spam than 2.63, which I'm running on a parallel server that also sees ~350k messages/day (load balancing is your friend).
More info: http://www.au.spamassassin.org/full/3.0.x/dist/bu
I know you mentioned procmail, but for those using Courier IMAP's maildrop, here's what I use in my ~/.mailfilter for SpamAssassin. I've just pasted the relevant sections, but it logs all deliveries, I then filter known recipients into their own folders (not shown here), then any unknown messages are filtered through Spam Assassin. Messages with a score > 10 are sent to /dev/null, while others are delivered to a spam folder.
:: filter out spam mail
/^X-Spam-Flag: YES/ ) /dev/null
/^X-Spam-Status: yes, hits=![:digit:]+\.[:digit:]+!.*/
logfile "/path/to/my/home/dir/maildrop.log"
###
### Maildrop variable substitution
###
MAILBOX="./Maildir"
DEFAULT= "$MAILBOX"
SPAM="$MAILBOX/.Spam"
###
### SpamAssassin
###
# Filter through SpamAssassin
xfilter "/usr/local/bin/spamc"
# Handle messages marked as spam
if (
{
# Store messages flagged as spam in another folder; uncomment
# this during testing just in case any legit mail gets sent
# to
#cc "./spam-store"
# Delete messages with a score of 10 or higher, filter all other
# spam messages into a spam folder
if ( $MATCH2 >= 10.0 )
to "/dev/null"
else
to $SPAM
}
I've been running SA since February, and have had a grand total of ONE false positive out of a few thousand emails. The message was from a new account, very short, and in HTML. That address has since been added to my autowhitelist. SA couple with Amavisd-new and clamav has reduced my spam volume by about 95%, and my virus emails to zero. It's a great product and I'm looking forward to 3.0.
AccountKiller
Have a look at the Rules Emporium at:
I use the rules there, and even minor spam gets obliterated with no problems of catching real mail.
I recommend it!
-- BtB
Many people use spamassassin on unix boxes, or if they have Exchange they use SA on a unix gateway between the net and the Exchange system.
But if you are a smaller shop and don't have the resources for that, then you can run sa right on Exchange.
Here is a write up on how to do it (that particular write up is for Exchange 2003 and SA 3.0, but it will work for SA 2.x as well, and for Exchange 2000 - or any combination thereof - but it won't work on Exchange 5.5 that I know of).
There are some odd things afoot now, in the Villa Straylight.
1. HELO Filtering
2. Sender Filtering
3. Recipient Filtering
4. Content Filtering and Delivery
I reject over 95% of all incoming mail before it ever gets to SpamAssassin. This means that SA's success rate isn't as good as on other systems (since I weed out all of the obvious spam), but my mailbox is happy and shiny.
SpamAssassin is a brilliant last line of defense, but I wouldn't advise just dumping your raw incoming stream into it. Much of the useful information about a message isn't available to spamd (such as your list of local domain names, relay domains, etc.) and you should consider using a set of cheaper filters to flush out the blatant chaff.
Dewey, what part of this looks like authorities should be involved?