Exchange 2010 custom DSN text

Posted on 2013-01-17
Last Modified: 2013-02-01

I have a problem with customizing system messages in my Exchange 2010 SP2 environment.
I have created a transport rule which rejects mail with the custom status code 5.7.230. I have no problems with supplying the "diagnostic information for administrators", but I have no faith that our users will read that message...

I have therefore followed technet and other forums so that I can customize the DSN. I have created the message to the specific status code, but when I try to send a mail it don't return the new message text, only the std. rejection message.

Anyone who have encountered this in the past?  

Best Regards

Vegard Dufseth
Question by:HFK-IKT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38788631
Which message are you trying to customise? Not all of them can be customised and if the NDR is generated by the remote server you cannot modify it.


Author Comment

ID: 38800045
I have crated a new Status Code, 5.7.230 and associated a newly generated System Message to it.

LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38800855
That doesn't answer my question though.
What kind of messages are you trying to NDR back? In most cases you cannot just create a new status code, as there are built in system generated codes that cover most events.

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 38805385
The background for this customized NDR, is that I have a transport rule that is set to reject messages to users that have left the organization. This disabled users are members of a "disabled users" group in AD, rather than having disabled their mailbox. I haven't found a built in statuscode wich give the senders an understandable NDR. When I send a mail to these users now I get a message that says the mail was rejected.

If you have another good solution for me, I will accept it gladly!

I'm apologize for the clumsy english... :-)

LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38812667
You can disable the user account without having the mailbox fail to work, so another option would be an Out of Office message on each account.

What exactly does the NDR say? It could be that the message is being rejected by Exchange for other other reasons before it gets to the transport rule system.


Accepted Solution

HFK-IKT earned 0 total points
ID: 38825830
For some reason it worked when I sent a testmessage this morning. Maybe it takes some time for the customization to work?

Thanks for the replies!

Best regards


Author Closing Comment

ID: 38843124
What I did first worked, but it took some time for the change to apply.

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Domain on O365 6 54
How to expand the inbox sub folders outlook 2016 1 50
Exec Database for Exchange 5 55
Certificate Questions - Exchange 2016 11 46
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In-place Upgrading Dirsync to Azure AD Connect
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to:…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question