From 034ca15318b5f48d4eba4645bbc2d0e168697d82 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 26 Feb 2026 01:03:53 +0100 Subject: [PATCH] docs: suggest mx to refer to mailserver in spf record Much more foolproof in simple setups, because it allows all servers mentioned in a domains MX record to also send out mail, without having to track them here manually again. --- docs/setup-guide.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/setup-guide.rst b/docs/setup-guide.rst index e6ef029..00f8aae 100644 --- a/docs/setup-guide.rst +++ b/docs/setup-guide.rst @@ -122,18 +122,18 @@ Set a ``SPF`` record Add a `SPF `_ record to the domain ``example.com``. -================ ===== ==== ================================ +================ ===== ==== ================ Name (Subdomain) TTL Type Value -================ ===== ==== ================================ -example.com 10800 TXT `v=spf1 a:mail.example.com -all` -================ ===== ==== ================================ +================ ===== ==== ================ +example.com 10800 TXT `v=spf1 mx -all` +================ ===== ==== ================ You can check this with :: $ nix-shell -p bind --command "host -t TXT example.com" - example.com descriptive text "v=spf1 a:mail.example.com -all" + example.com descriptive text "v=spf1 mx -all" Note that it can take a while until a DNS entry is propagated.