untitled9 wrote:
Quote:
SpamAssassin is a resource hog, but if you don't get thousands of mails a day it should not be a problem.
And therein lies the problem. My server handles over 2,000 e-mails a day, over 60% of which are spam along with about a dozen relatively low traffic web sites. (So I guess SpamAssassin would only see < 1,000/day.)
Spam bombs and the occassional 5mb e-mail to 30 co-workers bring the server to a crawl while ClamAV scans everything. I'm afraid adding another resource hog that scans every e-mail onto the chain will really bring down the server.
Should I just quit whining and install SpamAssassin?
A very rough estimate of how much mail a linode 80 could handle:
Mail that gets rejected by the MTA due to a DNSBL wastes almost no time. I'm ignoring those.
A big HTML mail thats comes in, gets scanned by spamassassin, and gets forwared externally takes a total of 13 seconds end to end to process. Lets say 13 seconds is average for all mail.
Thats 4.6 mails a minute, 276 an hour, 6624 a day.
I have never run ClamAV so don't have any idea how long that takes so I'm guessing it doubles the processing time. I don't think it does anything on mails without attachments so lets say it averages out at another 13 seconds
per mail. Thats 3312 mails a day.
I'm not taking into account the fact that you can process two mails at once with very little slowdown, or the fact that your mail isn't going to come in evenly spaced. The bulk of it will likely come in during the daytime. It's a very rough estimate, but your linode should be able to handle running spamassassin as well.
The only real way to tell is to try it and see what happens. You can always turn spamassassin off if your linode starts swap thrashing.