Enter your domain (or any email address at it). We check the SPF, DKIM and DMARC records that Gmail, Outlook and Yahoo use to decide if your email is real.
What SPF, DKIM and DMARC do
These three DNS records prove that email from your domain is really from you. Gmail, Outlook and Yahoo check them on every message. If they are missing or broken, your email goes to spam or is refused.
- SPF lists the servers allowed to send email for your domain. It is one TXT record at the root of the domain that starts with
v=spf1. - DKIM adds a digital signature to each email. The public key sits in DNS at
selector._domainkey.yourdomain.com. Your email provider creates the key; you add the record. - DMARC tells receivers what to do when SPF and DKIM both fail, and sends you reports. It is a TXT record at
_dmarc.yourdomain.com.
The order to fix things
- Make one SPF record that includes every service that sends email as you (your mailbox provider, newsletter tool, web shop, website contact form). End it with
~all. - Turn on DKIM in each of those services and add the DNS records they give you.
- Add DMARC with
p=noneand a report address. Read the reports for 2 to 4 weeks. - When only your real services appear and they pass, change to
p=quarantine, then laterp=reject.
Common mistakes
- Two SPF records. Adding a second
v=spf1record for a new service breaks both. Merge them into one. - More than 10 lookups. Every
include:,aandmxcounts, including the ones inside each include. Over 10 and SPF fails. - Jumping to p=reject. Do it only after the reports show your real email passing. Otherwise you block your own invoices and password resets.
On a cPanel server, Email Deliverability in cPanel shows the SPF and DKIM records the server expects and can install them for you if cPanel manages your DNS.
FAQ
Why does my email go to spam even though SPF passes?
SPF alone is not enough. Gmail and Yahoo also look at DKIM and DMARC, your sending reputation, and the content. Make sure DKIM is set up and DMARC is published.
What is a DKIM selector?
It is the name under which your DKIM key is published, such as "google" or "selector1". You find it in the DKIM-Signature header of an email you sent, as the s= value.
Should I use ~all or -all?
Most providers recommend ~all (soft fail) together with a DMARC policy. DMARC then decides whether failing email goes to spam or is refused. -all is also fine if your SPF list is complete.
Where do DMARC reports go?
To the address in the rua= tag. They are XML files that list every server that sent email using your domain. A free DMARC report reader makes them easier to read.