aboutsummaryrefslogtreecommitdiff
path: root/modules/private/mail
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-01 22:07:52 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-01 22:07:52 +0200
commitafcc5de071dfffdc507995d1845372ba40dc1dc2 (patch)
treec96fe6b4d915e7382316a57d0d626760a7fd2876 /modules/private/mail
parent2f16a987d306cdb7bf9b4e80fa4af173373719bd (diff)
downloadNix-afcc5de071dfffdc507995d1845372ba40dc1dc2.tar.gz
Nix-afcc5de071dfffdc507995d1845372ba40dc1dc2.tar.zst
Nix-afcc5de071dfffdc507995d1845372ba40dc1dc2.zip
Implement mta-sts and move mail services to specific domain
Diffstat (limited to 'modules/private/mail')
-rw-r--r--modules/private/mail/postfix.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/private/mail/postfix.nix b/modules/private/mail/postfix.nix
index 53bf650..dfe6129 100644
--- a/modules/private/mail/postfix.nix
+++ b/modules/private/mail/postfix.nix
@@ -190,6 +190,13 @@
190 milter_macro_daemon_name = "ORIGINATING"; 190 milter_macro_daemon_name = "ORIGINATING";
191 smtpd_milters = "unix:${config.myServices.mail.milters.sockets.opendkim}"; 191 smtpd_milters = "unix:${config.myServices.mail.milters.sockets.opendkim}";
192 }; 192 };
193 # FIXME: Mail adressed to localhost.immae.eu will still have mx-1 as
194 # prioritized MX, which provokes "mail for localhost.immae.eu loops
195 # back to myself" errors. This transport entry forces to push
196 # e-mails to its right destination.
197 transport = ''
198 localhost.immae.eu smtp:[immae.eu]:25
199 '';
193 destination = ["localhost"]; 200 destination = ["localhost"];
194 # This needs to reverse DNS 201 # This needs to reverse DNS
195 hostname = "eldiron.immae.eu"; 202 hostname = "eldiron.immae.eu";