aboutsummaryrefslogtreecommitdiff
path: root/modules/private/mail/postfix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/mail/postfix.nix')
-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";