SPF/DKIM/DMARC: 10 Most Common Errors + How to Test
E-mails go to spam? The most common reasons: SPF loopups too much, DKIM signature missing, DMARC incorrect. Here are 10 mistakes and how to test.
Symptoms: how do you know that authentication doesn't work
- Gmail/Outlook displays a warning: "This message seems suspicious"
- Messages go to spam: The recipient does not see messages
- Bounce Messages: "550 SPF check failed" or equivalent
- DMARC reports show fail: Messages do not pass checks
The 10 most common mistakes
SPF errors
- Too many DNS loopers: SPF allows max 10 loop cups. Each "include:" is one. Solution: connect or use SPF flatting.
- Wrong Include: Newsletter service or CRM is missing. Solution: add the include line provided by the provider.
- Syntax Error: Space in the wrong place, missing "v=spf1". Solution: validate the record with a tool.
- Multiple SPF records: Only one SPF allowed per domain. Solution: merge into a single record.
DKIM Errors
- DKIM signature missing: The service does not sign messages. Solution: enable DKIM in the broadcast service.
- Wrong Selector: The DNS record and the broadcast service selector do not match. Solution: check the selector at both ends.
- Key expired or changed: Old key in use. Solution: Update the DNS record with a new key.
DMARC Errors
- DMARC is missing entirely: No protection from spoofing. Solution: add a DMARC record (start p=none).
- Too fast reject: Legitimate messages are rejected. Solution: use p=none and quarantine first.
- Alignment problem: From-domain does not match SPF/DKIM domain. Solution: check the broadcast service settings.
Testing: what you check
TXT records (DNS)
dig TXT _dmarc.yritys.fi +short
dig TXT selector._domainkey.yritys.fi +short
Email Headers
Open the received email → Show original message → Search:
Authentication-Results:- show SPF, DKIM, DMARC pass/failReceived-SPF:- SPF check resultDKIM-Signature:- DKIM signature
Online tools
- MXToolbox SPF Check
- Mail-tester.com - send test message
- Dmarcian Inspector
Send example mail with header
→ We'll tell you what's wrong with authentication and how to fix it.
Send header3 general situations
Mailchimp, ActiveCampaign
Add the service SPF include + set DKIM custom domain. Otherwise, the messages appear to be coming from the provider, not from you.
CRM (HubSpot, Pipedrive)
Same as newsletter: SPF + DKIM. Automatic messages sent by CRM need authentication.
Online store (order confirmations)
The e-commerce platform (Shopify, WooCommerce) sends messages. Make sure that the platform IP is in SPF and DKIM is enabled.
Correcting order: where to start
- SPF first: Check lookup count and add missing senders
- DKIM next: Enable on all broadcast services
- DMARC finally: Start with p=none, follow reports, raise gradually
Important: Don't change everything at once. Make one change, wait 24-48 h, test.
Read also
Who is this service for?
- Companies whose emails go to spam
- IT equivalents debugging authentication issues
- Marketing whose newsletters don't get through
Typical delivery with Datastorm
- Analysis: Current DNS records and headers
- Corrections: SPF, DKIM, DMARC into shape
- Testing: Make sure messages get across
What would you like to improve in your business?
Learn about the content of the related service and Tell us about your business need.