SPF, DKIM and DMARC explained without jargon

The three DNS records that decide whether your order confirmations reach the inbox — what each one does, in plain language.

✉️ MailMedic6 min readUpdated 2026-08-22

Email was designed in an era when nobody lied about who they were. Anyone can still write any address in the “From” field, so mail providers had to invent proof. Three records do that job, and they answer three different questions.

SPF — who is allowed to send

SPF is a list of servers permitted to send mail using your domain. When Gmail receives a message claiming to be from your shop, it looks up that list and checks whether the sending server is on it. If it is not, the message is suspicious.

A typical record looks like this, published as a TXT record on your domain:

v=spf1 include:shops.shopify.com include:_spf.google.com ~all
You may only have one SPF record per domain. Two records is not twice the protection — it is an error, and receivers treat it as a failure. If you already have one, add to it instead of creating another.

DKIM — proof the message was not altered

DKIM adds a cryptographic signature to every message you send. The matching public key sits in your DNS, so the receiver can verify both that the message really came from you and that nobody changed it along the way. Without DKIM, a receiver has to trust the sending server's word alone.

DMARC — what to do when the checks fail

DMARC ties the other two together and tells receivers your wishes: do nothing, quarantine, or reject. It also asks them to send you reports about who is sending mail in your name — which is how most shops discover spoofing for the first time.

v=DMARC1; p=none; rua=mailto:dmarc@your-domain.com

That example collects reports without affecting delivery. It is the correct place to start, but it is not the destination — see the article on moving from p=none safely.

Why all three matter together

SPF alone breaks when mail is forwarded. DKIM alone does not say what to do about failures. DMARC without the other two has nothing to enforce. Gmail and Yahoo now expect bulk senders to have all three, and the practical effect of missing one is simple: your order confirmations spend more time in spam folders.

Did this answer your question?

If anything here was wrong, unclear or out of date, tell us — the article gets fixed the same day.

Related articles