Monday, April 30, 2012

Where are Accepted Domains stored in Active Directory?

Today we needed to make OpenLDAP query a list of all Accepted Domains in Active Directory to ensure the Postfix understands which SMTP Namespaces Exchange is authoratative for.  After digging through the Active Directory configuration partition we found that Accepted Domains are stored under the following location:

CN=Accepted Domains,CN=Transport Settings,CN=TSTHOSTING,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local


  1. I am trying to add an accepted domain to our Exchange 201o Server and I complete the wizard successfully. I would run the power shell command to display all accepted domains and the newly addeed domain did not show up. I rebooted the exchange server and checked the list again and it showed up. I sent some test emails and it was working. This morning I sent a test email to that domain and it bounced. Sure enough I went in and looked up the acceepted domains using the powershell cmd and the newly addeed accepted domain was missing again. I can't find any thing online to fix this. Do you have any suggestions?

  2. What happens if you add the Accepted Domain in powershell with the New-AcceptedDomain cmdlet?

    It may also be a permission problem, if you navigate to the Accepted Domains container in ADSIedit and check the permissions... the GUI might not have permissions to write the entry to Active Directory.

    Are you getting no error at all when you complete the wizard?