From 2ee92e94612261f74b702eeba719fa09946f0113 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 12 Jan 2024 11:58:27 -0800 Subject: [PATCH] Disable firewalls --- mail-server.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail-server.nix b/mail-server.nix index f060890..85f0f5f 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -307,6 +307,8 @@ in { boot.tmp.useTmpfs = true; system.nssModules = lib.mkForce [ ]; + networking.firewall.enable = false; + fudo.mail.postfix = { enable = true; debug = cfg.debug; @@ -380,6 +382,7 @@ in { imports = [ ./dovecot.nix ]; boot.tmp.useTmpfs = true; system.nssModules = lib.mkForce [ ]; + networking.firewall.enable = false; fudo.mail.dovecot = { enable = true; debug = cfg.debug; @@ -431,6 +434,7 @@ in { nixos = { useSystemd = true; configuration = { + networking.firewall.enable = false; imports = [ ./rspamd.nix ]; boot.tmp.useTmpfs = true; system.nssModules = lib.mkForce [ ];