Difference between revisions of "SPF+DKIM+DMARC"

From The Hive
Line 13: Line 13:
 
== DomainKeys Identified Mail ==
 
== DomainKeys Identified Mail ==
  
 +
DKIM is implemented by a public key in another DNS TXT record.
 +
 +
<syntaxhighlight lang="bash">
 +
default._domainkey.example.biz.    86400 IN TXT    "v=DKIM1; k=rsa; p=verylongbase64encodedstring"
 +
</syntaxhighlight>
 
https://tools.ietf.org/html/rfc6376
 
https://tools.ietf.org/html/rfc6376
  

Revision as of 01:50, 5 February 2020

Correct mail configuration is especially important if you own a "biz" domain, to avoid having your email misinterpreted or misclassified as spam.

Sender Policy Framework

SPF is described in RFC 7208 and implemented as a DNS TXT record.

example.biz.            86400   IN      TXT     "v=spf1 a mx ~all"

The version was never updated from 1.

DomainKeys Identified Mail

DKIM is implemented by a public key in another DNS TXT record.

default._domainkey.example.biz.     86400 IN TXT    "v=DKIM1; k=rsa; p=verylongbase64encodedstring"

https://tools.ietf.org/html/rfc6376

Domain-based Message Authentication, Reporting, and Conformance

https://tools.ietf.org/html/rfc7489