Hi Vden,
Slight more explaination on the solution.
The actual mail-from sender would be a non-existant ID, and reply-to would be the valid ID, hence when System generates error its sends it to the non-existant ID saving you the NDRs storm. And when users reply to emails, it automatically populates the PublicFolderAddress
making it replyable.
mail from: NDRhere@contoso.com
250 2.1.0 Sender OK
rcpt to: bar@contoso.com
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
From: PublicFolder<NDRhere@contoso.com>
To: Bar<bar@contoso.com>
Date: Mon, 1 May 2006 10:23:00 +0000 (UTC)
Reply-To: <PublicFolder@contoso.com>
#Header should appear like this
To: <
satyajit@contoso.com>
Sender: John SMith<
mailer@mailer.contoso.com>
From: John SMith <
mailer@mailer.contoso.com>
Return-Path:
mailer@mailer.contoso.com
Reply-To: <
JohnSmith@contoso.com>
To feel it using outlook how it works. Refer below:
Direct Reply To Different Email Address (Reply-To Address) In Outlook 2010/2013
https://kb.intermedia.net/article/2387
4.Type the following command to tell the receiving SMTP server who the message is from:
MAIL FROM:Admin@test.com
Note:- This address can be any SMTP address that you want, but it is a good idea to consider the following issues:
If you do not use a valid email address when you send a message, you cannot determine whether the message had a delivery problem because the non-delivery report
(NDR) cannot reach an IP address that is not valid. If you use a valid email address, you receive the following response from the SMTP server:
References:
Telnet to Port 25 to Test SMTP Communication:
https://support.microsoft.com/en-us/kb/153119#/en-us/kb/153119
Setting reply-to using SMTP over telnet:
http://www.experts-exchange.com/Software/Internet_Email/Email/Q_21833740.ht