Enable-Mailbox Details
I just need a quick confirmation.Enable-mailbox cmdlet when ran with -PriamrySMTPAddress option:
1. Creates a mailbox, 2. Removes participation in EAP. 3. Sets value of PrimarySMTPAddress to the proxy value in proxyAddresses4. Does not modify the Mail attributeIs there an issue in Exchange 2007 having mail and proxyAddresses "SMTP:etc" mismatched?
September 4th, 2008 2:26am
Exchange server does not use the mail attribute, but rather the SMTP addresses in the proxyAddresses attribute. The mail attribute is there for users that do LDAP queries of the Active Directory. In most cases, the mail attribute matches the primary SMTP address of the user, but I don't see any problems if they don't match, though I have never tested it.
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2008 2:39am
In Exchange 2003 SP2, it generates an error 9325 - OAL Generator while creating Offline Address Book and user will not be added into OAB if aliases of mail & SMTP: are different.
How to use OABInteg's oabfldcheck and proxytest to troubleshoot OAB Generation issues and Missing objects after an OAB downloads
I am not sure about Exchange 2007 but I guess it remains same behavior. You may try by creating a test account and changing mail & proxyAddresses in Exchange 2007.
September 4th, 2008 4:49am
Jim, I completely agree with you that Mail attribute was designed independently from Exchange. However, the 9325 events, pointed out by Amit, is what I remember in my Exchange 2003 administration days.It appears that there is an KB936197 that shows the problem still exists in Exchange 2007 RTM. It should be fixed in SP1, however I have tested in my dev/qa environment which is at ex2k7sp1 that using "enable-mailbox -PrimarySmtpAddress" an administrator can create mismatches. I'll try re-testing the OAL generation tomorrow and see if it actually causes problem of any kind. I do have some thoughts and questons. I think that enable-mailbox would force primarySmtpaddress value to both proxyAddresses and mail for compatibilty sake. What happens during co-existence where OAL generation is still performed by Ex2k3 server?
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2008 6:44am
Yes, Mail attribute will sync with ProxyAddress after you reset the PrimarySmtpAddress. Old PrimarySmtpAddress will be kept as Second Address. Also changed address is appeared well in OAB
Testing Environment: Exchange 2007 SP1
1. Enable test account test@domain.com
2. Check ADSIEditor, ProxyAddress and Mail attribute has been generated normally
3. OAB is also working well
4. Change PrimarySmtpAddress in the EMS
5. Check ADSIEditor, ProxyAddress and Mail attribute has been synchronized well
6. Test account also OK in OAB
September 4th, 2008 1:07pm
Cool... Thanks for the update James....
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2008 1:11pm