My Nix Configuration

[systems.prefect] Add postfix and dovecot jails for fail2ban

Changed files
+14
systems
x86_64-linux
prefect
services
+14
systems/x86_64-linux/prefect/services/fail2ban.nix
···
"172.16.0.0/12"
"192.168.0.0/16"
];
+
jails = {
+
postfix = {
+
filter = "postfix";
+
settings = {
+
action = ''nftables[port="25,465,587"]'';
+
};
+
};
+
dovecot = {
+
filter = "dovecot";
+
settings = {
+
action = ''nftables[port="25,465,587"]'';
+
};
+
};
+
};
};
}