i-mscp 1.5.3
debian 9
Fail2Ban v0.9.6
fail2ban (debian9) which port is the correct one for dovecot & postfix-sasl?
sometimes I see a few unban errors with Fail2Ban v0.9.6
Code
- [postfix-sasl]
- enabled = true
- port = smtp,465,submission,imap2,imaps,pop3,pop3s
- filter = postfix-sasl
- logpath = /var/log/mail.warn
- maxretry = 2
- bantime = 3600
- logencoding = utf-8
- [dovecot]
- enabled = true
- port = smtp,465,submission,imap2,imaps,pop3,pop3s
- filter = dovecot
- logpath = /var/log/mail.log
- maxretry = 4
- bantime = 3600
I removed imap3 because of F2B errors ...
can all the old imap2 & imap3 variables safely replaced by imap only?