I suggest you to switch on the fail2ban postfix filter on /var/log/mail.log, and to add the following new filter I created for Zimbra webmail/admin interface.
/etc/fail2ban/jail.conf
HTML Code:
...
[zimbra-webmail]
enabled = true
port = http,https
filter = zimbra-webmail
logpath = /opt/zimbra/log/audit.log
maxretry = 4
/etc/fail2ban/filter.d/zimbra-webmail.conf
HTML Code:
# Fail2Ban configuration file
#
# Author: Giorgio Salluzzo <giorgio.salluzzo@gmail.com>
#
[Definition]
# Option: failregex
# Notes.: regex to match PASSWORD FAILED for Zimbra webmail/admin authentication
# Values: TEXT
#
# FIRST regex for webmail, SECOND for webadmin
#
failregex = ;oip=<HOST>;.* security - cmd=Auth; .* protocol=soap; error=authentication failed for .* invalid password;$
WARN .* \[ip=<HOST>;ua=ZimbraWebClient
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =