Example
How to read it
- pass means the sending IP is allowed by the Return-Path domain.
- softfail (~all) and fail (-all) mean the IP is not listed.
Can you trust it?
Reliable when added by your provider. To check an email you are unsure about, paste its full headers into the email header analyzer, or receive it in a temporary inbox where the Email X-ray checks it for you.
How to view email headers
- Gmail: open the message, click the three dots, then Show original.
- Outlook: open the message, then File, Properties, Internet headers (desktop), or the three dots, View, View message details (web).
- Apple Mail: View, Message, All Headers.
- Yahoo Mail: the three dots, then View raw message.
Where Received-SPF sits in a real message
Every email has a header block at the top, then a blank line, then the body. Your mail app hides most of the header block and shows only a few fields. Here is a short, realistic header block with the Received-SPF line highlighted:
Received: from mail.example.com (mail.example.com [192.0.2.10]) by mx.yourprovider.com
Authentication-Results: mx.yourprovider.com; spf=pass; dkim=pass; dmarc=pass
From: "Example Store" <news@example.com>
Received-SPF: pass (mx.example.com: domain of bounces@acme.example designates 203.0.113.10 as permitted sender)
Subject: Your order has shipped
Date: Thu, 12 Nov 2026 09:14:03 -0500
Servers add their lines at the top as the message travels, so the newest information is first and the sender's original fields are lower down. When you read a header block, start at the top with the lines your own provider added, then work down.
About authentication headers
Authentication headers record the results of SPF, DKIM, DMARC and ARC checks. The Authentication-Results header added by your own provider is the most useful single line in a suspicious email, because it says whether the sender's domain actually vouched for the message.
Checking Received-SPF on a suspicious email
- Make sure the line was added by your own provider. Look for your provider's server name, such as mx.google.com or outlook.com, in or near the header.
- Ignore copies of this header lower in the block. A sender can add a fake one, and only the one added by your provider counts.
- Compare the result with the visible From address. A pass for a domain that does not match the From domain does not prove the message is from that company.
Notes for developers
- Header names are case-insensitive, so
Received-SPF,received-spfandRECEIVED-SPFare the same field. - Long values can be folded across several lines. A line that starts with a space or tab continues the previous header (RFC 5322 section 2.2.3).
- Non-ASCII text in header values is sent as encoded words such as
=?UTF-8?B?...?=(RFC 2047). Decode them before you display or compare values. - Some fields may appear more than once. Received, for example, appears once per hop. Decide whether your code needs the first, the last or all of them.
- Never use this header to make a security decision unless your own server added or verified it.
Other authentication headers
| Header | What it does |
|---|---|
| Authentication-Results | The receiving server's verdict on SPF, DKIM and DMARC for this message. |
| DKIM-Signature | A cryptographic signature that lets receivers verify the message was not changed and that the signing domain (d=) authorized it. |
| ARC-Seal | Part of the Authenticated Received Chain (ARC). |
| ARC-Message-Signature | An ARC signature over the message as the intermediary saw it, similar to a DKIM signature. |
| ARC-Authentication-Results | Copies the authentication results an intermediary saw, so they survive forwarding. |
| BIMI-Selector | Points to which BIMI record to use, so mail apps can show the brand logo next to authenticated mail. |
A scenario: the forwarded message that fails DMARC
A newsletter passes DMARC when sent directly, but fails after a university forwarding service passes it on, because forwarding changes the connecting server and can break SPF. ARC headers let the forwarding service record the original results so the final receiver can still trust them. If you see ARC-Authentication-Results, they explain what happened before forwarding.
Quick checklist
- Use the Authentication-Results added by your own provider.
- Check ARC headers on forwarded mail.
- A DKIM pass usually survives forwarding; SPF often does not.
Received-SPF in raw, parsed and displayed form
| View | What you see |
|---|---|
| Raw source | Received-SPF: pass (mx.example.com: domain of bounces@acme.example designates 203.0.113.10 as permitted sender) |
| Parsed by a mail library | A field named received-spf with its decoded value |
| Shown by most mail apps | Hidden unless you open the full source |
Terms used on this page
- SPF
- Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.
- Return-Path
- The address that receives bounce messages, also called the envelope sender or MAIL FROM.
- Softfail (~all)
- An SPF result meaning the sender is probably not authorized, but the domain owner asked receivers not to reject outright.
Related guides
Related headers
- Authentication-Results: The receiving server's verdict on SPF, DKIM and DMARC for this message.
- Return-Path: The envelope sender address (MAIL FROM) recorded by the final server.
FAQ
What is the Received-SPF header?
The result of the SPF check, recorded by some receiving servers as a separate header.
Who sets the Received-SPF header?
The receiving server.
Can the Received-SPF header be faked?
Reliable when added by your provider.
Is the Received-SPF header required?
No. Received-SPF is optional. Many messages do not include it, and its absence is not a problem on its own.
Why is Received-SPF missing from my email?
Mail apps hide most headers. Open the full source (Show original in Gmail, View message details in Outlook) to see every header. If Received-SPF is still not there, the sending software simply did not add it.
What does "softfail" mean?
The sending server is not explicitly allowed by SPF, but the domain asked receivers not to reject outright.
Why does a real email fail DKIM?
A forwarder or mailing list changed the message after it was signed, or the sender's DNS key is wrong.