Platform 23.11 #96
2 changed files with 5 additions and 8 deletions
|
@ -80,7 +80,5 @@ in {
|
|||
|
||||
systemd.services.dovecot2.serviceConfig.ExecStartPre = [ "${writeLdapConfig}/bin/write-ldap-config" ];
|
||||
|
||||
services.fail2ban.jails.dovecot = ''
|
||||
enabled = true
|
||||
'';
|
||||
services.fail2ban.jails.dovecot = {};
|
||||
}
|
||||
|
|
|
@ -93,9 +93,8 @@ in
|
|||
systemd.services.postfix.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
||||
systemd.services.postfix-setup.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
||||
|
||||
services.fail2ban.jails.postfix = ''
|
||||
enabled = true
|
||||
mode = aggressive
|
||||
findtime = 43200
|
||||
'';
|
||||
services.fail2ban.jails.postfix.settings = {
|
||||
mode = "aggressive";
|
||||
findtime = "43200";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue