Re: What is Best Practice for Changing Email Address Format?

Tech-Archive recommends: Fix windows errors by optimizing your registry



This is really an Exchange question but they would just tell you to use the GUI... ;)

You need to change the primary proxyaddress and the mail attribute of each user. The proxyaddresses are maintained in the attribute called...tada proxyaddresses. The primary SMTP address is the address with the capitalized SMTP: in front. The rest of the smtp addresses should all be smtp:. The mail attribute is called... mail.

The first thing you should do is change your recipient policy in Exchange to use the new format, go ask the exchange guys how to do that if you don't know how there is no reason to do that in a script as it is a one off.

So in order to change an address here is the steps you would follow if you want to script it.

1. delete the current primary SMTP address.

2. re-add the SMTP address that was just deleted but prefix with smtp: instead of SMTP:

3. add the new primary SMTP address with a prefix of SMTP:

4. change the mail attribute to the new smtp address, no prefix.



--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



razor wrote:
Hello--

We are a company with about 65 mailboxes running on Exchange Server 2003 and Windows Server 2003 and decided we want to change our email addresses from first name, first initial of last name, to first initial of first name and last name.

In active directory, all of our user names follow the email address format for network logon, etc. What are the ramifications of changing our email address formats? Is there is good KB article on this?

We would like to have the old email address accept email as well as the new email address for about a three month crossover, and then we want to no longer accept email addressed to the old addresses.

Any help on this would really be appreciated.

Many thanks,

sd
.



Relevant Pages

  • Re: particulars of MailEnable
    ... You may want to check out the book in my signature as I have a chapter in there on writing scripts for Exchange that you might find useful. ... Joe Richards Microsoft MVP Windows Server Directory Services ... the RUS should set that address as the primary SMTP and then add a secondary based on the recipient policy. ... Setting ProxyAddresses doesn't set TargetAddress. ...
    (microsoft.public.exchange2000.development)
  • Re: SBS 2003 PDA Sync Problem - Error 0x85010014
    ... ActiveSync does not have an SMTP address that matches the default domain ... Start Exchange System Manager. ... Get properties of the Exchange virtual directory. ...
    (microsoft.public.backoffice.smallbiz)
  • [NT] Vulnerability in Exchange Server Allows Remote Code Execution (MS05-021)
    ... A remote code execution vulnerability exists in Microsoft Exchange Server ... their choice in the security context of the SMTP service. ...
    (Securiteam)
  • Re: SMTP Sharing HELP!!
    ... If your Recipient Policy applies to Contacts, ... your smtp domainalso in the email addresses tab. ... Are there any KB articles for setting up the Exchange Server on the ...
    (microsoft.public.exchange.setup)
  • Re: NDR delivery delayed errors keep coming, any advice?
    ... I tried to send a note to my home account via the telnet commands ... But that in no way afffects mail delivery, ... All e-mails from my Exchange server to yahoo seem to be ... Telnet to Port 25 to Test SMTP Communication ...
    (microsoft.public.windows.server.sbs)