You ask in plain words
With whatever notes or documents you already have.
What do the SPF, DKIM and DMARC results in this email’s headers mean?
Read the trusted receiver evidence. Only the first field is confirmed stamped by our recipient gateway mx.example. There is no placement log.
Your notes
Authentication-Results: mx.example; spf=fail smtp.mailfrom=sender.example; dkim=pass header.d=sender.example; dmarc=pass header.from=sender.example Authentication-Results: relay.example; spf=pass smtp.mailfrom=sender.example
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
The recipient gateway recorded SPF fail, DKIM pass and DMARC pass. The relay’s separate SPF pass describes another check. The headers provide no reason for inbox or spam placement.
- An upstream relay's pass can coexist with a failure at the final recipient. Combining results across services creates an invented verdict.
- A passing signature does not guarantee inbox placement. An authentication failure alone cannot prove the reason a message landed in spam.
- Results read from a forwarded copy mix in the forwarding system's checks. Ask for the original message's headers.
- SPF checks the envelope sender in smtp.mailfrom, which is often a sending service's domain rather than the From address. An SPF pass on that domain does not by itself mean DMARC alignment.
- Guides written for RFC 7489 are out of date in places. DMARC is now RFC 9989, which uses a DNS tree walk rather than only a public suffix list to find the organisational domain.
Why that’s right. The DKIM result can support DMARC even though SPF failed. The relay's separate verdict is outside the requested boundary.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- Someone pastes the full headers of a received message and asks what the SPF, DKIM and DMARC results mean.
- A sender is told their mail fails DMARC at a recipient and wants to read the recipient's own verdict.
- A message landed in spam or quarantine and someone wants to know what the authentication results do and do not explain.
Not the right skill when
- Fixing the sending domain's SPF, DKIM or DMARC DNS records. That is configuration work that needs the DNS records and sending services, not received headers.
- Proving why a provider filtered a message. Only the provider's own placement record or support team can say; authentication is one input among many.
- Investigating suspected phishing or account compromise. Pass the original message to the organisation's security team or the provider's abuse process.
The method it follows
7 steps, in order, every time.
- Unfold folded header lines (continuation lines start with whitespace). Read Authentication-Results fields from the top down: each receiving system adds its own at the top, so the uppermost field from the final receiver is normally the relevant one.
- Take each field's authentication service identifier, the token before the first semicolon. Rely only on fields whose identifier belongs to the receiving system and which it added inside its trust boundary. RFC 8601 requires receivers to delete forged fields claiming their identifier, but a field from another relay, or one copied by a sender, is not the receiver's verdict.
- From each trusted field, read each method separately and keep header order: spf with smtp.mailfrom or smtp.helo (the envelope identity checked), dkim with header.d (the signing domain), dmarc with header.from (the visible From domain). Keep results such as temperror and permerror exactly as recorded.
- Explain DMARC from the receiver's own dmarc result rather than recombining SPF and DKIM yourself. DMARC passes when SPF or DKIM passes for a domain aligned with the From domain, so a message can fail SPF and still pass DMARC on an aligned DKIM signature.
- Treat a missing method as no result, not as a failure. If no field can be trusted, say so and give no verdict.
- Give a placement reason only from an explicit receiver record, such as a reason code in a message trace. A DMARC pass does not guarantee inbox delivery, and a failure alone does not prove why a message was filtered.
- Keep message bodies, addresses and full headers local, and redact personal details before quoting results back.
What to have ready
If something’s missing, your agent asks before it starts.
- Original received-message headers or a redacted export that retains Authentication-Results fields.
- The receiving provider’s trusted authentication service identifier and gateway provenance, plus any explicit placement evidence.

Can you supply the full original headers of the received message (often 'Show original' or 'View source'), not a forwarded copy? Forwarding adds and loses headers.

Which mail system received the message, and what authentication service identifier does it stamp, often its own domain or hostname? Only results it added inside its trust boundary can be relied on.

Is there a placement or quarantine record from the provider, such as a message trace entry with a reason? Without one, the reason for spam placement stays unknown.

Do the headers contain addresses or other personal details that should be redacted before sharing?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionThe only authentication field was copied by the sender. Provider placement export contains reason code USER_RULE. Return only JSON following the skill’s test format. Authentication-Results: mx.example; spf=pass; dkim=pass; dmarc=pass placement.reason=USER_RULE
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
A familiar service name cannot make the sender-supplied field trustworthy. The separate provider record establishes the reason code.
{
"spf": [],
"dkim": [],
"dmarc": [],
"placement_reason": "USER_RULE"
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.