From 3d05510026e9d552d76f9c894f9d824d7a18c853 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 20 Aug 2025 16:23:36 +0300 Subject: [PATCH] Trying to enable imap --- nixosModules/stalwart.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixosModules/stalwart.nix b/nixosModules/stalwart.nix index 0c77f04..8cebed2 100644 --- a/nixosModules/stalwart.nix +++ b/nixosModules/stalwart.nix @@ -11,7 +11,7 @@ config = lib.mkIf config.stalwart.enable { # Open http and https ports to the public - networking.firewall.allowedTCPPorts = [ 443 80 ]; + networking.firewall.allowedTCPPorts = [ 443 80 993 25 465 143 587 ]; # Make sure acme module is active for the "kyren.codes" ssl cert acme.enable = true; @@ -84,7 +84,8 @@ protocol = "smtp"; }; imaps = { - bind = "[::]:993"; + # bind = "[::]:993"; + bind = ["0.0.0.0:993" "[::]:993"]; protocol = "imap"; }; # jmap = {