Digitalization

SPF, DKIM and DMARC Explained in Plain Words

What the three email records do, how they work together, the rules that make them fail, and a safe order to set them up so your messages reach the inbox.

KIMISUITE 4 min read

SPF, DKIM and DMARC Explained in Plain Words

SPF, DKIM and DMARC are three DNS records that prove your emails really come from your business. SPF lists the servers allowed to send mail for your domain, DKIM adds a digital signature that receivers check against a key in your DNS, and DMARC tells receivers what to do when a message fails those checks and sends you reports about it. Without them, your emails are more likely to land in spam, and anyone can send messages that look as if they came from you.

SPF, DKIM and DMARC Explained in Plain Words

Why this matters for every business

Email was designed without any proof of who the sender is. The address in the From line can be typed by anyone. These three standards close that gap, and the large mailbox providers now rely on them.

According to Google's email sender guidelines, as of November 2026, everyone who sends to personal Gmail accounts must set up at least SPF or DKIM. Senders of more than 5,000 messages a day to Gmail must set up SPF, DKIM and DMARC, the domain in the From address must match the SPF or DKIM domain, and their marketing mail must offer one-click unsubscribe. Yahoo's sender requirements for bulk senders are very similar. Both providers ask every sender to keep the spam rate below 0.3 percent.

SPF: who may send for your domain

SPF (Sender Policy Framework, RFC 7208) is a TXT record on your domain that lists the servers allowed to send mail for it. A simple record looks like this:

v=spf1 include:_spf.yourmailprovider.example ~all

  • v=spf1 marks it as an SPF record.
  • include: adds the servers of a provider, such as your mailbox provider or newsletter tool.
  • ~all at the end says that other servers are probably not allowed. -all is stricter.

Three rules from the standard cause most problems:

  1. One SPF record per domain. The standard does not allow multiple SPF records for the same name. When you add a new tool, add it to the existing record.
  2. At most 10 lookups. Each include, a, mx and similar term triggers DNS lookups, and the standard limits them to 10. Too many tools in one record make SPF fail for everyone.
  3. SPF checks the technical sender, the address used between mail servers, not the From line your customer sees. That is why SPF alone does not stop spoofing.

Domain Hub

Your domains, DNS and business e-mail in one place

Free

DKIM: a signature on every message

DKIM (DomainKeys Identified Mail, RFC 6376) lets your mail server sign each outgoing message. The receiver looks up the matching public key in your DNS, under a name like selector._domainkey.yourdomain.com, and checks the signature. If the message was changed on the way or did not come from a server holding your private key, the check fails.

Your email provider creates the key pair and tells you which TXT record to add. Google's guidelines require a DKIM key of at least 1024 bits for mail to personal Gmail accounts and recommend 2048 bits. A 2048-bit key is long; some DNS providers cannot store it in a single TXT record, so check what yours supports.

DMARC: the policy and the reports

DMARC (Domain-based Message Authentication, Reporting and Conformance) ties SPF and DKIM to the From address your customers see. It is a TXT record at _dmarc.yourdomain.com. The current specification is RFC 9989, published in May 2026, which replaces the original RFC 7489. A starting record looks like this:

v=DMARC1; p=none; rua=mailto:[email protected]

The p value is your policy:

Policy What receivers do with failing mail
p=none Deliver as usual and only report. Use this to start.
p=quarantine Treat it as suspicious, usually the spam folder
p=reject Refuse it

A message passes DMARC when SPF or DKIM passes and the domain they checked matches the From domain. The reports at the rua address show which servers send mail in your name, including the ones you forgot about.

Setting up all three in the right order

  1. List every service that sends email for your domain: mailboxes, newsletter tool, booking system, invoicing, website forms.
  2. Set up SPF with all of them in one record.
  3. Turn on DKIM in each service that offers it and add the records it gives you.
  4. Publish DMARC with p=none and a report address.
  5. Read the reports for a few weeks. Fix any legitimate sender that fails.
  6. Move to p=quarantine, then p=reject once all legitimate mail passes.

Yahoo's requirements for bulk senders accept p=none as the minimum, so step 4 already meets them. Moving further protects your name against people who send fake invoices in it.

These records are one part of the work. Our guide to business email with your own domain covers the rest of the setup, from planning addresses to moving old messages.

Where Domain Hub fits

When you create mailboxes in Domain Hub for a domain registered there, the app sets the MX, SPF, DKIM and DMARC records for you. For a domain at another provider, it shows the four records to copy and checks each one live as "Correct" or "Missing or different". The DNS editor also has quick setup buttons that add MX and SPF for Google Workspace or Microsoft 365. One limit to know: KIMISUITE DNS stores TXT values of up to 254 characters, so a DKIM key from another provider has to be 1024-bit; a 2048-bit key does not fit. Every DNS change is saved in a history you can restore. Set up your records in Domain Hub and see what is included in team email accounts.

FAQ

Do I need SPF, DKIM and DMARC?

If you send email from your own domain, yes. Gmail requires at least SPF or DKIM from every sender, and all three from senders of more than 5,000 messages a day.

What is the difference between SPF and DKIM?

SPF lists which servers may send for your domain. DKIM signs each message so the receiver can check that it came from you and was not changed.

Can I have more than one SPF record?

No. The SPF standard does not allow more than one SPF record per name. Combine all senders into one record.

Which DMARC policy should I start with?

Start with p=none and a report address, read the reports, and tighten the policy to quarantine and then reject once all your legitimate mail passes.

Why do my emails still go to spam with SPF and DKIM?

Authentication is only one signal. Content, sending volume, complaint rates and a missing DMARC record also count, and Google asks senders to keep their spam rate below 0.3 percent.

Domain Hub

Your domains, DNS and business e-mail in one place

Free

Related articles

Digitalization

DNS Records Explained: A, CNAME, MX and TXT

What each DNS record does in plain words, which ones a business really needs, why changes take time, and the five mistakes that take websites and email offline.

5 min read

View all posts