Removing Accepted Domains

Had an interesting one just recently whereby an accepted domain in an Exchange organisation I administer could not be removed. Despite the fact that all users and distribution groups with the relevant address had long been deleted, along with their mailboxes and organisational units, each attempt to remove the domain from Exchange returned the following message:

Cannot remove the domain because it is referenced by the proxy address template: ''.

I went through all the other address policies in Exchange and found that none of them were configured to assign proxy addresses for this domain, despite what Exchange was saying.

The resolution required the use of ADSI Edit to modify the attributes of the address policies themselves…

  1. On a domain controller, start the ADSI Edit snap-in and connect to the Configuration partition
  2. Browse down through Services > Exchange > Organisation > Recipient Policies. Here you will see ADSI objects representing the Email Address Policies visible in Exchange
  3. Right-click on each in turn and choose Properties. Check the values of the gatewayProxy and DisabledgatewayProxy attributes, removing the domain in question from each, if it is present
  4. Allow for replication between your domain controllers, then try removing the accepted domain from Exchange again

The joys of Exchange, eh readers?

Share and Enjoy:
  • Digg
  • StumbleUpon
  • Technorati
  • Twitter
  • blogmarks
  • HackerNews
  • Tumblr
  • Posterous
  • email
Bookmark the permalink. Follow any comments here with the RSS feed for this post.
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

This blog is kept spam free by WP-SpamFree.