fail2ban: setup postfix and dovecot

This commit is contained in:
Rouven Seifert 2023-10-19 14:24:11 +02:00
parent c360abe7d9
commit 0712f02d40
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -9,6 +9,17 @@
bantime = 25h
action = iptables-allports[name=fail2banTOR, protocol=all]
'';
dovecot = ''
enabled = true
# aggressive mode to add blocking for aborted connections
filter = dovecot[mode=aggressive]
maxretry = 3
'';
postfix = ''
enabled = true
filter = postfix[mode=aggressive]
maxretry = 3
'';
};
};