The Return-Path is the address that receives bounce reports for an email. It is set by the envelope sender in the SMTP MAIL FROM command, and when the message is finally delivered the receiving server writes it into a Return-Path: header at the top. It is not the From address your recipient sees, and it often uses a different domain.
How the Return-Path works
Every email has two sets of addresses:
- The envelope, used by mail servers:
MAIL FROM(the Return-Path) andRCPT TO(the recipients). - The headers, shown to people:
From:,To:,Reply-To:.
RFC 5321 says delivery failures go to the reverse-path from MAIL FROM, and that the final delivery server inserts a Return-Path line recording it (section 4.4). This is why bounces never go to the friendly From address: they go to the envelope sender, which email providers point at their own bounce-processing servers.
Example
Here is the envelope and the delivered headers for one message:
MAIL FROM:<bounce-7f3a@send.acme.com>
RCPT TO:<sam@example.com>
Return-Path: <bounce-7f3a@send.acme.com>
From: Acme <hello@acme.com>
To: sam@example.com
Subject: Your receipt
| Return-Path | From | |
|---|---|---|
| Set by | MAIL FROM in the SMTP envelope |
Message header |
| Seen by | Mail servers | People |
| Used for | Bounces, SPF | Display, replies (unless Reply-To), DMARC |
The unique part of bounce-7f3a lets the provider match each bounce to the message that caused it.
Why it matters for app email
SPF checks the Return-Path domain, not the From domain. If your provider uses its own domain for MAIL FROM, SPF passes for the provider, not for you, and that pass does not count toward DMARC for your domain. A custom return path, a subdomain such as send.acme.com with its own SPF record and an MX record for bounces, makes SPF align under DMARC’s relaxed mode, because send.acme.com and acme.com share the same organizational domain.
It also builds reputation on your domain rather than your provider’s, and it makes headers look consistent to filters and to people who inspect them. The email headers guide shows where to find it in Gmail and Outlook.
Common mistakes
- Expecting bounces at the From address. They go to the Return-Path.
- Adding a Return-Path header in code. The receiving server sets it; yours is ignored or replaced.
- Leaving the provider’s default MAIL FROM, so SPF never aligns and DMARC rests on DKIM alone.
- Publishing SPF on the root domain only when MAIL FROM uses a subdomain. The SPF record must be on the subdomain.
- Forgetting the MX on the custom MAIL FROM subdomain, which some providers need to accept the setup.
How Mailcandor handles it
Mailcandor sets up send.<domain> as your return path, with an SPF record and a bounce MX, and its deliverability coach checks both.