From d49eeec2ee7ec0fc6ef1ae0e7a7bd21c246a516e Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 6 Dec 2024 17:30:18 +0100 Subject: flora: replace mailserver with ntfy.sh not sure how permanent this will be, but for now it allows me to do some things that would otherwise be hard. --- flora/services/ntfy.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flora/services/ntfy.nix') diff --git a/flora/services/ntfy.nix b/flora/services/ntfy.nix index aa46a39..25ae8f8 100644 --- a/flora/services/ntfy.nix +++ b/flora/services/ntfy.nix @@ -10,8 +10,8 @@ listen-unix = "/run/ntfy-sh/ntfy.sock"; listen-unix-mode = 511; ## lossy nix->yaml conversion eats octal literals (equal to 0777) - smtp-server-listen = ":2525"; - smtp-server-domain = "ping.stuebinm.eu"; + smtp-server-listen = ":25"; + smtp-server-domain = "mail.stuebinm.eu"; auth-file = "/var/lib/ntfy-sh/user.db"; auth-default-access = "deny-all"; @@ -21,7 +21,7 @@ }; }; - networking.firewall.allowedTCPPorts = [ 2525 ]; + networking.firewall.allowedTCPPorts = [ 25 ]; services.mollysocket = { enable = true; -- cgit v1.2.3