From 5d2f866a575c571d1883f93001ccb3d8d9f48260 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Mon, 16 Feb 2026 02:32:52 +0100 Subject: [PATCH] Open TCP and UDP port 25 in firewall for mail server --- nix-system-configs/modules/system/mail-server.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix-system-configs/modules/system/mail-server.nix b/nix-system-configs/modules/system/mail-server.nix index 2ad3f19..b482176 100644 --- a/nix-system-configs/modules/system/mail-server.nix +++ b/nix-system-configs/modules/system/mail-server.nix @@ -154,5 +154,12 @@ in { }; }; }; + + networking.firewall.allowedTCPPorts = [ + 25 + ]; + networking.firewall.allowedUDPPorts = [ + 25 + ]; }; }