thrall: Activate fail2ban for postfix
This commit is contained in:
parent
2873640cbf
commit
07177629bc
1 changed files with 7 additions and 0 deletions
|
|
@ -324,6 +324,13 @@ in {
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
ignoreIP =
|
ignoreIP =
|
||||||
[ "127.0.0.0/8" "195.90.211.228/22" "10.0.0.0/8" "192.168.0.0/16" ];
|
[ "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 = {
|
services.syncthing = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue