How can I automatically tarpit an IP address?

My server is getting spammed by a number of IP addresses, such as 45.129.14.99. Whilst the emails are never accepted becuase the recipient email address is incorrect, Axigen doesn’t seem to have any way of automatically refusing connections from this IP address (tarpitting) after a set number of failed attempts.

Other email servers can manage this, and it greatly cuts down on needless traffic and log entries

Hello @stuclark

If you server is running on Linux you may obtain the desire behaviour using fail2ban utility. You may find more information in the blog post available at:

Regards,
Florin

I use Fail2Ban also. it works. but not much against botnet with different IP’s however it is better than nothing.

1 Like