From 69d539f43f6fac1b975bd64898dcf22302253ce9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Jan 2023 15:43:04 +0100 Subject: ... --- hosts/surtr/email/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 3d0b43ee..0ee68599 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -110,7 +110,7 @@ in { tls_server_sni_maps = ''texthash:${pkgs.writeText "sni" ( concatMapStringsSep "\n\n" (domain: - concatMapStringsSep "\n" (subdomain: "${subdomain} /run/credentials/postfix.service/${subdomain}.full.pem") + concatMapStringsSep "\n" (subdomain: "${subdomain} /run/credentials/postfix.service/${removePrefix "." subdomain}.full.pem") [domain "mailin.${domain}" "mailsub.${domain}" ".${domain}"] ) emailDomains )}''; -- cgit v1.2.3