Your Emails Land in Spam: SPF, DKIM and DMARC Explained

When your quotes end up in spam, the message is rarely the problem: your domain is failing the identity check. Here is how to fix it.

Albert Acuña
Albert Acuña Founder, Hosting Coffe

Updated · 3 min read

Business email authenticated with SPF, DKIM and DMARC

You send an important quote from your business email and, two days later, the client says it never arrived. Or worse: it was sitting in the spam folder. When this happens with your own domain, the problem is almost never the message. The receiving server simply cannot confirm that it really came from you.

What SPF, DKIM and DMARC are, without the jargon

They are three records published in your domain's DNS that, together, tell the receiving mailbox "this email is legitimate."

  • SPF is the list of servers allowed to send email on behalf of your domain. If a message comes from a server that is not on the list, the receiver becomes suspicious.
  • DKIM is a digital signature that travels inside every message. It lets the receiver check that the content was not altered and that it was signed by whoever controls the domain.
  • DMARC is the rule that decides what happens when SPF or DKIM fail (do nothing, send it to spam or reject it) and sends you reports so you can see who is using your domain.

Why it matters for a business

Large email providers increasingly expect senders to prove who they are, and an unauthenticated domain is a favorite of people who impersonate brands. Getting all three records in order protects two things at once: your messages reaching the inbox, and nobody sending fake emails pretending to be your company.

How to get them in order, in four steps

  1. See what you have today. Look up your domain's TXT records with any DNS lookup tool. If one already starts with v=spf1, do not create another.
  2. One SPF only. A domain should have a single SPF record. If several services send email with your domain (your email provider, a web form, a newsletter tool), all of them go inside that same record.
  3. Turn on DKIM with your email provider. Your provider gives you a public key that you publish as a record in your DNS. The steps differ by service, so follow the instructions for the one you use.
  4. Publish DMARC in monitoring mode. Start with the p=none policy and an address to receive reports. Once you confirm that everything legitimate passes, move up to quarantine and, later, to reject.

From your account you can manage the DNS records of your domains. If you need to understand each record type, start with what DNS is and how to set it up.

The usual objection: "doesn't my provider already do this for me?"

Some services publish part of these records and others ask you to do it by hand. DMARC is also your decision (what to do when something fails), so you normally have to publish it yourself. That is why a check is worthwhile even if everything seems to work: confirm that all three exist and that they match the services that really send email with your domain.

If you are already landing in spam

Change one thing at a time and wait for DNS to update, which can take from minutes to a few hours, before testing again. Send a message to an account of yours at a different provider and open the message headers: they show whether SPF, DKIM and DMARC passed. If you are just creating your email, the guide on how to create a business email address walks you through it.

Frequently asked questions

Common questions

What happens if I do not set up SPF, DKIM or DMARC?

Your email keeps working, but it is more likely to land in spam or be rejected, and it is easier for others to impersonate your domain.

How long does a change take to apply?

It depends on the record's cache time (TTL). It is usually visible within a few minutes to several hours.

Can I enable DMARC rejection from day one?

It is not recommended. Start in monitoring mode so you do not block legitimate email that is not authenticated yet.

Do I need this if I send very little email?

Yes. Impersonation does not depend on volume, and an authenticated domain earns more trust from the people who receive your messages.

Keep reading

More useful guides

Business reviewing accounts and conditions for email included in a hosting plan
Business email

Email Included With Hosting: What to Check First

“Email included” does not answer whether the service fits your team. Check capacity, daily use and future requirements before relying on it.

· 1 min read