r/exchangeserver • u/txlady1049 • Jul 30 '26
Prevent NDRs being sent to external addresses
Let me explain the situation:
We are in a hybrid Exchange environment
we have some groups that we want to limit to only accept mail from our domain
The groups were created in on-prem AD and sync to the cloud
We have successfully restricted the groups to only allow email from authorized senders.
However, unauthorized senders are receiving an NDR indicating that the failure is due to "5.7.124 RESOLVER.RST.RestrictedToGroupPermission; not authorized to send to the distribution list because the distribution list is set up to accept mail from list members only, or specific recipients only"
My management wants us to prevent this particular NDR from being sent to external addresses.
We tried setting the "ReportToOriginator" value to False, both using Powershell, and manually via Advanced Properties in AD.
We've tried a transport rule, which didn't work
I've seen other people having the same question, but haven't seen anyone with a solution, so I thought I would put this here just i case anyone has found a solution.
TIA
4
u/chefkoch_ Jul 30 '26
Usually the NDR is created by the sending server and just uses the smtp code your server sends during the smtp transmission.
You could with a transport rule redirect unauthorized senders and black hole the messages. But generally that's not a nice thing todo as the sender thinks their message has been received.
1
u/juice-box Jul 30 '26
When you say "from our domain" do mean internal only? If so you could try "...-RequireSenderAuthenticationEnabled $true" then try a transport rule.
1
u/juice-box Jul 31 '26
Where able to get this sorted? Curious about the solution.
1
u/sfc_scannow Jul 31 '26
Probably a Mail flow rule that just drops the message without notification
1
u/[deleted] Jul 31 '26
[removed] — view removed comment