thrall: Activate fail2ban for postfix

This commit is contained in:
Alexander Kobjolke 2024-01-19 20:38:34 +01:00
parent 2873640cbf
commit 07177629bc

View file

@ -324,6 +324,13 @@ in {
maxretry = 5;
ignoreIP =
[ "127.0.0.0/8" "195.90.211.228/22" "10.0.0.0/8" "192.168.0.0/16" ];
jails.postfix = ''
filter = postfix
maxretry = 3
action = iptables[name=postfix, port=smtp, protocol=tcp]
enabled = true
'';
};
services.syncthing = {