Forum Discussion
ankilo2011
Jun 26, 2023Copper Contributor
Rule Creation in Exchange error?
Hello everyone, i am facing a very strange issue, in exchange online. First of all, the scenario is that i want to create a rule that reject mails from a user/s or group and a reject message will...
VasilMichev
Jun 26, 2023MVP
That's the expected behavior. The NDR "code" for this action will always be set to 5.7.1, as detailed in the documentation: https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/mail-flow-rule-actions
You can specify a custom code between 5.7.900-5.7.999, if needed.
You can specify a custom code between 5.7.900-5.7.999, if needed.