If email deliverability has a foundation, this is it. SPF, DKIM, and DMARC are three records you publish for your sending domain, and together they answer a question every receiving mail server asks: is this message really from who it claims to be? Get them right and you build trust with providers like Gmail and Outlook. Get them wrong, or skip them, and even legitimate email gets treated with suspicion.

The topic sounds intimidating because it is wrapped in acronyms and DNS jargon. It does not need to be. Each of the three does one job, and once you see what that job is, the whole system makes sense. This guide explains all three in plain language and shows how they fit together, so you can set them up with confidence before you ramp up any real sending.

Why authentication exists at all

Email was designed in a more trusting era, when anyone could claim to be anyone. That openness is exactly why spam and phishing exploded. Authentication was bolted on to fix it. The three records let a receiving server check, in different ways, that a message genuinely came from the domain in the from address and was not forged or tampered with along the way. Providers lean heavily on these checks when deciding inbox versus spam, so they are not optional extras, they are table stakes.

SPF: who is allowed to send

SPF, or Sender Policy Framework, is a list. You publish a record on your domain that names which mail servers are allowed to send email on your behalf. When a receiving server gets a message claiming to be from your domain, it checks whether the server that sent it is on your approved list. If yes, the message passes SPF. If not, that is a red flag.

Think of it like a guest list at a door. If a sender is not on the list, the receiving server has good reason to be skeptical. The common mistake with SPF is forgetting to include a service you actually use, so your own legitimate mail fails the check. If you send through a marketing platform or an outreach tool, its sending servers need to be in your SPF record.

DKIM: proof the message was not tampered with

DKIM, or DomainKeys Identified Mail, adds a cryptographic signature to every message you send. Your domain holds a private key, and you publish the matching public key in your DNS. When a message arrives, the receiving server uses the public key to verify the signature. If it checks out, two things are proven: the message really came from your domain, and it was not altered in transit.

Where SPF is a guest list, DKIM is a tamper-evident seal. It is harder to forge and does not break when a message is forwarded the way SPF sometimes does. Most email providers and sending services will generate the DKIM keys for you and tell you exactly what to publish, so setup is usually a matter of pasting a record into your DNS.

RecordWhat it checksAnalogy
SPFIs the sending server authorized?Guest list at the door
DKIMWas the message forged or altered?Tamper-evident seal
DMARCWhat to do if checks fail, plus reportingThe house rules and the logbook

DMARC: the policy that ties it together

SPF and DKIM each do a check, but on their own they do not tell a receiving server what to do when a check fails, and they do not tell you when someone is forging your domain. DMARC fills both gaps. It lets you publish a policy that says, in effect, if a message claiming to be from my domain fails these checks, here is how to treat it: let it through, quarantine it, or reject it outright.

DMARC also gives you reports. Once it is set up, you start receiving data on who is sending email using your domain, including any impersonators. That visibility is genuinely useful, because it shows you both configuration problems with your own mail and attempts to abuse your brand. Most senders start DMARC in a monitoring-only mode, review the reports, fix anything that surfaces, and then tighten the policy toward reject as confidence grows.

Start DMARC gently

Do not jump straight to a reject policy. Begin in monitoring mode so you can see the reports and catch any legitimate mail that would have been blocked. Tighten the policy step by step once the data looks clean.

How the three work together

Here is the full picture in one pass. A message leaves your sending service. The receiving server checks SPF to see if that service is authorized for your domain. It checks DKIM to confirm the message is signed by your domain and unaltered. Then it consults your DMARC policy to decide what to do with the result and logs a report. When all three align, the message carries strong signals of legitimacy, and it is far more likely to reach the inbox.

This is also why authentication and account health go hand in hand. Even perfectly authenticated mail can still be filtered if the sending account behaves badly, which is why warmup and avoiding the behaviors that get accounts blocked still matter. Authentication opens the door, good behavior keeps you welcome.

A setup checklist

  1. 1Publish an SPF record that includes every service that sends on your behalf
  2. 2Enable DKIM through your provider or sending service and publish the public key
  3. 3Add a DMARC record in monitoring mode to start collecting reports
  4. 4Review the DMARC reports and fix any legitimate mail that fails
  5. 5Gradually move your DMARC policy from monitoring toward quarantine, then reject
  6. 6Recheck the records whenever you add a new sending tool or platform

Custom domains, not free inboxes

SPF, DKIM, and DMARC apply to domains you control. If you are sending from a custom domain for outreach, set all three before scaling. Free provider inboxes handle their own authentication, but the moment you send from your own domain, these records are your responsibility.


Frequently asked questions

Do I really need all three of SPF, DKIM, and DMARC?▾
For any serious sending from your own domain, yes. SPF and DKIM each prove different things, and DMARC ties them together with a policy and reporting. Providers increasingly expect all three, and missing them hurts deliverability.
What happens if I don't set them up?▾
Your email is more likely to be filtered to spam or rejected, because receiving servers cannot verify it is genuinely from you. You also have no visibility into anyone forging your domain.
Are these hard to configure?▾
Less than they sound. Most providers generate the DKIM key and give you the exact records to publish. The main effort is adding a few DNS entries and, for DMARC, reviewing reports before tightening the policy.
Do free Gmail or Outlook accounts need these records?▾
No. Free provider inboxes handle their own authentication. These records matter when you send from a custom domain you control, which is common for cold outreach at scale.