← Back to the blog
Security and privacy

SPF, DKIM and DMARC explained simply, and how to set them up on your domain

Group Crazy Pineapple · November 23, 2026 · 5 min read

SPF, DKIM and DMARC are three short settings on your domain that prove an email really came from you. SPF lists who may send for you, DKIM adds a signature, and DMARC tells receivers what to do when a message fails. Set up correctly, they protect your name from being faked and help your real emails reach the inbox.

The problem they solve

Email was designed with no real identity check. Anyone can type your address in the "From" field of a message. Criminals use this to send fake invoices that look like they come from you, and your customers have no easy way to tell.

Mailbox providers fight this by checking whether a message passes three tests tied to your domain, the part after the @. If your domain has no records, your genuine newsletters, quotes and booking confirmations are more likely to be treated with suspicion and filtered into spam. If it has them, you gain protection and a better reputation at the same time.

SPF: the list of allowed senders

SPF stands for Sender Policy Framework. It is a single line of text stored in your domain's DNS (the settings that tell the internet where your domain lives). It says which mail servers and services are allowed to send email for your domain.

Think of a guest list at the door. When a message arrives claiming to be from you, the receiving server checks the sending server against your list. If it is not on the list, the message fails SPF.

DKIM: the tamper-proof signature

DKIM stands for DomainKeys Identified Mail. Your email service signs each outgoing message with a private key it holds. You publish the matching public key in your DNS. The receiver uses it to check that the message really came from your domain and was not changed on the way.

It is like a wax seal on a letter: the seal is hard to fake and shows if the letter was opened. Each service that sends for you usually has its own DKIM key, and the provider gives you the exact record to add. You turn it on, publish the record and wait for it to be recognized, which can take a little while.

If a service says "authenticate your domain", it is asking you to add SPF and DKIM details. Do it, because otherwise it sends as itself and your messages are more likely to be treated as suspicious.

DMARC: the rule and the report

DMARC (Domain-based Message Authentication, Reporting and Conformance) ties the two together. It says: a message should pass SPF or DKIM, and the visible From address should match. Then it tells receivers what to do with messages that fail:

The reports are the valuable part at the start. They arrive as data files from big mailbox providers and show which servers are sending mail using your domain, including ones you forgot about and ones you do not control. Reading raw reports is unpleasant, so many small businesses use a free or low-cost report reader that turns them into a table.

A safe order to set them up

The mistake to avoid is jumping straight to a strict DMARC rule and blocking your own invoices. Go step by step.

  1. List every service that sends email as you. Email provider, newsletter tool, invoicing, booking, website forms, CRM, support desk. Ask staff, and check your accounting and booking tools.
  2. Publish one SPF record that covers all of them.
  3. Turn on DKIM in each service and add the records they give you.
  4. Add DMARC with the policy set to none and a mailbox for reports.
  5. Watch the reports for a few weeks. Fix any legitimate source that fails.
  6. Move to quarantine, then to reject once the legitimate mail passes reliably.
Illustrative example: A small clinic's reminders come from a booking tool, receipts come from the payment tool, and a newsletter goes through a third service. Reports show the booking tool failing DKIM because the owner never switched it on. She fixes it before tightening anything, and reminders stop landing in spam.

Where you actually make the change

These records live where your domain's DNS is managed: usually your domain registrar or your hosting provider. Whoever controls that login controls your email identity, so protect it with two-factor authentication and store it in a team password manager.

If you are not comfortable editing DNS, ask your web or IT provider, and have them show you the records afterwards so you can see what changed. A typo in DNS can break your website or your email, so keep a copy of the old settings before you edit. If your website is managed by a developer, include this in routine website maintenance.

How to check that it works

Send a test email from each service to a personal mailbox, open the message details (look for "show original" or "view headers") and look for pass results next to SPF, DKIM and DMARC. Free online checkers can also look up your records and flag common mistakes such as multiple SPF records.

Re-check whenever you add a new tool that sends email, change your email provider or move your website. If you use automated emails such as quote follow-ups and reminders, confirm that the sending service is authenticated for your domain before you switch them on. Otherwise, your automation may quietly deliver to spam.

What these records do not do

They stop others from sending mail that exactly spoofs your domain, but they do not stop lookalike domains (for example, one extra letter) or phishing sent from a free mailbox that merely uses your name. They also do not protect your inbox from incoming scams. Pair them with staff habits from our guide on spotting and reporting phishing. If you would like help auditing your setup, the consulting service begins with a free 15-minute diagnostic.

Frequently asked questions

Do I need SPF, DKIM and DMARC if I only send a few emails?

Yes. Even low volume benefits, since mailbox providers check these records, and criminals do not care how many emails you normally send. Setup is mostly a one-time task.

Can I have more than one SPF record?

No, a domain should have a single SPF record. Combine all allowed senders into that one record, because two separate records cause SPF to fail.

Will DMARC block my own emails?

Only if you set a strict policy before every legitimate sender passes. Start with a monitoring policy, read the reports and tighten gradually.

My emails go to spam. Will these records fix it?

They remove one common cause, and are expected by major mailbox providers. Content, sending volume and your reputation also play a role, so they are necessary but not always sufficient.

Who should set this up?

Whoever manages your domain's DNS, usually your web provider, IT support or you, if comfortable. Make sure two-factor authentication protects that account and keep a copy of the settings before editing.

Emails landing in spam, or worried about a spoofed domain?

Book a free 15-minute diagnostic and we will review your sending tools and the records your domain needs.

Book a free diagnostic