summaryrefslogtreecommitdiff
path: root/hosts/surtr/email
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-05 16:58:26 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-05 16:58:26 +0200
commitf1634e60a4b74297bb7875d847f7d7c0660ca024 (patch)
treed1ce7b100bf9ff93359e3c16dc589621b23e62fc /hosts/surtr/email
parentdd556c43b55761800a2f5be2d19da2613645bc56 (diff)
downloadnixos-f1634e60a4b74297bb7875d847f7d7c0660ca024.tar
nixos-f1634e60a4b74297bb7875d847f7d7c0660ca024.tar.gz
nixos-f1634e60a4b74297bb7875d847f7d7c0660ca024.tar.bz2
nixos-f1634e60a4b74297bb7875d847f7d7c0660ca024.tar.xz
nixos-f1634e60a4b74297bb7875d847f7d7c0660ca024.zip
surtr: ...
Diffstat (limited to 'hosts/surtr/email')
-rw-r--r--hosts/surtr/email/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix
index cf0be070..68690d55 100644
--- a/hosts/surtr/email/default.nix
+++ b/hosts/surtr/email/default.nix
@@ -126,7 +126,7 @@ with lib;
126 "-o" "smtpd_client_restrictions=permit_tls_all_clientcerts,reject" 126 "-o" "smtpd_client_restrictions=permit_tls_all_clientcerts,reject"
127 "-o" "smtpd_relay_restrictions=permit_tls_all_clientcerts,reject" 127 "-o" "smtpd_relay_restrictions=permit_tls_all_clientcerts,reject"
128 "-o" "smtpd_recipient_restrictions=reject_unauth_pipelining,reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_tls_all_clientcerts,reject" 128 "-o" "smtpd_recipient_restrictions=reject_unauth_pipelining,reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_tls_all_clientcerts,reject"
129 "-o" "{ smtpd_milters = {${config.services.opendkim.socket}, milter_mail_macros = \"i EXTERNAL {cert_subject} {cert_subject} {mail_addr} {mail_host} {mail_mailer}\"} }" 129 "-o" "milter_macro_daemon_name=surtr.yggdrasil.li"
130 ]; 130 ];
131 }; 131 };
132 }; 132 };
@@ -149,6 +149,7 @@ with lib;
149 selector = "surtr"; 149 selector = "surtr";
150 configFile = builtins.toFile "opendkim.conf" '' 150 configFile = builtins.toFile "opendkim.conf" ''
151 Syslog true 151 Syslog true
152 MTA surtr.yggdrasil.li
152 MTACommand ${config.security.wrapperDir}/sendmail 153 MTACommand ${config.security.wrapperDir}/sendmail
153 LogResults true 154 LogResults true
154 ''; 155 '';