We got a requirement to reject external emails sent to one distribution group ([email protected]) 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 [email protected]
Above transport, rule works perfectly fine until up to this step. I have tested using external Gmail address ( that is [email protected]).
(for one thing, I've noticed, NDR initiated from [email protected], not the distribution group ([email protected]), 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 [email protected] from [email protected]. .
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
But
Crazy thing happens when [email protected] is being forwarded to another external mail address (that is [email protected]) in this manner.
(Where [email protected] is a mail-enabled exchange 2010 contact. )
Sending a test mail using same external sender (** that is [email protected]**), while above forwarding in place, NDR is sent to [email protected] claiming it is not delivered to [email protected].
(NDR is supposed to send to the original outside sender that is [email protected])
. . .
---------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------
.
and also at this point, I noticed NDR is sent by Microsoft Outlook .. NDR is supposed to send by [email protected] 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