From a765b30c4839f4508d695f8581dce817e46261eb Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 1 Nov 2021 03:22:39 +0100 Subject: [PATCH] enable f2b --- host_vars/mail01.l3d.space/vars.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/host_vars/mail01.l3d.space/vars.yml b/host_vars/mail01.l3d.space/vars.yml index e24e77b..be031d4 100644 --- a/host_vars/mail01.l3d.space/vars.yml +++ b/host_vars/mail01.l3d.space/vars.yml @@ -86,3 +86,16 @@ weechat__custom_version: 'main' postfix__myhostname: "{{ mailserver_domain }}" postfix__tls_cert: "{{ mailserver__ssl_cert }}" postfix__tls_key: "{{ mailserver__ssl_key }}" + +# fail2ban +fail2ban_jail_configuration: + - option: 'enabled' + value: 'true' + section: 'postfix' + - option: 'mode' + value: 'extra' + section: 'postfix' + - option: 'enabled' + value: 'true' + section: 'dovecot' +