Symptoms

Consider the following scenario:

  • In Microsoft Exchange Server 2013, you create a customized delivery status notification (DSN) message by running the following New-SystemMessage cmdlet:

    New-SystemMessage -DsnCode 5.7.111 -Language en -Internal $true -Text "text_from_system_message"

  • You create a transport rule. In the new rule, you do the following:

    • Set the RejectMessageReasonText value to reject messages

    • Add the DSN code

In this scenario, users receive an auto-reply DSN message in which the text of the RejectMessageReasonText value appears in the user section instead of the diagnostics section. Also, the customized DSN message is not displayed.

Cause

This issue occurs because the reject reason is passed as the dsnExplanation value of the SmtpResponse response. If the SmtpResponse response contains the RejectMessageReasonText value, it cannot be overridden by running the New-SystemMessage cmdlet.

Resolution

To resolve this problem, install Cumulative Update 7 for Exchange Server 2013.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×