Blog

SPF, DKIM and DMARC: why your email ends up in spam

Do your quotes, invoices or newsletters end up in spam? Then the cause is rarely the text. It is usually three settings of your domain name: SPF, DKIM and DMARC. They tell a receiving server that a message really comes from you. Since 2024 Gmail and Yahoo require them to be right, and since 2025 Microsoft asks the same for Outlook and Hotmail addresses.

A mailbox with the SPF, DKIM and DMARC checks

What do SPF, DKIM and DMARC do?

Every mail server that receives a message from you runs three checks. Together they decide whether your email reaches the inbox, the spam folder, or nowhere at all.

  • SPF (Sender Policy Framework) is a list in your domain's DNS of the servers allowed to send email for you. Does your accounting software or web shop also send from your address? Then its server belongs on the list too.
  • DKIM (DomainKeys Identified Mail) is a digital signature on every message. With a key in your DNS, the receiver checks that the message really comes from your domain and was not changed on the way.
  • DMARC is the rule above both. It tells a receiver what to do with email that fails SPF or DKIM: nothing, put it in spam, or reject it. And it sends you reports on who is sending email in your domain's name.

What do Gmail, Yahoo and Microsoft require?

For every sender, Gmail and Yahoo require at least SPF or DKIM, valid DNS records and few spam complaints (less than 0.3 percent of your email).

If you send a lot, more than 5,000 messages a day, they require more:

  • both SPF and DKIM;
  • a DMARC record (at least p=none), where the domain in your From address matches the domain of SPF or DKIM;
  • for newsletters and other bulk email: one-click unsubscribe.

Since May 2025 Microsoft asks the same of senders who send more than 5,000 messages a day to Outlook.com, Hotmail and Live addresses.

Do you send less? Then the strictest rules do not apply to you, but mail servers still look at these checks. Email without SPF, DKIM and DMARC is more likely to be treated as spam. And without DMARC anyone can send email with your domain as the sender, for example a fake invoice to your customers.

Where it often goes wrong

  1. Two SPF records. A domain may have only one SPF record. With two, SPF is invalid.
  2. A forgotten sender. Your newsletter service, accounting software, web shop or CRM sends email in your domain's name, but is not in SPF and adds no DKIM signature.
  3. Too many lookups. An SPF record may refer to other records at most ten times. If you use many services, you pass that limit quickly, and then SPF fails.
  4. DMARC on p=none and never looked at again. With p=none nothing happens to fake email. It is meant as a start, to collect reports first.
  5. A contact form that sends "from" the visitor. If the form on your website sends a message with the visitor's address as the sender, it fails SPF and DMARC. Better: send from your own domain and put the visitor's address in "Reply-To".

How to check your own domain

  • The email test of Internet.nl. Internet.nl is an initiative of the internet community and the Dutch government, and it works for any domain. Enter your email address or domain name and you see, among other things, whether DMARC, DKIM and SPF are in order.
  • Gmail. Send an email to a Gmail address, open it and choose "Show original". It says "PASS" or "FAIL" for SPF, DKIM and DMARC.
  • A list of your senders. Write down everything that sends email for your domain: your email provider (such as Microsoft 365 or Google Workspace), your newsletter, your accounting, your website and your CRM.

Set up right in four steps

  1. List everything that sends email in your domain's name.
  2. Publish one SPF record with all those services, ending in ~all or -all.
  3. Turn on DKIM for every service. Most give you a key or a few records to add to your DNS.
  4. Start DMARC on p=none and have the reports sent to you. Watch them for a few weeks, fix what fails, then move to p=quarantine and after that p=reject.

Rather not do it yourself? With email deliverability we set up SPF, DKIM and DMARC for you and keep an eye on the reports.

Frequently asked questions

Do I need DMARC if I send little email?

Yes, it is recommended. The strictest requirements apply to large senders, but every mail server looks at these checks. And with p=quarantine or p=reject no one can send email in your domain's name unpunished any more.

Will my recipients notice anything?

No. They only notice that your email arrives.

What if I move to another email provider?

Then SPF and DKIM have to change with it, or your email lands in spam after the move. That is why we always check these records in an email migration.

Does this work with Microsoft 365 too?

Yes. In Microsoft 365 you turn on DKIM per domain; SPF and DMARC go in your domain's DNS. Not using business email with your own domain yet? Then this is the moment to set it up right from the start.

Start a project

Let's talk about your project.

Tell us briefly what you need. You will get a clear proposal from us.

Plan an online meeting

By appointment, also outside office hours

Office in the Netherlands

Monday to Saturday · 8:00 to 18:00

Start a project

Request a quote.

Tell us briefly what you need. You will get a clear proposal from us.

We read your message

And get back to you soon, by email or phone.

Getting to know you

A short talk about what you need.

A clear proposal

Scope, timeline and price, in writing.

Prefer email? [email protected]

Fields marked with * are required.

Cookie settings

Choose which cookies you allow. Necessary cookies are always on. Privacy policy

  • NecessaryAlways on

    Needed for the site to work, for example to remember your cookie choice. Always on.

  • Remember choices you make, such as your language or region, to make the site more personal.