We got a requirement to reject external emails sent to one distribution group (test_dl1@xyz.com) using exchange 2010 transport rule in this manner. (and send NDR to the original external sender)
We have not restricted external senders in "message delivery restrictions", in test_dl1 distribution group, in this manner. (as per the requirement, goal here is to allow unauthenticated users by the group itself, but control it via above transport rule)
There is only one group member in this distribution group. And the Group member is rejected@xyz.com
Above transport, rule works perfectly fine until up to this step. I have tested using external Gmail address ( that is testing@gmail.com).
(for one thing, I've noticed, NDR initiated from rejected@xyz.com, not the distribution group (test_dl1@xyz.com), which means if I include more members there will be more than one NDR sent to the original sender at this point. )
I get below NDR to testing@gmail.com from postmaster@xyz.com. .
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
But
Crazy thing happens when rejected@xyz.com is being forwarded to another external mail address (that is forward@gmail.com) in this manner.
(Where forward@gmail.com is a mail-enabled exchange 2010 contact. )
Sending a test mail using same external sender (** that is testing@gmail.com**), while above forwarding in place, NDR is sent to forward@gmail.com claiming it is not delivered to forward@gmail.com.
(NDR is supposed to send to the original outside sender that is testing@gmail.com)
. . .
---------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
and also at this point, I noticed NDR is sent by Microsoft Outlook .. NDR is supposed to send by postmaster@xyz.com not by Microsoft Outlook and at any point in this testing, I have not used web outlook or Microsoft outlook fat client.
Cannot figure out how to fix the above transport rule to send NDR to the original sender, while forwarding in place.
Already wasted so many hours .. any help would be very much appreciated
Ps: Looks like by allowing un-authenticated users, in a distribution group, ReturnPath is changed from the original sender to the address of the distribution list. and followed by few more changes according to this
https://practical365.com/exchange-server/exchange-server-ndr-loop-distribution-list/
No work around found so far