SPF, DKIM and DMARC Explained for Email Marketing
Short answer: SPF lists the servers allowed to send email for your domain, DKIM adds a signature that proves a message was not changed, and DMARC tells inboxes what to do when a message fails those checks. You set all three up by adding DNS records to your domain. Since 2024, Gmail and Yahoo require them for bulk senders.

Why email authentication matters now
Email was designed without a way to prove who sent a message. Anyone could put your domain in the from line. SPF, DKIM and DMARC fix that by letting you publish rules in your domain's DNS that inbox providers can check.
In February 2024, Gmail and Yahoo started requiring bulk senders to authenticate their mail with SPF and DKIM, publish a DMARC record, offer one-click unsubscribe and keep spam complaint rates low. Microsoft announced similar requirements for Outlook.com in 2025. If your marketing emails are not authenticated, a growing share of them will be filtered or rejected.
SPF: who is allowed to send
SPF stands for Sender Policy Framework. It is a TXT record on your domain that lists the services allowed to send email for it. When an inbox receives a message, it checks whether the sending server is on that list.
A typical SPF record looks like v=spf1 include:_spf.google.com include:example-sender.com ~all. Each include adds a service. The ending ~all means mail from anywhere else is suspicious, and -all means it should fail.
One important rule: a domain can have only one SPF record. If you already have one for your office email, add the new include to the existing record instead of creating a second one. Two SPF records break both. SPF also has a limit of ten DNS lookups, so remove services you no longer use.
DKIM: a signature on every message
DKIM stands for DomainKeys Identified Mail. Your email service signs each message with a private key, and you publish the matching public key in your DNS, usually as a CNAME or TXT record on a name like selector._domainkey.yourdomain.com.
When an inbox receives the message, it looks up the public key and checks the signature. If it matches, the inbox knows the message really came from a service you authorized and was not changed on the way.
Unlike SPF, you can have many DKIM records, one for each service, because each uses its own selector name.
DMARC: the policy that ties them together
DMARC stands for Domain-based Message Authentication, Reporting and Conformance. It is a TXT record at _dmarc.yourdomain.com. It tells inboxes two things: what to do with mail that fails SPF and DKIM alignment, and where to send reports.
Alignment is the key idea. DMARC passes only if SPF or DKIM passes for the same domain that appears in the from address. That is why your email tool needs to sign with your domain, not its own.
A safe starting record is v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. The p=none policy means monitor only. Once reports show all your legitimate mail passing, you can move to p=quarantine and later p=reject to stop others from spoofing your domain.
How to set them up step by step
You need access to wherever your domain's DNS is managed. That is often your domain registrar, your website host or a service like Cloudflare. If someone else set up your domain, ask them for access before you start.
- In your email marketing tool, open the domain settings and add your domain. The tool shows the exact records you need.
- Add the DKIM record or records exactly as shown. Copy and paste the values to avoid typos.
- Add or update your SPF record. If one already exists, merge the new include into it.
- Add a DMARC record if you do not have one. Start with p=none.
- Wait for DNS to update. It is often a few minutes, but it can take up to 48 hours.
- Click verify in your email tool. Then send a test to a Gmail address and check the message details for spf=pass, dkim=pass and dmarc=pass.
Common mistakes to avoid
Most authentication problems come from a handful of small errors. Check these first if verification fails.
- Two SPF records on the same domain. Merge them into one.
- Pasting the full host name when your DNS host adds the domain automatically, which creates names like _dmarc.yourdomain.com.yourdomain.com.
- Extra quotes or spaces in TXT values copied from a document.
- Moving to p=reject before checking reports, which can block your own invoices or office mail.
- Forgetting about other services that send as your domain, such as your booking tool, invoicing software or help desk.
How umails handles authentication
In umails, the domain settings page shows each DNS record with a copy button and checks them live, so you can see which ones are verified and which still need work. Until your domain is verified, emails go out from a shared umails sending domain with lower daily limits. Once it is verified, you send as yourself.
Sending from your own domain is available on the Pro plan and above, and during the 14-day trial.
Authentication is the start, not the finish
SPF, DKIM and DMARC prove who you are. They do not make people want your email. Inboxes still look at how recipients react: opens, replies, deletes without reading and spam complaints.
Send only to people who asked to hear from you, make unsubscribing easy, remove addresses that bounce and keep your content relevant. Do those things on top of solid authentication and most of your mail will reach the inbox.
Frequently asked questions
Do I need SPF, DKIM and DMARC for a small list?
Yes. Gmail and Yahoo apply their rules to bulk senders, but authenticated mail is treated better at every size. It is also the only way to send from your own domain reliably.
What DMARC policy should I start with?
Start with p=none so nothing is blocked while you check reports. Move to quarantine and then reject once all your legitimate mail passes.
Can I have two SPF records?
No. A domain should have exactly one SPF record. Combine all your sending services into a single record.
How long does DNS take to update?
Often a few minutes, sometimes up to 48 hours. If verification fails right away, wait a little and check again.
Put it into practice
umails is free for up to 500 contacts, with AI writing and every Growth feature free for 14 days.
Start free