diff options
-rw-r--r-- | ansible/roles/fail2ban/templates/jail.local.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/fail2ban/templates/jail.local.j2 b/ansible/roles/fail2ban/templates/jail.local.j2 index cb20542..3baccf2 100644 --- a/ansible/roles/fail2ban/templates/jail.local.j2 +++ b/ansible/roles/fail2ban/templates/jail.local.j2 @@ -43,4 +43,12 @@ enabled = true maxretry = 3 bantime = 1d backend = systemd + +[dovecot] +enabled = true +filter = dovecot[mode=normal] +backend = systemd +maxretry = 5 +findtime = 30m +bantime = 2h {% endif %} |