From: Ismaƫl Bouya Date: Sat, 1 Jun 2019 09:55:27 +0000 (+0200) Subject: Add MX even for mail sending (for SPF) X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=02d6e977e309355ae728422e26063090e8a2f193 Add MX even for mail sending (for SPF) --- 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"