Skip to content
ferkesh.HOSTING

How to Check SPF, DKIM and DMARC in an Email Header

DMARC evaluates whether the visible From domain aligns with a passing SPF or DKIM identity. Inbox placement is a separate result.

Start with one permitted test message

Send an ordinary test message through your real sending service to a mailbox you control. Save the time and use the inbox's Show original, View source or equivalent action. Record the Authentication-Results header that your receiving provider added. Full headers can contain private addresses and routing details, so redact them before sharing an example publicly.

Compare the identities

SPF checks whether a sending server is allowed to send for the envelope domain used by the message, which may be different from the visible From address. DKIM checks the message signature associated with a signing domain, commonly shown as header.d in the results. DMARC checks whether at least one passing mechanism aligns with the visible From domain under the domain's alignment settings.

Suppose the message shows From as example.com, SPF passes for mail.vendor.example and DKIM passes with a signing domain of example.com. The DKIM identity can supply the alignment needed for DMARC. If both mechanisms pass only for unrelated domains, DMARC can still fail because neither authenticates the visible From identity.

Decide what to check next

If SPF fails, compare the sender service's exact DNS requirements with the domain in the result. If DKIM fails, check the selector and public key configuration at the service that sent the message. If DMARC fails despite passing results, investigate alignment before changing the DMARC policy.

Authentication can pass and a message can still land in spam. Note whether the receiving server accepted the message or rejected it, and save any rejection code. Compare normal messages sent through the same service to inboxes you control. Investigate sender reputation, recipient complaints, expected content and provider requirements without sending artificial traffic.

Official references

Ferkesh Hosting. Last reviewed .

Continue with these guides

If authentication passes and the receiving server still flags the sending IP, check PTR and forward DNS for a mail sender before changing the domain’s mail policy.

When Gmail rejects a message with that specific response, investigate Gmail’s 550 5.7.26 rejection using the rejection detail and identity evidence.

هل كان هذا مفيدًا؟

شكرًا على ملاحظاتك!

هل ما زلت بحاجة إلى مساعدة؟

فريق الدعم متاح على مدار الساعة لمساعدتك في كل ما لم تجده في قاعدة المعرفة.