From 02d6e977e309355ae728422e26063090e8a2f193 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 1 Jun 2019 11:55:27 +0200 Subject: [PATCH] Add MX even for mail sending (for SPF) --- modules/private/dns.nix | 4 ++-- 1 file 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 @@ 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" -- 2.41.0