Merge branch 'setup-guide-spf-mx' into 'master'
docs: suggest mx to refer to mailserver in spf record See merge request simple-nixos-mailserver/nixos-mailserver!481
This commit is contained in:
@@ -122,18 +122,18 @@ Set a ``SPF`` record
|
|||||||
Add a `SPF <https://en.wikipedia.org/wiki/Sender_Policy_Framework>`_
|
Add a `SPF <https://en.wikipedia.org/wiki/Sender_Policy_Framework>`_
|
||||||
record to the domain ``example.com``.
|
record to the domain ``example.com``.
|
||||||
|
|
||||||
================ ===== ==== ================================
|
================ ===== ==== ================
|
||||||
Name (Subdomain) TTL Type Value
|
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
|
You can check this with
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ nix-shell -p bind --command "host -t TXT example.com"
|
$ 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.
|
Note that it can take a while until a DNS entry is propagated.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user