From a1fd3b3af29e0eecaa5ea3c316e861864358ce14 Mon Sep 17 00:00:00 2001 From: blake Date: Thu, 4 Dec 2025 19:44:13 -0600 Subject: [PATCH] fix postfix --- modules/homelab/postfix/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/homelab/postfix/default.nix b/modules/homelab/postfix/default.nix index 767017c..de065bf 100644 --- a/modules/homelab/postfix/default.nix +++ b/modules/homelab/postfix/default.nix @@ -60,8 +60,7 @@ in { # enable the ${service} service services.postfix = { enable = true; - relayHost = "smtp.gmail.com"; - relayPort = cfg.port; + settings.main.relayHost = ["smtp.gmail.com:${toString cfg.port}"]; config = { #smtp_use_tls = "yes"; smtp_tls_security_level = "may";