Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 1 match
- Wed Dec 09, 2020 2:48 am
- Forum: General Discussion
- Topic: Fail2Ban not working for Dovecot?
- Replies: 5
- Views: 10836
Re: Fail2Ban not working for Dovecot?
I found the same that certain things about fail2ban were working like the sshd, but not the dovecot protection. I ended up adding my own filter rules to the /etc/fail2ban/filters.d/dovecot.conf
^%(__prefix_line)sauth: Info: passwd-file\(.*\,<HOST>\)\: (unknown user|Password mismatch)\s ...
^%(__prefix_line)sauth: Info: passwd-file\(.*\,<HOST>\)\: (unknown user|Password mismatch)\s ...