# Fail2Ban configuration file
#

[DEFAULT]
ignoreip = {{ ignoreip }}
bantime  = 86400
findtime = 1200
maxretry = 5

backend = auto

[zimbra-account]
enabled = true
filter = zimbra
action = iptables-allports[name=zimbra-account]
         sendmail[name=zimbra-account, dest={{ destmail }}]
logpath = /opt/zimbra/log/mailbox.log
bantime = {{ bantime_account }}
findtime = {{ findtime_account }}
maxretry = {{ maxretry_account }}

[zimbra-postfix]
enabled = true
filter = zimbra-postfix
action = iptables-allports[name=zimbra-postfix]
         sendmail[name=zimbra-postfix, dest={{ destmail }}]
logpath = /var/log/zimbra.log
bantime = {{ bantime_postfix }}
findtime = {{ findtime_postfix }}
maxretry = {{ maxretry_postfix }}
