aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/fail2ban/templates/jail.local.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/fail2ban/templates/jail.local.j2 b/ansible/roles/fail2ban/templates/jail.local.j2
index d606094..cb20542 100644
--- a/ansible/roles/fail2ban/templates/jail.local.j2
+++ b/ansible/roles/fail2ban/templates/jail.local.j2
@@ -19,12 +19,14 @@ backend=systemd
[postfix]
enabled = true
bantime = 1d
+maxretry = 20
backend = systemd
[postfix-submission]
filter = postfix
port = submission
enabled = true
+maxretry = 20
bantime = 1d
backend = systemd