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" ];
|
systemd.services.dovecot2.serviceConfig.ExecStartPre = [ "${writeLdapConfig}/bin/write-ldap-config" ];
|
||||||
|
|
||||||
services.fail2ban.jails.dovecot = ''
|
services.fail2ban.jails.dovecot = {};
|
||||||
enabled = true
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.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" ];
|
systemd.services.postfix-setup.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
||||||
|
|
||||||
services.fail2ban.jails.postfix = ''
|
services.fail2ban.jails.postfix.settings = {
|
||||||
enabled = true
|
mode = "aggressive";
|
||||||
mode = aggressive
|
findtime = "43200";
|
||||||
findtime = 43200
|
};
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue