Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 13, 2008 7:04 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
I've been running Spam Assassin (SA) at home - when my Linode was a 64, there was no way it would support SA. Now that I have Linode 360 (thanks to the magic of Caker!), and I need to re-arrange my home setup, I'm wondering if it's feasible (and advisable) to run SA on my Linode. Anyone with opinions and experience? I seem to average about 400-500 mails day that get past the frontline greylisting and RBL checks I already do on the linode.

Thanks,
Steve

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
PostPosted: Tue May 13, 2008 7:32 pm 
Offline
Senior Newbie

Joined: Wed Jan 09, 2008 6:55 am
Posts: 15
SteveG wrote:
I've been running Spam Assassin (SA) at home - when my Linode was a 64, there was no way it would support SA. Now that I have Linode 360 (thanks to the magic of Caker!), and I need to re-arrange my home setup, I'm wondering if it's feasible (and advisable) to run SA on my Linode. Anyone with opinions and experience? I seem to average about 400-500 mails day that get past the frontline greylisting and RBL checks I already do on the linode.


Definitely doable - my linode 360 takes about 10 seconds to process each message.


Top
   
 Post subject:
PostPosted: Tue May 13, 2008 7:52 pm 
Offline
Senior Newbie

Joined: Thu Apr 24, 2008 3:23 pm
Posts: 6
I run via this configuration on a Linode 360:

postfix
- setup to use MySQL and postfixadmin to do virtual hosting
- a header_regexp rule to move all messages to the HOLD queue

MailScanner
- configured to postfix
- using SpamAssassin (not via daemon)
- using clamav (not via clamd or the clamav module)
- set to scan every 30 seconds

It works out well. MailScanner uses about 43 megs of RAM. Less, I believe, if I tell it not to use clamav. MySQL is using 21 megs, but its also managing databases for other things. Clamscan will use 20-30 megs for the short time it runs. Nothing else involved with the mail system uses any significant amount of memory.

I was originally using amavisd-new but setting up postfix for it was a pain, it was difficult to configure itself, and it used a LOT of memory - something like 160 megs.


Top
   
PostPosted: Tue May 13, 2008 11:10 pm 
Offline
Junior Member

Joined: Thu Nov 08, 2007 12:40 am
Posts: 34
SteveG wrote:
I've been running Spam Assassin (SA) at home - when my Linode was a 64, there was no way it would support SA. Now that I have Linode 360 (thanks to the magic of Caker!), and I need to re-arrange my home setup, I'm wondering if it's feasible (and advisable) to run SA on my Linode. Anyone with opinions and experience? I seem to average about 400-500 mails day that get past the frontline greylisting and RBL checks I already do on the linode.

Thanks,
Steve


I am running spamassassin, sendamail,clamav, mysql, lighttpd and seems to be OK on the 360. I had the same config on a 540 and it was stable as a rock (with apache2). The only hiccup is clamav when it updates. That really spikes the cpu (a known problem with clamav).

I just switched to lighttpd and I believe that will do the trick. Time will tell.


Top
   
 Post subject:
PostPosted: Wed May 21, 2008 1:19 am 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
is it possible to integrate the spamassassin-scirpts into a working postfix so that it processes all mails as ever, but the only the word.count.user@domain - mails with spamassassin? i would love to have spamassassin on my linode 360.
thx!


Top
   
 Post subject:
PostPosted: Wed May 21, 2008 1:24 am 
Offline
Senior Newbie

Joined: Wed Jan 09, 2008 6:55 am
Posts: 15
cattani wrote:
is it possible to integrate the spamassassin-scirpts into a working postfix so that it processes all mails as ever, but the only the word.count.user@domain - mails with spamassassin? i would love to have spamassassin on my linode 360.
thx!


What do you mean? You only want addresses with three .-seperated words to go through SpamAssassin?


Top
   
 Post subject:
PostPosted: Wed May 21, 2008 1:32 pm 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
yes, either that or messages addressed to a specific domain, i then would buy a special domainname i only user for spamassassin. i just want to keep my mailsetup and run spamassassin too (with the same instance of postfix)


Top
   
 Post subject:
PostPosted: Wed May 21, 2008 4:52 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
By far the easiest way to accomplish that would be to run spamassassin on delivery to that user, via procmail or some such.Otherwise, playing with postfix transports might work. But in both those cases, it's too late to reject, which is my only purpose for running it on the linode.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.

-- seen on the net


Top
   
 Post subject:
PostPosted: Sun Jun 01, 2008 10:10 pm 
Offline
Newbie
User avatar

Joined: Wed Mar 26, 2008 10:20 pm
Posts: 3
I've got exim4 with sa-exim running on my Linode 360, and it runs great. I've implemented a couple of layers of spam protection. First, I outright block all servers in any Asia net block. I don't have a requirement to receive mail from them, so I'm not worried about losing email. Second, I have exim checking senders against the SBL-XBL at RCPT time. If they are listed, they don't get to deliver. Finally, Spamassassin scans the mail and runs all of its checks (again at RCPT). If the message exceeds a certain score, exim rejects the message (the message is saved to disk for review).

The Spamassassin wiki has some performance tuning tips at http://wiki.apache.org/spamassassin/FasterPerformance if you are having problems. Debian's (and therefore Ubuntu's) default setup doesn't appear to need much tuning.

My server isn't seeing huge amounts of traffic. It hosts my personal domain and probably sees 1000-2000 connections/day with maybe 10% of those getting through to Spamassassin. I haven't seen CPU usage go over 10% with this setup. I'd love to be able to have a graph that shows total delivery attempts and how messages were actually delivered...thats a project for another day.

Ben


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


Who is online

Users browsing this forum: No registered users and 2 guests


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