You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Perkel <ma...@perkel.com> on 2007/06/21 17:21:01 UTC

Solution to Bayes poisoning, high load levels, image spam, and botnet spam

I'm seeing a lot of people saying that bayes isn't working like it used 
to, that load levels are high, and that they are getting a lot of image 
and botnet spam. There are a few simple tricks you can do to get rid of 
90% of it.

First - use dummy MX records. Real mail retries. Botnet and must 
spammers don't. It's easier for them to try to spam someone else than to 
fight your filter. MX config is as follows:

dummy - 10
real - 20
real-backups - 30
dummy - 40
dummy - 50
dummy - 60
...

All dummy IP addresses are dead IPs. Port 25 closed. Don't do a 4xx on 
the lowest numbers IP because QMail is brain dead and won't retry the 
higher numbered servers. The upper MX can return 4xx if you want to log 
botnet traffic. This will eliminate 75%-90% of your spam with no false 
positives ust making this change.

Second - use blacklists in a way that blocks the spam, not just score 
it. If you use the spamhaus list you,ll get rid of about 1/3 of what's left.

Then - you just let SA process the rest. What you'll find is that most 
all botnet spam will be gone, Bayes will start working again. Load 
levels will drop dramatically.

Another thing - I don't know what everyone else uses but Exim is my MTA 
and it has the power to be easily configured to do just about anything 
you can imagine. If you are unhappy with your MTA Exim is the what I 
think is the right choice.

Another solution is to just have me get rid of your spam for you and 
make the problem go away. If anyone is tired of all this and just wants 
it done you can email me privately and I'll set you up.

Re: Solution to Bayes poisoning, high load levels, image spam, and botnet spam

Posted by Matthias Häker <mh...@its-h.de>.

Marc Perkel schrieb:
> I'm seeing a lot of people saying that bayes isn't working like it 
> used to, that load levels are high, and that they are getting a lot of 
> image and botnet spam. There are a few simple tricks you can do to get 
> rid of 90% of it.
>

ah nice
can you tell me how to implant this ins SpamAssassin


Re: Solution to Bayes poisoning, high load levels, image spam, and botnet spam

Posted by Marc Perkel <ma...@perkel.com>.

Craig Carriere wrote:
> Matt wrote:
>   
>>> First - use dummy MX records. Real mail retries. Botnet and must
>>> spammers don't. It's easier for them to try to spam someone else than to
>>> fight your filter. MX config is as follows:
>>>
>>> dummy - 10
>>> real - 20
>>> real-backups - 30
>>> dummy - 40
>>> dummy - 50
>>> dummy - 60
>>>       
>> Currently I have mail.mydomain.com as 10.  Can I just change that to
>> 20 and add mail5.mydomain.com as 10 but not have an IP associated with
>> mail5.mydomain.com or will that cause trouble?
>>
>> Matt
>>
>>     
>
> Are you sure about this approach?  Most of what hits our backup server,
> listed at a higher MX record, is spam.  I was, and am, under the
> impression that many spambots are set to fire at higher MXs under the
> assumption that admins might not spend as much time on the anti-spam
> set-up of this servers.
>
>   

Yes - the trick works two ways. If the spambots hit the high server then 
there's nothing there and they go on. If they hit the lowest numbered 
server they also get nothing and go on. A real server will hit the 
lowest number MX and get nothing and then retry and get the second 
lowest one which is real.

The trick relies on the idea that spambots unlike real server won't walk 
the MX order looking for the real server. If I were a spammer I would 
think it easier to move on to the next email address than to try to 
fight a good spam filter.


Re: Solution to Bayes poisoning, high load levels, image spam, and botnet spam

Posted by Craig Carriere <cc...@cobatco.com>.

Matt wrote:
>> First - use dummy MX records. Real mail retries. Botnet and must
>> spammers don't. It's easier for them to try to spam someone else than to
>> fight your filter. MX config is as follows:
>>
>> dummy - 10
>> real - 20
>> real-backups - 30
>> dummy - 40
>> dummy - 50
>> dummy - 60
>
> Currently I have mail.mydomain.com as 10.  Can I just change that to
> 20 and add mail5.mydomain.com as 10 but not have an IP associated with
> mail5.mydomain.com or will that cause trouble?
>
> Matt
>

Are you sure about this approach?  Most of what hits our backup server,
listed at a higher MX record, is spam.  I was, and am, under the
impression that many spambots are set to fire at higher MXs under the
assumption that admins might not spend as much time on the anti-spam
set-up of this servers.

Re: Solution to Bayes poisoning, high load levels, image spam, and botnet spam

Posted by Matt <lm...@gmail.com>.
> First - use dummy MX records. Real mail retries. Botnet and must
> spammers don't. It's easier for them to try to spam someone else than to
> fight your filter. MX config is as follows:
>
> dummy - 10
> real - 20
> real-backups - 30
> dummy - 40
> dummy - 50
> dummy - 60

Currently I have mail.mydomain.com as 10.  Can I just change that to
20 and add mail5.mydomain.com as 10 but not have an IP associated with
mail5.mydomain.com or will that cause trouble?

Matt

Re: Solution to Bayes poisoning, high load levels, image spam, and botnet spam

Posted by arni <ma...@arni.name>.
Marc Perkel schrieb:
> I'm seeing a lot of people saying that bayes isn't working like it 
> used to, that load levels are high, and that they are getting a lot of 
> image and botnet spam. There are a few simple tricks you can do to get 
> rid of 90% of it.
>
56th reinvention of the square wheel

You might wanna search this lists archive for further comments ...

arni