Blocking access before SASL

2015-06-13 Thread CBL
Having a lot of dictionary attacks working on guessing login details. I'm wondering if there's an easy way to block access to specific IPs prior to SASL authentication? I can grab the IP easy enough via fail2ban and block it on the firewall of the local machine, but I run a cluster of multiple inb

Re: Blocking access before SASL

2015-06-13 Thread CBL
> Instead, use postscreen. It blocks clients before they are allowed > to talk to a Postfix SMTP server. > > /etc/postfix/main.cf: > postscreen_greet_action = enforce > postscreen_dnsbl_action = enforce > postscreen_dnsbl_sites = ...your DNSBL server here... > > You can use rbldnsd to r