A customer says your quote never arrived. It’s in their spam folder. It happened last month too. Nine times out of ten, the cause is three DNS records most businesses have never heard of: SPF, DKIM and DMARC.
I fix these regularly for small businesses, across Cloudflare, Hostinger, cPanel and Google Cloud DNS. Here’s what they do, in plain English, and how to fix them without breaking your email.
The problem they solve
Anyone can send an email that claims to be from your domain. Email was designed in a more trusting era. Receiving servers like Gmail and Outlook now check whether a message really came from you, and if they can’t tell, your email goes to spam or gets rejected.
SPF, DKIM and DMARC are how you prove it.
SPF: who is allowed to send
SPF (Sender Policy Framework) is a DNS record listing the servers allowed to send email for your domain. Google Workspace, your website’s contact form, your invoicing software, your newsletter tool: if they send as @yourcompany.com, they need to be in the SPF record.
Common mistakes:
- No SPF record at all
- Two SPF records. You can only have one. Two is treated as an error.
- A tool missing from the record, usually the invoicing or CRM system that sends quotes
- Too many lookups. SPF allows at most 10 DNS lookups; chaining lots of
include:entries can break it
DKIM: a signature on every email
DKIM (DomainKeys Identified Mail) adds a cryptographic signature to each email. The receiving server checks it against a public key published in your DNS. If the email was altered, or didn’t come from a system holding your key, the check fails.
Each sending service has its own DKIM key. Google Workspace has one; your newsletter tool has another. Each needs its DNS record published.
DMARC: the instructions, and the reports
DMARC tells receivers what to do when an email fails SPF and DKIM checks, and it sends you reports showing who is sending email as your domain.
It has three policy levels:
p=none: just report, don’t change delivery. Start here.p=quarantine: send failures to spamp=reject: refuse failures outright
Without DMARC, anyone can spoof your domain and receivers have no instructions. With DMARC at reject, spoofed emails pretending to be your accounts team get blocked.
Do Gmail and Yahoo require this now?
Yes, for bulk senders. Since February 2024, Google and Yahoo require anyone sending around 5,000 or more messages a day to their users to have SPF, DKIM and a DMARC record (Google’s sender guidelines). Smaller senders still need SPF or DKIM to avoid spam folders, so setting up all three is the safe default for every business.
A safe order to fix it
Changing DNS carelessly can stop email for everyone. This is the order I use:
- Record the current DNS. Screenshot or export every record before touching anything.
- List every sender. Ask finance, sales and marketing which tools send email as the company. There’s always one nobody remembers.
- Fix SPF. One record, every legitimate sender included, under 10 lookups.
- Turn on DKIM for each sender, and publish their keys.
- Add DMARC at
p=nonewith a reporting address. - Read the reports for a few weeks. They’ll reveal any sender you missed.
- Move to
quarantine, thenreject, once every legitimate sender passes.
Signs you have a problem
- Customers say your emails went to spam
- Your invoices or quotes “never arrived”
- You get bounce messages for emails you never sent (someone is spoofing you)
- A free checker shows “no DMARC record” for your domain
When it’s more than DNS
Sometimes the records are fine and email still lands in spam: a sending IP with a bad reputation, a newsletter list full of old addresses, or content that looks like spam. Authentication is the foundation, not the whole house. Fix it first, then look at the rest.
If your company emails are going to spam, my DNS and email deliverability service covers the audit, the fixes and Google Workspace setup.