diff options
-rw-r--r-- | hosts/surtr/email/default.nix | 3 |
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 | ''; |