User Tools

Site Tools

Added line port=2206 to /etc/fail2ban/jail.d/defaults-debian.conf

Created /etc/fail2ban/jail.d/mail.conf with stanzas for dovecot and postfix
Following example here:
Note that "sasl" isn't needed since postfix hands authentication off to 

Since postfix uses dovecot for authentication, added the smtp ports to 
the port= line for the [dovecot] stanza

/etc/fail2ban/jail.conf sets the default for bantime, findtime, and 

Log file is /var/log/fail2ban.log

systemctl restart fail2ban

Everything looks good, so systemctl enable fail2ban
fail2ban.txt · Last modified: 2018/07/11 16:01 by SLUUG Administration