Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Spamassassin service?
PostPosted: Fri Sep 22, 2006 12:32 am 
Offline
Senior Member

Joined: Thu Apr 15, 2004 3:18 am
Posts: 52
Website: http://www.rumble.net/
Location: London, UK
I'm finding Spamassassin is maxing out the RAM and IO on my Linode. I'm wondering if there's anyone offering a hosted Spamassassin service that I could pay for? All I'd want is to be able to pipe my mail to it (stunnel?) and receive it back with SA headers added. Some method of updating Bayes stuff might be needed.

I've thought of buying one of the vpsland $10/month Xen accounts just to do this, but it seems kinda overkill...

Any suggestions?


Top
   
 Post subject:
PostPosted: Fri Sep 22, 2006 9:07 am 
Offline
Senior Member

Joined: Sun Jul 20, 2003 8:29 am
Posts: 100
Website: http://www.ipo-australia.com
Location: Tropical Queensland, Australia
Maxing IO tokens? Sounds like you are getting dozens of emails per second ?!?!


Top
   
 Post subject:
PostPosted: Fri Sep 22, 2006 11:33 am 
Offline
Junior Member

Joined: Mon Apr 26, 2004 5:03 pm
Posts: 47
I had the same problem -- spamassassin is a memory hog and was making my linode swap until it ran out of tokens.

I instead hosted spamassassin on my home linux machine and had the mail relay to it then back to the main server. If the home machine isn't available then the mail bypasses spam checking and goes directly to the inbox.

I use 'balance' to handle the automatic failover. Since the home machine is on a dynamic IP, it uses autossh to connect to the mail machine and open a remote-forwarding port. That secures the mail in transit and if the IP changes then autossh reconnects and reopens the port, so all 'balance' has to do is pick between two local ports when sending the mail.

This allows me to host a reliable mail service on my Linode and host the memory and computationally expensive portions on a non-hosted machine that may not have the same reliability. My home machines runs dspam / amavis / clamav / dcc checks on all the incoming mail, so most of the time my mail is very thoroughly checked for spam or viruses.

I haven't heard of a spamassassin hosting service, but I see one at http://wiki.apache.org/spamassassin/Spa ... ngServices that charges $50/month.


Top
   
 Post subject: Thanks for the link
PostPosted: Fri Sep 22, 2006 10:45 pm 
Offline
Senior Member

Joined: Thu Apr 15, 2004 3:18 am
Posts: 52
Website: http://www.rumble.net/
Location: London, UK
Thanks for that link. I tried searching the Wiki without success. I've found this one, which sounds reasonable and well-set-up:
http://www.junkemailfilter.com/

Anyone have any experience with this?

I'm thinking I'll go for it as dealing with spam has just become a headache. I'd rather pay someone to do it for me, rather than have to keep up with the latest attacks and countermeasures.


Top
   
 Post subject:
PostPosted: Sat Sep 23, 2006 4:02 am 
Offline
Senior Member

Joined: Thu Sep 23, 2004 8:35 pm
Posts: 73
Location: The Hague, Netherlands
Hi Shermozie,

Perhaps your spam filtering setup is flawed.

Have a look at:
http://www.spamhaus.org/effective_filtering.html

I've also found this Postfix anti-UCE guide very useful:
http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt

In my case, using just "Stage 1" of the Spamhaus filtering guide along with some additional SMTPD measures from the anti-UCE guide, my server rejects roughly 5000 "spam" connection attempts each month at the SMTPD stage (near zero cost in CPU/RAM resources).

I've had a couple of false-positives in the last several months from mail servers that are poorly configured or spam tolerant, but it is worth it considering the measures have stopped an estimated 35,000 spam/virus attempts.

I still get a trickle of spam coming through, but at a manageable level.

Perhaps adapting your spam strategy just slightly, the spam headache will largely go away ... .


Cliff


Top
   
 Post subject:
PostPosted: Sat Sep 23, 2006 8:34 am 
Offline
Senior Member

Joined: Sun Jul 20, 2003 8:29 am
Posts: 100
Website: http://www.ipo-australia.com
Location: Tropical Queensland, Australia
root 32227 1 0 Aug27 ? 00:00:03 /usr/bin/perl -T -w /usr/bin/spamd

I get maybe 50 emails a day. Spam Assassin has used 3 CPU seconds in the last month.
------------

To get the problems reported here people must be getting multiple emails per second. ??? Sounds more like running a spam factory than blocking spam.


Top
   
 Post subject:
PostPosted: Sat Sep 23, 2006 10:40 am 
Offline
Senior Member

Joined: Thu Sep 23, 2004 8:35 pm
Posts: 73
Location: The Hague, Netherlands
In that case SA memory issues will probably be resolved by adopting measures given in this document:

http://wiki.apache.org/spamassassin/OutOfMemoryProblems


Cliff


Top
   
 Post subject: More than that...
PostPosted: Sun Sep 24, 2006 2:15 am 
Offline
Senior Member

Joined: Thu Apr 15, 2004 3:18 am
Posts: 52
Website: http://www.rumble.net/
Location: London, UK
I get a fair bit more than 50 (non-spam) emails/day, so the load is quite significant. I already use the front-line stuff in Postfix, and that rejects an enormous amount of spam. The problem is the remaining stuff, which goes to Spamassassin.

I've tried out the Out Of Memory page's suggestions. Problem is, the one that has the most impact is removing Bayesian stuff, which also happens to be the thing that is most effective at blocking spam...

Think I'll give this service a go for a month or so. Will report back here.


Top
   
 Post subject:
PostPosted: Sun Sep 24, 2006 1:21 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
SpamAssassin is a memory hog no matter how many emails you get.


Top
   
 Post subject:
PostPosted: Wed Jun 20, 2007 8:38 pm 
Offline
Newbie

Joined: Wed Jun 20, 2007 8:18 pm
Posts: 2
I'm offering a service powered by Linode. If you are interested in a free trial i guarantee you will be blown away :)

_________________
Linode powered SPAM control. Cut nearly 100% of spam for £5/month per domain. No limits on "users" or mail volume. PM me for a free trial, no obligations, i wont even ask you your name!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group