Skip to content

Commit

Permalink
possible SPF weirdness
Browse files Browse the repository at this point in the history
Signed-off-by: David Loffredo <loffredo@steptools.com>
  • Loading branch information
david-loffredo committed Sep 29, 2023
1 parent 5b17944 commit 4a43b59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/dns.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ <H2 class=rule>

<p>Create simple SPF record that says all mail must come from our MX
and to ignore anything else. Add a DMARC entry that says quarantine
anything that doesn't pass relaxed DKIM or SPF checks.</p>
anything that doesn't pass relaxed DKIM or SPF checks. Note that SPF
records do not cover subdomains, so when sending from a subdomain like
"mail", you should add a record to cover that.</p>

<PRE class=code>
example.com. IN TXT "v=spf1 mx a -all"
mail.example.com. IN TXT "v=spf1 mx a -all"
_DMARC.example.com IN TXT "v=DMARC1; p=quarantine; rua=mailto:postmaster@example.com;"
</PRE>

Expand Down

0 comments on commit 4a43b59

Please sign in to comment.