aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-22 21:18:49 +0100
committerGravatar Joe Banks <[email protected]>2024-08-23 16:52:19 +0100
commit8f16129f909fcc418f0263429df5a3f754163aa2 (patch)
tree80526d46b2646bcbdef2a6fb8a599198d99afaf9
parentAdd section on neomutt usage via IMAP (diff)
Add high maxretry for Postfix fail2ban rules
-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