Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 305717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:23:59+00:00 2026-05-12T07:23:59+00:00

On our mailing application we are sending emails with the following header: FROM: marketing@customer.com

  • 0

On our mailing application we are sending emails with the following header:

FROM: marketing@customer.com
TO: subscriber1@domain1.example
Return-PATH: bouncemgmt@ourcompany.example

The problem that we are facing is that some email servers will bounce back a message immediately and use the from or reverse path (marketing@customer.example) instead to our bounce mgmt server. We want to know if we modify in the header the reply-to to be the same as the return-path if we will be able to catch all bounces.

Any other ideas are welcome?

We are using the following documents as references:
VERP
RFC
Bounce Messages

SMTP Log Parsing to get Bounces

EDIT 1: A few more bits of information to see if we can get this resolve.

We want to know at what point the email server relaying the message will choose to use the reply-to versus the return-path. We have notice that when the first SMTP server relaying the message gets rejected it sends it to the reply-to, but when it happens after one hop it sends it to the return-path.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:24:00+00:00Added an answer on May 12, 2026 at 7:24 am

    Let’s start with a simple example. Let’s say you have an email list, that is going to send out the following RFC2822 content.

    From: <coolstuff@mymailinglist.example>
    To: <you@example.com>
    Subject: Super simple email
    Reply-To: <coolstuff-threadId=123@mymailinglist.example>
    
    This is a very simple body.
    

    Now, let’s say you are going to send it from a mailing list, that implements VERP (or some other bounce tracking mechanism that uses a different return-path). Lets say it will have a return-path of coolstuff-you=yourcompany.com@mymailinglist.example. The SMTP session might look like:

    {S}220 workstation1 Microsoft ESMTP MAIL Service
    {C}HELO workstation1
    {S}250 workstation1 Hello [127.0.0.1]
    {C}MAIL FROM:<coolstuff-you=yourcompany.com@mymailinglist.example>
    {S}250 2.1.0 me@mycompany.com....Sender OK
    {C}RCPT TO:<you@example.com>
    {S}250 2.1.5 you@example.com
    {C}DATA
    {S}354 Start mail input; end with <CRLF>.<CRLF>
    {C}From: <coolstuff@mymailinglist.example>
    To: <you@example.com>
    Subject: Super simple email
    Reply-To: <coolstuff-threadId=123@mymailinglist.example>
    
    This is a very simple body.
    .
    
    {S}250 Queued mail for delivery
    {C}QUIT
    {S}221 Service closing transmission channel
    

    Where {C} and {S} represent Client and Server commands, respectively.

    The recipient’s mail would look like:

    Return-Path: coolstuff-you=yourcompany.com@mymailinglist.example
    From: <coolstuff@mymailinglist.example>
    To: <you@example.com>
    Subject: Super simple email
    Reply-To: <coolstuff-threadId=123@mymailinglist.example>
    
    This is a very simple body.
    

    Now, let’s describe the different "FROM"s.

    1. The return path (sometimes called the reverse path, envelope sender, or envelope from — all of these terms can be used interchangeably) is the value used in the SMTP session in the MAIL FROM command. As you can see, this does not need to be the same value that is found in the message headers. Only the recipient’s mail server is supposed to add a Return-Path header to the top of the email. This records the actual Return-Path sender during the SMTP session. If a Return-Path header already exists in the message, then that header is removed and replaced by the recipient’s mail server.

    All bounces that occur during the SMTP session should go back to the Return-Path address. Some servers may accept all email, and then queue it locally, until it has a free thread to deliver it to the recipient’s mailbox. If the recipient doesn’t exist, it should bounce it back to the recorded Return-Path value.

    Note, not all mail servers obey this rule; Some mail servers will bounce it back to the FROM address.

    1. The FROM address is the value found in the FROM header. This is supposed to be who the message is FROM. This is what you see as the "FROM" in most mail clients. If an email does not have a Reply-To header, then all human (mail client) replies should go back to the FROM address.

    2. The Reply-To header is added by the sender (or the sender’s software). It is where all human replies should be addressed too. Basically, when the user clicks "reply", the Reply-To value should be the value used as the recipient of the newly composed email. The Reply-To value should not be used by any server. It is meant for client-side (MUA) use only.

    However, as you can tell, not all mail servers obey the RFC standards or recommendations.

    Hopefully this should help clear things up. However, if I missed anything, let me know, and I’ll try to answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our customers want to send emails from our java appengine application using their email
Our users return to our web site from an external site, to a URL
Our PHP application makes use of json_encode($myObject) a lot, in conjunction with the mustache
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have
Our jqGrid is working well - if we return > 1 row everything works.
Our workflow currently has developers working on locally hosted copies of our web application
I recently wrote a mailing platform for one of our employees to use. The
I am working on the following script for mailing the data dynamically entered by
our dba wants to change from recieving files as attachements to some sort of
Our Customer table has an int Identity column for ID. This was going to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.