aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 11:55:27 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 11:55:27 +0200
commit02d6e977e309355ae728422e26063090e8a2f193 (patch)
tree533d3ba13a7642137ec5d757d822931abf6da1f2
parent17f6eae9907a122d4472da727ae8b1ac1c40c027 (diff)
downloadNix-02d6e977e309355ae728422e26063090e8a2f193.tar.gz
Nix-02d6e977e309355ae728422e26063090e8a2f193.tar.zst
Nix-02d6e977e309355ae728422e26063090e8a2f193.zip
Add MX even for mail sending (for SPF)
-rw-r--r--modules/private/dns.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/dns.nix b/modules/private/dns.nix
index ced8d9b..af53695 100644
--- a/modules/private/dns.nix
+++ b/modules/private/dns.nix
@@ -105,8 +105,8 @@
105 in 105 in
106 '' 106 ''
107 ; ------------------ mail: ${n} --------------------------- 107 ; ------------------ mail: ${n} ---------------------------
108 ${if e.receive then "${n} IN MX 10 mail.${conf.name}." else ""} 108 ${n} IN MX 10 mail.${conf.name}.
109 ;${if e.receive then "${n} IN MX 50 mx-1.${conf.name}." else ""} 109 ;${n} IN MX 50 mx-1.${conf.name}.
110 110
111 ; Mail sender authentications 111 ; Mail sender authentications
112 ${n} IN TXT "v=spf1 mx ~all" 112 ${n} IN TXT "v=spf1 mx ~all"