Envelope Sender
The envelope sender is the address given in the SMTP MAIL FROM command when a message is transmitted, defined as the reverse-path in RFC 5321. It is where bounces are delivered and the address that SPF checks. It travels with the SMTP envelope, not in the message body, and it can differ entirely from the From your recipient sees.
-
It lives in the SMTP
MAIL FROMcommand, not in the message header the reader sees - Bounce messages and non-delivery reports are returned to this address
-
SPF authenticates the envelope sender domain, also written
5321.MailFrom -
It is frequently different from the visible
From, especially through an ESP
MAIL FROM command
5321.MailFrom
What the envelope sender is
When one mail server hands a message to another, it does so inside an SMTP conversation that has its own addressing, separate from the message text. The sending server announces who the mail is from with the command MAIL FROM:<address>, and that address is the envelope sender, formally the reverse-path in RFC 5321. The analogy is a paper letter: the envelope sender is the return address written on the outside of the envelope, while the From in the header is the signature inside the letter.
This address goes by many names. You will see it called MAIL FROM, reverse-path, bounce address, envelope from, or 5321.MailFrom. They all refer to the same thing: the address in the SMTP envelope, not the one in the visible header.
Why it matters: bounces and SPF
The envelope sender does two important jobs:
- It collects bounces. If the receiving server cannot deliver the message, the non-delivery report is sent back to the envelope sender, not to the visible
From. This is why ESPs point it at an address they control, so they can process bounces automatically. - It is what SPF checks. SPF validates the domain in the envelope sender (the
5321.MailFrom) against that domain’s published list of authorised IPs. The visibleFromis a different identifier (5322.From) that SPF never looks at directly.
Because SPF authenticates the envelope-sender domain, a message can pass SPF and still fail DMARC. DMARC requires that the authenticated domain align with the visible From, so if your envelope sender is your ESP’s domain while your From is your own, SPF passes but does not align. Using a custom Return-Path on your own domain fixes that.
Where the envelope sender lives
MAIL FROM:<bounce@mail.example.com>Return-Path header