aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/fail2ban/templates/jail.local.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/fail2ban/templates/jail.local.j2 b/ansible/roles/fail2ban/templates/jail.local.j2
index 399faf9..d606094 100644
--- a/ansible/roles/fail2ban/templates/jail.local.j2
+++ b/ansible/roles/fail2ban/templates/jail.local.j2
@@ -34,4 +34,11 @@ enabled = true
maxretry = 3
bantime = 7d
backend = systemd
+
+[postfix-sasl]
+filter = postfix[mode=auth]
+enabled = true
+maxretry = 3
+bantime = 1d
+backend = systemd
{% endif %}