From 8a2e9d6f4cf262c9bb9665c413bda719553b6469 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 6 Aug 2024 21:01:59 +0100 Subject: 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 --- ansible/roles/fail2ban/templates/jail.local.j2 | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'ansible') 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 %} -- cgit v1.2.3