Exchange 2016 Rule - Exclude "Diagnostic Information for Administrators"

durrie 386 Reputation points


In my Exchange 2016 organization I have a Rule configured to "reject the mesage with the explanation" option configured.

The rule rejects mail sent to our "NoReply" email address with a note.

Senders then receive the NDR with the note but also a list of diagnistic info about our exchange organization under the heading "Diagnostic Information for Administrators"

Is it possible to remove this information from the NDR so users ONLY get my message as configured in the Exchange rule?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,084 questions
No comments
{count} votes

Accepted answer
  1. Lydia Zhou - MSFT 2,356 Reputation points Microsoft Employee

    Agree with AD-7937. You can use NDRDiagnosticInfoEnabled parameter to hide diagnostic information for administrators section. However, this will affect all NDR messages.

    Here are test results for NDRDiagnosticInfoEnabled parameter:

    1. This is the rule I created to reject specific messages:

    2) Use the following command to remove diagnostic information from NDR message:

    Set-RemoteDomain Default -NDRDiagnosticInfoEnabled $false  
    get-RemoteDomain|fl name,NDREnabled,NDRDiagnosticInfoEnabled  


    3) The NDRDiagnosticInfoEnabled parameter works as expected:


1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 109.5K Reputation points Microsoft MVP

    Try this and set for the default remote domain

    This parameter is available only in on-premises Exchange.

    The NDRDiagnosticInfoEnabled parameter specifies whether diagnostic information is included in non-delivery reports (also known NDRs or bounce messages) that are sent to recipients the remote domain. Valid values are:

    $true: The diagnostic information of an NDR includes details that help administrators troubleshoot delivery problems. This detailed information includes internal server names. This is the default value.

    $false: The diagnostic information section in the NDR body as well as internal server headers from the attached original message headers are removed from the NDR.

    This parameter is meaningful only when the value of the NDREnabled parameter is $true.

    No comments