Managing DSN Messages
Delivery Status Notification (DSN) is used to send Non-Delivery Reports (NDRs) to messages senders. There are lots of in-built DSN messages that one can use in Exchange 2013/2016 or create custom DSN messages if the built-in DSN messages do not suit your organizations requirements. The *-SystemMessage
cmdlets are used to manage DSN in Exchange.
To retrieve a list of all built-in DSN messages, run the following command
Get-SystemMessage -Original
To view a list of all Custom DSN messages, type the following:
Get-SystemMessage
The following command creates a custom plain text DSN message 5.2.2 sent to internal recipients in English:
You can use Set-SystemMessage
to change the properties of the existing custom DSN:
Finally, use Remove-SystemMessage
to remove the custom DSN message:
Remove-SystemMessage En\Internal\5.2.2
If you want to monitor your custom DSN and want it to be copied to a mailbox, use the following commands to associate an Exchange recipient with the MicrosoftExchagneRecipientReplyRecipient...