Guide · Email and SMS marketing
SPF, DKIM and DMARC for small businesses: what each one does and how to check yours
By The Microployed teamUpdated 4 min read
The short answer
SPF lists the servers allowed to send email for your domain, DKIM signs each message so receivers can tell it came from you and wasn't altered, and DMARC tells receivers what to do when those checks fail and sends you reports. To check yours, send a test email to a Gmail account, open Show original and confirm all three pass, then fix anything missing, starting with a single SPF record.
The steps, about 30 minutes
Step 1: Send yourself a test email
From your business address, send a short email to a personal Gmail account you can open. Repeat from each tool that sends as your domain, such as your newsletter or store platform.
Step 2: Open the full header
In Gmail on a computer, open the email, click the More icon next to Reply and choose Show original.
Step 3: Read the three results
Find the SPF, DKIM and DMARC results in the header and note any that fail or are missing. If the header is hard to read, paste it into the Messageheader tool in Google Admin Toolbox.
Step 4: Check your DNS records
Use Check MX in Google Admin Toolbox or your DNS provider's records page to confirm you have one TXT record starting with v=spf1, a DKIM record for each sending service and a TXT record at _dmarc.
Step 5: Fix SPF first
Make sure every service that sends as your domain appears in a single SPF record. Merge any duplicates instead of adding a second v=spf1 record.
Step 6: Turn on DKIM in each sending tool
In Google Workspace this is Apps, Google Workspace, Gmail, then Authenticate email; other tools have their own domain authentication page. Add the record they give you, wait up to 48 hours, then start authentication.
Step 7: Add DMARC in monitoring mode
Publish v=DMARC1; p=none; rua= followed by an address you read, then review the reports for at least a week before moving to quarantine.
What SPF, DKIM and DMARC actually do
SPF, DKIM and DMARC are three DNS records that let a receiving mail server confirm that an email claiming to come from your domain really did. Each one answers a different question, and they protect you best when all three are in place.
- SPF lists the servers allowed to send mail for your domain. It's a TXT record that always starts with
v=spf1, followed by aninclude:for each service that sends for you. Google Workspace's version isv=spf1 include:_spf.google.com ~all. - DKIM adds a digital signature to every message. Your email provider keeps a private key and you publish the matching public key in a TXT record at a name like
google._domainkey.yourdomain.com, so the receiving server can check the signature. - DMARC tells receiving servers what to do with mail that fails those checks and where to send reports about it. It lives at
_dmarc.yourdomain.comand a starter record looks likev=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com.
The part most explanations skip is alignment. DMARC only passes when the domain in the visible From address matches the domain that passed SPF or DKIM, so a newsletter tool can pass SPF on its own domain and still fail DMARC for yours. That's why mail from a third-party app can land in spam even though someone told you SPF was fine.
Do small businesses actually need all three?
Yes, because Gmail already requires part of this from every sender and all of it from bigger ones. Google's sender guidelines ask every sender to set up SPF or DKIM, use a DKIM key of at least 1024 bits when sending to personal Gmail accounts, and keep the spam rate shown in Postmaster Tools below 0.3%. Anyone sending more than 5,000 messages a day to Gmail accounts also needs SPF, DKIM and a DMARC record, though that DMARC policy can be set to none.
Even if you send far less than that, setting up all three is the most reliable way to keep invoices, order confirmations and replies out of spam, and it makes it much harder for someone to send convincing fake mail as your business.
Why SPF breaks so often
SPF usually fails for one of three reasons, and all of them come from adding services over the years without cleaning up. The first is having two SPF records. The SPF standard says a domain must not publish more than one, and a receiver that finds two returns a permanent error, which is the same as having none. When a new tool asks you to "add an SPF record," you add its include: to your existing record instead.
The second is the lookup limit. SPF evaluation stops after 10 DNS lookups, and each include: can trigger lookups of its own, so a record that names six or seven services can quietly break. If you've outgrown it, remove services you no longer use before reaching for anything more complicated.
The third is a sender that isn't listed at all, such as a help desk, booking tool or website form that sends as your domain. Google recommends ending the record with ~all, which asks receivers to treat unlisted senders as suspicious rather than reject them outright, and that's the safer choice while you're still finding every service.
What to do when DKIM fails
DKIM fails most often because one of your sending tools was never set up to sign as your domain. Google Workspace, your store platform and your email marketing tool each need their own DKIM record, and each one has its own domain authentication page that gives you the exact record to add.
If the record exists and DKIM still fails, check three things. The value has to be copied exactly, with no missing characters, and the name has to be the selector plus ._domainkey. Google says authentication can take up to 48 hours to start working after you add the record, so give it time before changing anything. Google also recommends a 2048-bit key if your DNS provider supports it, and 1024 bits only when it doesn't. Finally, if the message passed through a server that changed it after signing, the signature breaks, and Google's advice is to ask that server's administrator not to modify messages.
How to roll out DMARC without losing mail
The safe way to add DMARC is to start in monitoring mode and tighten it in stages. Google recommends setting up SPF and DKIM at least 48 hours before DMARC, then publishing a p=none record for about a week while you review the reports that arrive at your rua address. Those reports show which servers are sending as your domain and whether they pass, which is how you find the forgotten booking tool before it causes trouble.
Once the reports look clean for at least a week, Google suggests moving to p=quarantine with a small pct value, about 10% for a small organization, and raising it gradually to 100%. Quarantined mail goes to spam, where recipients can still find it. p=reject is optional and blocks failing mail completely, so only use it once you're confident every legitimate sender passes.
When to hand this off
If your records are tangled, you send from several tools, or the reports are confusing, this is a good small job to hand to someone who does it often. Our SPF, DKIM and DMARC job template lists what to gather and how to check the work. If the trouble started with website mail, the contact form diagnosis covers the other common causes.
Short on time? Hand this one off.
Post it as a small job and a pro who knows Google Workspace picks it up, with the price set before anyone starts. Businesses in the beta get credits to try it.
Post this as a job on MicroployedThe next level up
Once DMARC is reporting, the next step is moving to an enforced policy
A p=none record tells you who is sending as your domain, but it doesn't stop anyone. Reviewing a week or two of reports, fixing the senders that fail and stepping up to quarantine and then reject is what actually blocks spoofed mail. It also gives you a clean list of every service that sends for you, which makes the next tool you add far easier to set up.
Post this as a jobSources
Checked against these pages on .
- Email sender guidelines (Gmail Help) (opens in a new tab)
- Set up SPF (Google Workspace Admin Help) (opens in a new tab)
- Set up DKIM (Google Workspace Admin Help) (opens in a new tab)
- Recommended DMARC rollout (Google Workspace Admin Help) (opens in a new tab)
- Troubleshoot DMARC issues (Google Workspace Admin Help) (opens in a new tab)
- Trace an email with its full headers (Gmail Help) (opens in a new tab)
- RFC 7208: Sender Policy Framework (SPF) (opens in a new tab)