Plain-English guide
Setting up SPF, DKIM and DMARC for your domain
Anyone can send an email that claims to come from your business. The address on the front of an envelope is just writing, and email works much the same way unless you take steps to stop it. Three records on your domain, known as SPF, DKIM and DMARC, are those steps. They sound technical, and the setup is, but what they do is simple enough to explain over a brew.
By Matt Rooney · 17/11/2026 · T19 Digital · 5 min read
The short version
- SPF lists the services allowed to send email for your domain.
- DKIM signs your messages; DMARC says what to do with forgeries.
- Start DMARC on reporting, then tighten once genuine mail passes cleanly.
Why email needs proof of where it came from
Email was designed when everyone on the network more or less trusted each other. The from line on a message is whatever the sender types. Without extra checks, a receiving mail server has no way to know whether a message saying it is from your business really left your systems or came from someone in another country pretending to be you.
SPF, DKIM and DMARC add those checks. They are published as records on your domain, the same place that tells the world where your website lives. Big mail providers look them up when a message arrives claiming to be from you, and use what they find to decide whether to deliver it, file it as spam or refuse it.
For a small business this is not abstract. Your customers trust email that looks like it came from you, and they act on it: they pay invoices, click links and reply with details. Those three records are what let the big mail providers tell the difference on their behalf.
SPF, the list of who may send for you
SPF is a published list of the services allowed to send email using your domain. Your office mailbox provider will be on it, and so might your accounting software if it emails invoices, your website's contact form and any newsletter tool you use. A message from anywhere not on the list fails the check. The skill lies in getting the list complete, because a forgotten sender means genuine email starts failing too.
This is where many setups go wrong. Someone adds SPF for the main mailbox, forgets the invoicing software, and months later customers say invoices are landing in junk. Before we write the record, we go through with you every system that sends email with your name on it, and check them against what actually appears in the mail.
Your website's contact form deserves a special mention. Many forms send their notifications as if they came from your own address, which makes the website itself one of your senders. If it is left off the list, enquiries can vanish into spam on their way to you, and you would never know a customer had tried.
DKIM, a seal that cannot be faked
DKIM works like a wax seal. Your sending service signs each outgoing message with a private key and publishes the matching public key on your domain. The receiving server checks the seal against the key. If the message was altered on the way, or never came from your service in the first place, the seal does not match. Each sending service usually needs its own DKIM setup.
Setting it up means switching it on in each service that sends for you and adding the records they provide to your domain. It is fiddly rather than difficult, which is exactly why it so often never gets done. Once it is in, it runs by itself with nothing for you to manage from one day to the next.
You will not notice DKIM once it works. What you might notice is fewer complaints about mail landing in junk, because a properly signed message is easier for big providers to trust. That is a side benefit rather than the purpose, but owners tend to appreciate it.
DMARC, the instruction for when checks fail
SPF and DKIM let a receiving server spot a forgery. DMARC tells it what to do about one, and asks it to send you reports. The policy can say do nothing and just report, put failing mail in spam, or reject it outright. It also ties the checks to the address your customer actually sees, which closes a gap the other two leave open on their own.
The careful approach starts with a reporting-only policy. The reports show every source sending mail as your domain, legitimate or not, and anything genuine that is failing gets fixed. Only then does the policy tighten, first towards spam and eventually to reject. We set up all three records during the fix and start DMARC at a level that cannot harm genuine mail, then explain when it is safe to tighten.
Someone does need to read those reports, at least for the first while. They arrive as data files rather than readable letters, and the useful part is spotting a legitimate sender that is failing, such as a booking tool someone signed up to without mentioning it. That is far easier to catch in a report than in a customer's complaint.
Picture a roofing contractor in Oldham
Say a roofing contractor in Oldham sends quotes from a shared office mailbox, invoices through cloud accounting software, and gets website enquiries forwarded from a contact form. The domain has an SPF record someone added years ago listing only the mailbox, no DKIM anywhere and no DMARC. The free check marks the email protection as missing, and a customer has already asked about an odd message.
In that example, the fix lists all three senders, rewrites SPF to include each of them, switches on DKIM in the mailbox and the accounting software, and publishes a DMARC record set to report. The owner sends a test quote and a test invoice; both arrive cleanly. The re-scan shows the records in place, and the report explains when the DMARC policy can safely be tightened.
The customer's question about the odd email is worth a moment in that example. The records cannot recall a message that was already sent, and they do not stop a forger trying. What they do is give the big mail providers a reliable way to spot the next attempt and keep it away from the roofer's customers.
When to leave it to someone else, and the next step
If your email is run by an IT provider who already manages these records, ask them before anyone else touches the domain, since two people editing the same records is how mail breaks. If your business never sends email from its domain at all, the setup is simpler but still worth doing, because an unprotected domain is an open invitation to forgers.
Run the free security check and it will show whether email protection is among your findings. Setting up SPF, DKIM and DMARC is included in the Security fix, alongside the website items, from £295 + VAT with the price fixed before we begin and the work typically wrapped up in a week. If you would like to understand your own setup first, we can talk it through in a free half hour before you decide anything.
Questions we get on this
Do SPF, DKIM and DMARC stop all spam?
No. They protect your domain from being forged, so other people's inboxes can spot fake mail claiming to be you. They do not filter the spam you receive, which is a job for your own mail provider's filters.
Will setting these up stop my emails being delivered?
Done carelessly, it can. A sender left off SPF, or a DMARC policy tightened too soon, can push genuine mail into spam. That is why every sending service is listed first and DMARC starts by reporting rather than rejecting.
Where do these records live?
In the DNS settings for your domain, usually managed at the company where you registered it or with your hosting provider. We need access there to add them. If nobody knows where your domain is managed, finding that out is the first step.
How do I know if my domain already has them?
The free security check looks at your public DNS records and includes email spoofing protection in its findings. If something is missing or misconfigured, it shows up in your score and we go through it with you privately.
Three things like this, once a month
What actually changed for small businesses in tech, what to do about it, and the guides we publish. No pitch, and you can leave with one click.
Get your score first
Run the free security check, then decide. The Security fix is from £295 + VAT, fixed price, usually done within a week.