]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add MX even for mail sending (for SPF)
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 1 Jun 2019 09:55:27 +0000 (11:55 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 1 Jun 2019 09:55:27 +0000 (11:55 +0200)
modules/private/dns.nix

index ced8d9b02b60abb86becefb99764b50e86141c17..af536958e59767e6cf0d079d10f1833876ec3923 100644 (file)
               in
               ''
               ; ------------------ mail: ${n} ---------------------------
-              ${if e.receive then "${n} IN MX 10 mail.${conf.name}." else ""}
-              ;${if e.receive then "${n} IN MX 50 mx-1.${conf.name}." else ""}
+              ${n} IN MX 10 mail.${conf.name}.
+              ;${n} IN MX 50 mx-1.${conf.name}.
 
               ; Mail sender authentications
               ${n}                   IN TXT  "v=spf1 mx ~all"