QUOTE
Originally posted by tbenoit
We have done that, and it helps a bit.
However, the mail bomber is opening so many connections, so fast, from so many different places, that the mail server stop accepting new connections totally (even the good connections).
I dont know why people think there is not much you can do.
1) You need to reduce the max number of connections in exim.conf from 100 to 5. This will prevent them from opening 100 connections at once. So in /etc/exim.conf find these lines and change the following options;
Change;
smtp_connect_backlog = 50
smtp_accept_max = 100
to
smtp_connect_backlog = 3
smtp_accept_max = 5
Next, you should make the following modification to exim.conf
Find the following in /etc/exim.conf
accept domains = +local_domains
accept domains = +relay_domains
Comment these out;
# accept domains = +local_domains
# accept domains = +relay_domains
Immediately after the above two comments add this;
accept domains = +local_domains
endpass
message = unknown user
verify = recipient
# Accept if the address is in a domain for which we are relaying, but again,
# only if the recipient can be verified.
accept domains = +relay_domains
endpass
message = unrouteable address
verify = recipient
Save and restart exim!
In the domains control panel go to the default address field and add the following in the space provided;
:fail: no such address here!
That should fix the spammer up for awhile. I see the msgs being delivered are being sent to non existant users on his domain. The above modification will fix that and prevent those msgs from being delivered. It will immediately bounce and the msg will not be delivered. The modification restricts msgs from being delivered to non existance email addresses. Try it. Let me know! Watch your exim_mainlog for all the msgs that get kicked back.