You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Peter Henderson <pe...@starjar.com> on 2008/06/14 12:53:42 UTC

size of address-errors?

Hi folks

I'm looking at the size of the address_error dir.
Currently I see ~734000 files in that dir, since I emptied it about 3 months ago.
>From what I can see, most if not all of it is spam.

Is that normal? or have I got a borked james config?


If that is normal, I am thinking about writing a mailet which automatically adds a firewall rule to
drop connections from ip addresses which cause 2 or more address errors. Initially for 24h but later
ramping up to longer periods. Any advice on this sort of mechanism to combat spam?



Cheers

Peter Henderson.




james-2.3.0/apps/james/var/mail/address-error$ du
735180	.






---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: size of address-errors?

Posted by Stefano Bagnara <ap...@bago.org>.
Peter Henderson ha scritto:
> Hi folks
> 
> I'm looking at the size of the address_error dir.
> Currently I see ~734000 files in that dir, since I emptied it about 3 months ago.
>>>From what I can see, most if not all of it is spam.
> 
> Is that normal? or have I got a borked james config?
> 
> 
> If that is normal, I am thinking about writing a mailet which automatically adds a firewall rule to
> drop connections from ip addresses which cause 2 or more address errors. Initially for 24h but later
> ramping up to longer periods. Any advice on this sort of mechanism to combat spam?

Unfortunately this probably won't work: spammers use botnets. The last 
time I monitored one of my servers serving a bunch of domains (5?) I got 
  300000 mails from 280000 different IPs... Banning IPs was a lost cause 
(at least in my scenario).

Dropping the connection as soon as possible is instead another thing. In 
JAMES we called this "Fast fail". In james 2.3.1 there is some hidden 
experimental features to do that, but most work have been done in the 
development version (trunk).

IIRC in 2.3.1 the most you can do is enabling DNSRBL checks 
(DNSRBLHandler) in protocol so to fail as soon as possible on dialup 
IPs. This will increase a lot your DNS traffic.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org