Skip to content

Instantly share code, notes, and snippets.

@shoaibali
Created October 4, 2015 02:11
Show Gist options
  • Save shoaibali/d2e4093c13946f052a04 to your computer and use it in GitHub Desktop.
Save shoaibali/d2e4093c13946f052a04 to your computer and use it in GitHub Desktop.
/etc/fail2ban/filter.d/dovecot-pop3imap.conf
[Definition]
failregex = (?: pop3-login|imap-login): .*(?:Authentication failure|Aborted login \(auth failed|Aborted login \(tried to use disabled|Disconnected \(auth failed|Aborted login \(\d+ authentication attempts).*rip=(?P<host>\S*),.*
ignoreregex =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment