diff options
author | 2024-08-06 21:01:59 +0100 | |
---|---|---|
committer | 2024-08-06 21:01:59 +0100 | |
commit | 8a2e9d6f4cf262c9bb9665c413bda719553b6469 (patch) | |
tree | 74a751ca9cc6abf09258d3d050374bfb6676037f | |
parent | Enable fail2ban jails for postfix (diff) |
Revert "Enable fail2ban jails for postfix"
This reverts commit 55df090d03a0b412a16139197673bb0fbd1bf139.
This commit generated an error when deployed to production and should be
revised.
Re-opens #433
-rw-r--r-- | ansible/roles/fail2ban/templates/jail.local.j2 | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ansible/roles/fail2ban/templates/jail.local.j2 b/ansible/roles/fail2ban/templates/jail.local.j2 index 35589ee..ba1b50d 100644 --- a/ansible/roles/fail2ban/templates/jail.local.j2 +++ b/ansible/roles/fail2ban/templates/jail.local.j2 @@ -14,21 +14,3 @@ banaction_allports = nftables[type=allports] [sshd] mode = aggressive backend=systemd - -{% if "mail" in group_names %} -[postfix] -enabled = true -bantime = 1d - -[postfix-submission] -filter = postfix -port = submission -enabled = true -bantime = 1d - -[postfix-errors] -filter = postfix[mode=errors] -enabled = true -maxretry = 3 -bantime = 7d -{% endif %} |