Blocking IP addresses from your SMTP
You can block IP addresses from your SMTP server by doing the following:
- open up /usr/local/atmail/mailserver/configure
- add the following line at the top:
host_reject_connection = [ip-address]
- where [ip-address] is your IP address
- restart Exim services:
% killall -HUP exim
This should then block any SMTP traffic from the IP address that you specified. Additional ones can be added with a colon "[:]" as a delimiter.

