# SMTP Envelope Sender vs From Header: Which Goes Where

URL: https://email-validation.org/guides/smtp-envelope-sender-vs-from/
Updated: 2026-11-27

> Documentation index: https://email-validation.org/llms.txt

An invoice can show a billing address in From, send your reply to a different inbox, and send a delivery failure to
a third address. All three can be correct. They belong to two different parts of an email: the SMTP envelope, which
mail servers use to move the message, and the message header, which travels with its content. Knowing which address
you are looking at makes a missing reply, a bounce or an authentication result much easier to trace.

## Four fields at a glance

| Field | Where it lives | What it is for |
|---|---|---|
| MAIL FROM | SMTP envelope | The envelope sender, formally the reverse-path. Later delivery failures go back to it, unless it is empty. |
| Return-Path | Header, added at final delivery | A trace field that records the reverse-path used for that delivery. |
| From | Message header | The author of the message. A separate Sender field, when present, names the agent that transmitted it. |
| Reply-To | Message header | Where the author suggests that replies go. Without it, replies go to From. |

**MAIL FROM** supplies the envelope sender, which
[RFC 5321](https://www.rfc-editor.org/info/rfc5321/) (section 4.1.1.2) calls the reverse-path. A server learns it
in the SMTP transaction, before it receives the message header.

**Return-Path** is the trace field the server inserts when it makes final delivery (section 4.4). It preserves the
reverse-path from the MAIL command. That path can change on the way: section 4.4 lets forwarding, gateway and relay
systems remove the return path and rebuild the MAIL command, and a mailing list sends its copies with its own return
path (section 3.9.2). So Return-Path does not necessarily show the MAIL FROM used when the message first entered the
mail system.

**From** is the author field of [RFC 5322](https://www.rfc-editor.org/info/rfc5322/) (section 3.6.2). When a
**Sender** field is present, it names the mailbox of the agent responsible for actually transmitting the message.
Sender is a header field, not another name for the envelope sender.

**Reply-To** names where the author suggests replies be sent. Without it, replies should by default go to From,
unless the person replying chooses otherwise (section 3.6.2). Reply-To does not tell a server where to send a
delivery failure.

The recipient side has the same split. The RCPT TO command gives the receiving server a recipient for the
transaction, while the To field lists the intended recipients in the message itself. Bcc and forwarding are two
ordinary reasons the envelope recipient may not match any address on the To line (RFC 5321, section 7.2; RFC 5322,
section 3.6.3).

## Read a synthetic header line by line

Imagine a billing service submits a message with this envelope:

```text
MAIL FROM:<bounce+42@mailer.example.net>
RCPT TO:<customer@example.org>
```

Here is what some fields of the delivered copy could look like, if the reverse-path was not changed on the way:

```text
Return-Path: <bounce+42@mailer.example.net>
From: Example Billing <billing@example.com>
Sender: Example Mailer <dispatch@mailer.example.net>
Reply-To: Billing Support <support@example.com>
To: Customer <customer@example.org>
Subject: Your November invoice
```

The SMTP service was asked to deliver the message to customer@example.org. The header names Example Billing as the
author and dispatch@mailer.example.net as the transmitting agent. Neither is where replies should go: Reply-To
points to support@example.com. If the receiving system accepted the message and later could not deliver it, the
failure report goes to the envelope's bounce+42 address. The Return-Path shows that same address only because the
example assumes no rewrite.

All the addresses here are fictional. A real header can contain customer addresses, unique tracking tokens and
details of your mail infrastructure. Reproduce a problem with a controlled test message, and do not post full headers
in a public ticket or paste site.

## Delivery failures and human replies take different routes

A server can reject a message during the SMTP transaction. Then the sending server gets a reply code straight away
and does not wait for an email. A delivery status notification (DSN) is different: when a server has accepted the
message and later finds that it cannot deliver it, RFC 5321 (section 3.6.3) requires it to send a notification to
the originator, as indicated by the reverse-path. The reverse-path alone decides where it goes: Reply-To and From
play no part, even when one of them holds the same address.

Notifications such as DSNs are themselves sent with an empty reverse-path, `MAIL FROM:<>`, so that a failed
notification does not cause another one (sections 3.6.3 and 4.5.5). A message with an empty reverse-path still has a From field.
So `Return-Path: <>` on a notification is expected, not a sign of a broken sender setup.

If human replies reach the wrong inbox, check Reply-To and From in a fresh test message. If bounces go missing
instead, look up the MAIL FROM your sending provider recorded for that attempt, and its delivery logs.
[Bounce processing and DSNs](https://email-validation.org/guides/bounce-processing-dsn/) explains immediate SMTP errors, DSNs and per-recipient
bounce routing.

## Which domain does SPF check?

SPF checks whether the connecting server is authorized to use the domain of the MAIL FROM identity. In the example
that domain is mailer.example.net, not example.com from the From field. SPF can also check the HELO identity
separately. When the reverse-path is empty, [RFC 7208](https://www.rfc-editor.org/info/rfc7208/) (section 2.4)
defines the MAIL FROM identity as the mailbox made of the local part postmaster and the HELO identity.

This matters when you read a result such as `spf=pass`. A pass for mailer.example.net does not by itself show that
the visible example.com author is authorized. For SPF to count towards DMARC, the SPF-validated MAIL FROM domain must
be aligned with the From domain; DMARC uses only the MAIL FROM identity, never the HELO check
([RFC 9989](https://www.rfc-editor.org/info/rfc9989/), sections 3.2.4 and 4.4.2). An aligned, valid DKIM signature
is the other way to pass DMARC, independently of SPF (section 4.4.1). In the example, mailer.example.net and
example.com have different organizational domains, so this SPF pass would not align
([DMARC from none to reject](https://email-validation.org/guides/dmarc-none-to-reject/) shows how to set up an aligned return path).

When you investigate a real message, start with the authentication results the receiver you trust recorded, and
find the domain it actually checked. A Return-Path is a helpful clue, but it does not replace the receiver's SPF
verdict, and it does not tell you which server IP address was checked.

## What these fields cannot establish

From, Reply-To and Return-Path often differ when a sending platform or a forwarder is involved. That is a reason to
check the routing you intended, not proof of spoofing. Equally, an address in a header does not show that a real
person wrote the message, controls the reply mailbox or agreed to receive mail. Anyone can put a familiar name or
address in a header field the receiver has not authenticated.

Pick the evidence that answers your question:

- **Where a human reply goes:** read Reply-To, then From.
- **Where a delayed delivery failure goes:** look at the envelope and the sending system's logs.
- **Whether the visible author domain is authorized:** check the trusted receiver's authentication and alignment
  results.

These checks answer different questions even when the addresses happen to be identical.

## Questions

### Is Return-Path the same as the From address?

No. Return-Path records the envelope sender used for the final delivery, where delivery failures go. From names the
author. They are often different, for example when a sending platform handles your bounces.

### Why does SPF pass but DMARC fail?

SPF checked the MAIL FROM domain, and that domain is not aligned with the From domain. Use a return path under your
own domain, or sign with an aligned DKIM key.

### Where do bounces go if Reply-To is set?

To the envelope sender (MAIL FROM), not to Reply-To, even when both hold the same address. Reply-To only affects
human replies.

## Try it

Look up the SPF record of your return path domain with the [SPF checker](https://email-validation.org/tools/spf-checker/), and your From
domain's policy with the [DMARC checker](https://email-validation.org/tools/dmarc-checker/).

## Related

- [Glossary: envelope sender](https://email-validation.org/glossary/#envelope-sender).
- [Glossary: Reply-To](https://email-validation.org/glossary/#reply-to).
- [Glossary: custom return path](https://email-validation.org/glossary/#custom-return-path).

## Related guides

- [Bounce processing and DSNs explained](https://email-validation.org/guides/bounce-processing-dsn/)
- [Moving DMARC from p=none to p=reject](https://email-validation.org/guides/dmarc-none-to-reject/)
- [The SPF 10-lookup limit explained](https://email-validation.org/guides/spf-lookup-limit/)
- [EHLO vs. HELO: what the SMTP greeting actually tells you](https://email-validation.org/guides/smtp-ehlo-vs-helo/)
- [What does ARC-Seal mean in a forwarded email?](https://email-validation.org/guides/arc-seal-forwarded-email/)
- [All guides](https://email-validation.org/guides/)

## Sources

- [IETF: RFC 5321, Simple Mail Transfer Protocol](https://www.rfc-editor.org/info/rfc5321/): section 4.1.1.2 (MAIL
  and the reverse-path), 4.4 (Return-Path and rebuilt return paths), 3.9.2 (lists), 3.6.3 (notifications to the
  reverse-path), 4.5.5 (null reverse-path), 7.2 (blind copies).
- [IETF: RFC 5322, Internet Message Format](https://www.rfc-editor.org/info/rfc5322/): section 3.6.2 (From, Sender,
  Reply-To), 3.6.3 (To and Bcc).
- [IETF: RFC 7208, Sender Policy Framework](https://www.rfc-editor.org/info/rfc7208/): section 2.4, the MAIL FROM
  identity.
- [IETF: RFC 9989, DMARC](https://www.rfc-editor.org/info/rfc9989/): sections 3.2.4 (SPF domain) and 4.4 (identifier
  alignment).

_How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text._

## Get up to 500 free credits. No card needed.

New accounts get 500 free credits (100 when you sign up with a free email provider such as Gmail, Outlook or Yahoo, another personal mailbox such as a paid one like Fastmail or one from your internet provider, or an address from a relay or alias service). Try it on your own list before you buy. [Create your account](https://email-validation.org/signin/?new=1) or [open the free email checker](https://email-validation.org/email-checker/).
