diff options
author | 2024-08-24 00:39:13 +0100 | |
---|---|---|
committer | 2024-08-24 00:48:18 +0100 | |
commit | 8698f1584748ff95142a61de29192bfb855ea20a (patch) | |
tree | ddd4d92d722f4e7e9014977012e8fcde6c8bd5e8 | |
parent | Clean up SASL logic from postfix (diff) |
Add Dovecot to fail2ban config
-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 %} |