From 17d24a633e75592f8b0dd5346c919c261332c90c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 27 Dec 2022 15:28:59 +0100 Subject: kleen.consulting --- hosts/surtr/email/default.nix | 52 +++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 12 deletions(-) (limited to 'hosts/surtr/email/default.nix') diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 80611c3c..22790fbb 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix @@ -112,6 +112,11 @@ in { mailin.bouncy.email /run/credentials/postfix.service/mailin.bouncy.email.full.pem mailsub.bouncy.email /run/credentials/postfix.service/mailsub.bouncy.email.full.pem .bouncy.email /run/credentials/postfix.service/bouncy.email.full.pem + + kleen.consulting /run/credentials/postfix.service/kleen.consulting.full.pem + mailin.kleen.consulting /run/credentials/postfix.service/mailin.kleen.consulting.full.pem + mailsub.kleen.consulting /run/credentials/postfix.service/mailsub.kleen.consulting.full.pem + .kleen.consulting /run/credentials/postfix.service/kleen.consulting.full.pem ''}''; smtp_tls_policy_maps = "socketmap:unix:${config.services.postfix-mta-sts-resolver.settings.path}:postfix"; @@ -278,6 +283,7 @@ in { separator = "+"; excludeDomains = [ "surtr.yggdrasil.li" ".bouncy.email" "bouncy.email" + ".kleen.consulting" "kleen.consulting" ]; }; @@ -285,7 +291,7 @@ in { enable = true; user = "postfix"; group = "postfix"; socket = "local:/run/opendkim/opendkim.sock"; - domains = ''csl:${concatStringsSep "," ["surtr.yggdrasil.li" "bouncy.email"]}''; + domains = ''csl:${concatStringsSep "," ["surtr.yggdrasil.li" "bouncy.email" "kleen.consulting"]}''; selector = "surtr"; configFile = builtins.toFile "opendkim.conf" '' Syslog true @@ -432,6 +438,15 @@ in { ssl_key =