Fix SPF, DKIM, and DMARC Failures Together
Authentication issues are usually linked. If SPF fails, DKIM is missing, and DMARC warns at the same time, treat them as one sender-identity problem instead of three separate bugs.
Start with the From domain
- Confirm the visible
Fromdomain is the domain you actually intend to authenticate. - Check whether the return-path domain belongs to the same organization.
- Make sure your ESP or SMTP relay is allowed to send for that domain.
Fix SPF first
- Publish one SPF TXT record at the envelope-from domain.
- Merge duplicate SPF records into a single
v=spf1string. - Remove outdated providers so you stay under the 10-lookup limit.
Then fix DKIM
- Enable DKIM signing in the provider you are sending from.
- Publish the selector records exactly as provided.
- Send a fresh message and verify the report shows
dkim=pass.
Finish with DMARC
- Publish
_dmarc.yourdomain.comas TXT. - Start with
p=nonewhile validating traffic. - Add reporting addresses so you can see alignment problems before tightening policy.
Common failure patterns
- SPF passes but DMARC still fails: the return-path domain is not aligned with the visible From domain.
- DKIM exists but fails: the selector record is wrong, missing, or cached.
- Everything fails at once: the message is being sent from a different provider than the DNS records were built for.
What to resend after changes
- One plain-text message from the same provider that failed before.
- The exact From domain you plan to use in production.
- No forwarding or aliasing during the test.
Deliverlens report reading order
- SPF result
- DKIM result
- DMARC result
- Received chain and HELO or PTR warnings
If the three core authentication checks all pass, move on to content, links, and reputation. Until then, those secondary issues are not the real bottleneck.