What are DKIM, SPF and DMARC, and how do they help email deliverability?

A plain-English guide to email authentication, and what Gmail, Yahoo and Outlook now require from anyone sending marketing email

Email Marketing Article
20 mins

By Daniel Rowles, lead trainer at Target Internet. Last updated: November 2026.

DKIM, SPF and DMARC are email authentication standards that prove your emails genuinely come from your domain. SPF lists the servers allowed to send for you, DKIM adds a tamper-proof digital signature, and DMARC tells receiving servers what to do if those checks fail. Together they improve deliverability and stop scammers spoofing your brand, and Gmail, Yahoo and Outlook now require them from bulk senders.

When we first wrote this guide, setting up authentication was best practice. It is now essential. If your emails are landing in spam, or not arriving at all, authentication is the first thing to check.

Why does email authentication matter now?

From February 2024, Google's sender guidelines required everyone sending to Gmail accounts to set up SPF or DKIM, and anyone sending more than 5,000 messages a day to set up SPF, DKIM and DMARC, offer one-click unsubscribe for marketing messages, and keep spam rates reported in Postmaster Tools below 0.3%. Yahoo introduced matching requirements, and Microsoft began applying similar rules to high-volume senders to Outlook.com addresses in 2025.

In practice, most email service providers handle much of this for you, but you still need to publish the right records on your own domain and authorise every tool that sends email on your behalf. That includes your CRM, your email marketing platform, your helpdesk and your website.

DKIM SPF DMARC compared: what each email authentication standard does
What SPF, DKIM and DMARC each do.

What is SPF?

SPF (Sender Policy Framework) is a list of the servers and services allowed to send email for your domain. It is published as a TXT record in your domain's DNS, the online record of your domain's basic identifying information.

When an email arrives, the receiving server checks the sending server against your SPF record. If it is on the list, the email passes. If not, it fails, which makes it more likely to be treated as spam or rejected.

A simple SPF record looks like this: v=spf1 include:_spf.google.com include:servers.mcsv.net ~all. Each include authorises a service, in this example Google Workspace and Mailchimp. Two common mistakes are having more than one SPF record on a domain, and exceeding the limit of ten DNS lookups, both of which can cause SPF to fail.

What is DKIM?

DKIM (DomainKeys Identified Mail) adds a digital signature to each email. The sending service signs the message with a private key, and publishes the matching public key in your DNS. The receiving server uses the public key to confirm that the email was sent by an authorised service and was not altered in transit.

DKIM emerged in the mid-2000s, when email spoofing was widespread, from work by companies including Yahoo and Cisco. The idea was that the claimed link between an email and a domain could be proven cryptographically, making it much harder for scammers to impersonate a legitimate sender.

Most platforms now make DKIM straightforward. In Google Workspace, for example, you generate a DKIM key in the admin console and add it to your DNS. Email marketing platforms typically give you one or more records to add, then verify them for you.

What is DMARC?

DMARC (Domain-based Message Authentication, Reporting and Conformance) builds on SPF and DKIM. It checks that at least one of them passes and aligns with the domain in the visible From address, and it tells receiving servers what to do with emails that fail. According to DMARC.org, it also gives domain owners reports on who is sending email using their domain.

There are three DMARC policies:

  • p=none: monitor only. Failing emails are still delivered, but you receive reports.
  • p=quarantine: failing emails are sent to spam.
  • p=reject: failing emails are blocked.

A basic record looks like this: v=DMARC1; p=none; rua=mailto:[email protected]. Start with p=none, review the reports to find any legitimate services you have not yet authorised, then move to quarantine and eventually reject.

How do SPF, DKIM and DMARC work together?

Each standard answers a different question, and receiving servers combine the answers with other signals, such as your sender reputation and engagement, to decide where an email lands.

How DKIM SPF DMARC checks work when a receiving server processes an email
How a receiving server checks an incoming email.

Authentication gets you through the door, but it does not guarantee the inbox. Content, list quality and engagement still matter. Our guide on how to reduce spam signals for better email deliverability covers the other factors, and our email marketing best practice guide looks at the bigger picture.

How do you set up SPF, DKIM and DMARC?

Follow these steps in order:

  1. List every service that sends email for your domain. Include your email provider, marketing platform, CRM, helpdesk, website forms and invoicing tools.
  2. Create or update your SPF record. Use one record with an include for each service.
  3. Set up DKIM for each service. Add the records each platform provides and verify them.
  4. Publish a DMARC record at p=none. Add a reporting address so you receive the data.
  5. Review reports and fix gaps. Authorise any legitimate senders that are failing.
  6. Tighten your policy. Move to quarantine and then reject once you are confident.
  7. Test. Tools such as Mail Tester and Google Postmaster Tools help you check authentication and monitor spam rates.

AI assistants are useful for checking your records and decoding reports.

Copy and paste prompt: "Act as an email deliverability specialist. Here are my current DNS records for [domain]: [paste SPF, DKIM and DMARC records]. The services that send email for us are [list services]. Check whether the records are valid, identify any missing services, errors or risks such as multiple SPF records or too many DNS lookups, and give me a step-by-step plan to reach a DMARC policy of p=reject safely."

What else affects email deliverability?

Once authentication is in place, focus on list hygiene, relevant content, a clear unsubscribe process and consistent sending. Changes such as Apple Mail Privacy Protection have also made open rates less reliable, so watch clicks, conversions and spam complaints instead.

The Target Internet platform can help you build these skills, with interactive courses on email marketing, digital marketing and AI, skills benchmarking, accredited certification, over 400 episodes of the Digital Marketing Podcast, and monthly live masterclasses.

Frequently asked questions

Do I need SPF, DKIM and DMARC?

If you send marketing email, yes. Gmail and Yahoo require all three for anyone sending more than 5,000 messages a day to their users, and they improve deliverability and protect your brand at any volume.

What is the difference between SPF and DKIM?

SPF checks whether the sending server is authorised to send for your domain. DKIM checks a digital signature to confirm the email came from an authorised sender and was not changed in transit.

What DMARC policy should I use?

Start with p=none to monitor, then move to p=quarantine and p=reject once you are sure all legitimate senders are authenticated.

Can I have more than one SPF record?

No. A domain should have a single SPF record. Multiple records cause SPF to fail, so combine all services into one record.

Will authentication guarantee my emails reach the inbox?

No. Authentication is required, but inbox placement also depends on sender reputation, engagement, list quality and content.

If you want to build confidence across email and digital marketing, explore Target Internet membership options and discover how interactive courses, benchmarking tools, the podcast, accredited certification and live masterclasses can support you.

About the author

Daniel Rowles is lead trainer at Target Internet and the author of several books on digital marketing published by Kogan Page. He co-hosts The Digital Marketing Podcast and delivers digital marketing and AI training for organisations around the world. You can find out more on his Target Internet profile.

Bibliography

1. Google (2024). Email sender guidelines. Google Workspace Admin Help. https://support.google.com/a/answer/81126

2. Yahoo. Sender best practices. Yahoo Sender Hub. https://senders.yahooinc.com/best-practices/

3. Google. Set up DKIM. Google Workspace Admin Help. https://support.google.com/a/answer/174124

4. DMARC.org. Domain-based Message Authentication, Reporting and Conformance. https://dmarc.org/

Build a ü free personalised ¥ learning plan to see our course recommendations î for you

Free for 30 days

Build a å free personalised ¥ learning plan to see our course recommendations î for you

Free for 30 days