ot: fail2ban dovecot setup

Alex JOST jost+lists at dimejo.at
Mon Dec 18 10:23:18 EET 2017


Am 17.12.2017 um 20:08 schrieb voytek at sbt.net.au:
> I've made test failed dovecot and postfix from phone/cell connection, I
> think? postfix one worked, but, nothing registered on dovecot
> do you know where f2b places bad IPs ? I saw them listed on 'status;, but,
> couldn't find them in /etc/hosts.deny, not sure if they meant to be there.
> [and, the device, after failing smtp, could still access http, so not sure
> if my testing is valid]

We are using fail2ban with firewalld. In that case fail2ban creates 1 
rule in the input_direct chain of iptables for each jail. You can use 
'ipset list' to list all entries with their timeout.

-- 
Alex JOST


More information about the dovecot mailing list