
Obviously, you'd need to rewrite a couple lines in your web administration packages that allows users to modify their SQL prefs with proper GLOBALS ($GLOBAL) and DOMAIN (%) references. And if neither exist, it will assume global required_hits. and Bayesian recognition of spam based on the contents of the users personal spam pit. | | rewrite_header Subject | - |ĭoing it this way guarantees proper sorting of prefs, so the last required_hits found would be that of the user if defined, or that of the domain if defined. SpamAssassin is one framework that administrators and Internet Service Providers (ISPs) use to identify spam. Spam Assassin This is a widely respected spam detection system, which works in various ways, including by reference to remote blacklists etc. | $GLOBAL | score USER_IN_BLACKLIST | 10 | | $GLOBAL | score USER_IN_WHITELIST | -10 | (username='$GLOBAL' OR username='%' ORDER by username ASC Will report back here.Mysql> select username,preference,value from userpref WHERE

Think I'll give this service a go for a month or so. You will find the following rules in the default SpamAssassin configuration (/var/lib/spamassassin/3.00X000/updatesspamassassinorg/25uribl. Please make sure you are on a recent version of SpamAssassin. The problem is the remaining stuff, which goes to Spamassassin. SpamAssassin includes support for URIBL by default. I already use the front-line stuff in Postfix, and that rejects an enormous amount of spam. I get a fair bit more than 50 (non-spam) emails/day, so the load is quite significant. Perhaps counterintuitively, a higher score signifies a higher probability that an email is spam. It then returns an aggregated SpamAssassin score. Think I'll give this service a go for a month or so. The SpamAssassin filter runs its tests on each incoming email and adds up the values for the rules that are triggered. 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… I've tried out the Out Of Memory page's suggestions. The problem is the remaining stuff, which goes to Spamassassin.

ĭescription I get a fair bit more than 50 (non-spam) emails/day, so the load is quite significant. It is an intelligent email filter which uses a diverse range of tests to. Perhaps adapting your spam strategy just slightly, the spam headache will largely go away …. SpamAssassin is a mail filter to identify spam. I still get a trickle of spam coming through, but at a manageable level. 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. 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 also found this Postfix anti-UCE guide very useful: Perhaps your spam filtering setup is flawed. I had the same problem – spamassassin is a memory hog and was making my linode swap until it ran out of tokens. I haven't heard of a spamassassin hosting service, but I see one at that charges $50/month. I haven't heard of a spamassassin hosting service, but I see one at … ngServices"> that charges $50/month.ĭescription I had the same problem – spamassassin is a memory hog and was making my linode swap until it ran out of tokens. 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. 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.
#SPAMASSASSIN TESTING SOFTWARE#
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. SpamAssassin is a widely used open-source software developed by the Apache Foundation. Since the home machine is on a dynamic IP, it uses autossh to connect to the mail machine and open a remote-forwarding port.
#SPAMASSASSIN TESTING UPDATE#
I use 'balance' to handle the automatic failover. Before running spamassassin for the first time download the rules: sa-update Add to your crontab this line to update the rules once a day spamassassin update 30 3 /usr/local/bin/sa-update -nogpg -v & The -v option will produce an email notification to postmaster.

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