Changing the case of an Accepted Domain using ADSIEdit
1. Why would it be problematic. If @example.com is the primary address and you want to remove this, why don tuse use Email address Policies? 2. Not quite sure what your issue is here? Are you saying users have got an email address which you have been asked to remove? If yes do it via step 1. Sukh
May 16th, 2011 6:32am

Hello, Marketing are insisting that I modify the case of an existing heavily used domain name in Exchange 2007. The domain is applied through email address policies and is the primary address so removing it even temporarily for 2000 mailboxes would be problematic. I cannot see how to modify the domain name using the GUI or the set-AcceptedDomain command but can see the msExchAcceptedDomain attribute in ADSIEdit under Configuration,Services,Micorsoft Exchange,Organisation,Transport Settings,Accepted Domains. Can I safely modify the case of the accepted domain here? Thanks in advance, David
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 6:33am

Hi Sukh, Thanks for your input but I'm not after removing anything. Lets say my current domainname is @ABC.com, I need to change it to @abc.com. I realise it has no impact on routing etc its just marketing insisting that it shows in lowercase. I cant add an additional Accepted Domain as abc.com as exchange rightly complains that it already exists. So the only way is to remove it and re-add it which is a problem as everyone receives mail on this domain. So I foudn it under ADSIEdit, can I modify the case there? Thanks, David
May 16th, 2011 7:04am

Why not go back into Email address Policy and change from there? Set to lowercase Sukh
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 7:15am

I tried that, when I type in the domain in lowercase and hit OK it recognizes it as an accepted domain and automatically changes it back to uppercase :(
May 16th, 2011 7:22am

Using the attributes above will change the accepted domain to lowercase. I assume your accepted domain is in upper case too? Sukh
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 8:17am

Hi Sukh, I'm not sure what your question is, The actual domain name, ie the msExchAcceptedDomain value is uppercase and cant be changed from the GUI, I have already changed the "Name" but that is just for display purposes in the EMC. I am considering changing msExchAcceptedDomainusing ADSIEdit but just dont have any experience tinkering with Exchange this way and wonder if it is safe to do so? Do you have nay general experience making changes this way? Thanks, David
May 16th, 2011 9:20am

Out of curiosity, I tried it here (in ADSI Edit), and it seems to work okay. It have E2010, though - but most things in E2010 are the same as E2007. However, I'm not sure how this will help your marketing department - in E2010 the email addresses come from the Email Address Policies. I assume that E2007 will be the same.Outlook Web Access For PDA , OWA For WAP www.owa-pda.com email a@t leederbyshire d.0.t c.0.m
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 9:38am

yes, if you change the attribute msExchAcceptedDomainName to lowercase, it will get updated to in the accepted domains, then when you go to email address policy, you can select the same accpetd domain and and this will change to lowercase. Then you can remove th eold one and make this the primary. Sukh
May 16th, 2011 9:50am

Thanks guys, So still feeling a little nervous I decided to create a new test Accepted domain and policy using it to see what happens. Modified ADSIEdit and it updated the attribute correctly then just had to update the address policy and re-apply it and all is well. So now I'm feeling a little more confident about messing with the live one. Still a little nervous though, the implications of it scewing up are enourmous, think I'm going to put this one through change control and give my test one a few days to sit. If anyone has any good reason I shouldnt modify it this way please shout now! Thanks, David
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 10:11am

It should be fine. If you're worried, you can export all your users Primary SMTP addreses to a txt file, should anything go wrong you can import in bulk again. There's a few scripts out there on the internet, you can use LDIFE/CSVDE. http://exchangepedia.com/2005/09/how-to-export-all-email-addresses-from-a-domain.html When you got change control you can say this is your backuout plan if all goes wrong. Sukh
May 16th, 2011 10:22am

Are you sure that you need to change the accepted domain, though? No-one is going to see it, and your server will accept emails regardless of case. I assume you're only interested in the email addresses in outgoing email, and changing the email address policy should be sufficient for this. No point changing something if you don't need to.Outlook Web Access For PDA , OWA For WAP www.owa-pda.com email a@t leederbyshire d.0.t c.0.m
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 10:44am

The email address policy picks up the value from the accepted domain when you choose an exisitng accepted domain under "select accepted domain for e-mail address". Sukh
May 16th, 2011 10:53am

Hi Lee, Unfortunetly it isnt possible to just modify the address policy, even if I try to add a custom address to the policy and type in the domain correctly in lower case it shows there correctly but when I apply it to a user Exchange picks up the case from the Accepted Domain and voila the address is back to uppercase. Indeed my problem is with the sending address that Jo Public see's when we send out. Well, I say my problem, I would just leave it but hey.. Thanks Sukh for the tip, a back out plan is always good on CC, David
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 10:56am

Okay, well I guess the ADSI Edit way is a good way to get it the way you want it. Like I say, I tried it here without problems, and you have already tried it with a test domain. Just don't hit that delete key by mistake when you're in a critical area :-)Outlook Web Access For PDA , OWA For WAP www.owa-pda.com email a@t leederbyshire d.0.t c.0.m
May 16th, 2011 11:09am

Ah ha, Well I have still been tinkering and have discovered that you can actually force the lowercase domain without having to ADSIEdit. Earlier I played around with the Address policies, when manually entering the domain as a custom address in lowercase it looks correct wheras picking it doesnt. This made me think I cracked it earlier but when I tested it removing the address and re-applying the policy to myself the upercase versino came back however it seems I made the schoolboy mistake of not waiting long enough. And so it does work :) No CC for me then :) :) Thanks All...
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 12:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics