Hi,

Yeah that is why I prefer postfix config have the IP block or specific host. At least I have a clear log of the reject. If I have it in iptables there will be a log but feel its clearer in postfix what the intent was.

Cheers,

Noah


On 5/14/16 4:25 PM, Alice Wonder wrote:
On 05/14/2016 10:37 AM, Noah wrote:
Hi there,

I am hoping to have a blacklist file that stops postfix from accepting
email from specific IP or IP ranges.

I follow this tutorial and it does not working.  I still receive email
from the IP addresses in the range:

http://www.linuxlasse.net/linux/howtos/Blacklist_and_Whitelist_with_Postfix


Is there an option out there that actually works?

Not sure what operating system you are using but assuming it is Linux, I
just use firewalld to block all connections from the IP address.

Just don't do that permanently (or postfix reject permanently) as IP
addresses change and then you get situations where a legitimate server
with the IP address is blocked.

By the time it has been blocked a week, it probably is already on the
popular dynamic blacklists.

Reply via email to