Computing at SLAC
Search SLAC

Changing Exchange ID

First add the new Mailrouter entry (this will also ensure that the one they've chosen has not been used by anyone else yet). Mailrouter db is read at 15 minutes before each hour. The UNIX gateways read the database and update their routing tables at the top of each hour. If you make the Mailrouter changes before the cut-off then you can expect them to be done at the top of the next hour. If you update during those 15 minutes before the hour then you've missed the top of next hour job but it will be done on the next round.

In this example we are changing "roberson" to "linda".

Check that their New ID is Available
->res list user linda -morgue
Systemid Type Person uid Group Status Created Expires
-------- ---- ------ --- ----- ------ ------- -------
linda unix 17663 2513 qa Disabled 16-OCT-96 31-AUG-00
Linda Crum <No_Email>
In this case "linda" had already been used and we cannot allow it to be re-used. Go ask the user for another userid.

In this example we are changing "roberson" to "lprice".

Update Mailrouter
First add the new one:
->res add user lprice mail
res_login: Enter afs password for admin id 'teresa-a'.
Password:
Enter person, '?', or 'quit': roberson
Using Linda Roberson's id of 205168? (n | y | q): y
Enter email dest '?', or 'quit': lprice@exchange.slac.stanford.edu
Add mail entry linda for Linda Roberson? (n | y): y
mail id linda added.
Make it "advertised" with the -m option:
->mailrouter -a -e lprice -p lprice@exchange.slac.stanford.edu -m
mailrouter: enter password for administrator 'teresa-a'.
Password:
mailrouter: 'lprice' is Linda Roberson's primary id for 'lprice@exchange.slac.stanford.edu'.
mailrouter: Change it to be primary for 'lprice@exchange.slac.stanford.edu'?
mailrouter: Reply no, yes, or abort: yes
mailrouter: 2 entries updated.
Then change the existing ones (change all that point to the old ID (e.g. roberson@exchange.slac.stanford.edu):
->mailrouter -a -e lprice -p lprice@exchange.slac.stanford.edu
mailrouter: enter password for administrator 'teresa-a'.
Password:
mailrouter: 'lprice' is Linda Roberson's secondary id for 'roberson@exchange.slac.stanford.edu'.
mailrouter: Change it to be primary for 'lprice@exchange.slac.stanford.edu'?
mailrouter: Reply no, yes, or abort: yes
mailrouter: 1 entry updated.
Add the new exch account:
->res add user lprice exch
res_login: Enter afs password for admin id 'teresa-a'.
Password:
Enter person, '?', or 'quit': roberson
Using Linda Roberson's id of 205168? (n | y | q): y
Add exch entry lprice for Linda Roberson? (n | y): y
exch id lprice added.
Remove the old exch account:
->res del user roberson exch
res_login: Enter afs password for admin id 'teresa-a'.
Password:
Delete exch entry roberson for Linda Roberson? (n | y | q): y
1 entry deleted.
Check the existing mailrouters:
->mailrouter -n roberson
Electronic Mail ID Route Destination (username)
------------------ ----- -----------
roberson --> lprice@exchange.slac.stanford.edu (Linda Roberson)
lprice <+> lprice@exchange.slac.stanford.edu (Linda Roberson)
linda.roberson --> lprice@exchange.slac.stanford.edu (Linda Roberson)
Check the existing accounts in RES:
->res list user -p 205168
Systemid Type Person uid Group Status Created Expires
-------- ---- ------ --- ----- ------ ------- -------
roberson mail 205168 None gl Enabled 15-JAN-02 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
roberson unix 205168 7222 gl Enabled 10-JAN-02 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
roberson afs 205168 7222 gl Enabled 10-JAN-02 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
roberson win 205168 None gl Enabled 25-JUL-03 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
roberson orcl 205168 None none Enabled 30-SEP-03 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
lprice mail 205168 None none Enabled 08-APR-05 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
lprice exch 205168 None none Enabled 08-APR-05 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
linda.roberson
mail 205168 None none Enabled 07-APR-05 None
Linda Roberson <lprice@SLAC.Stanford.EDU>
8 matching entries were found.
Update Active Directory
Open this person's account in the ADU&C GUI and select the E-mail Addresses tab. Add 3 new entries for the new ID: lprice@exchange.slac.stanford.edu; lprice@exch-anon.slac.stanford.edu; lprice@slac.stanford.edu
Wait for Mailrouter to Update
After the mailrouter updates we know that lprice is a valid email destination in Exchange and mailrouter is no longer going to be sending emails to the roberson identity.
Change the Primary Email ID and Exchange Alias in AD
Using the ADU&C GUI interface again:
General tab: change e-mail address to their new one;
Exchange General tab: change the exchange alias to the new ID.
Notify User (and Move Mailbox if First Letter Changed)
You can notify the user the change of ID is complete but if the change results in a different mailbox database then you need to also let the user know that you need to move their mailbox that evening. You can schedule the move via the ADU&C GUI Exchange Tasks panel.
Final Clean-Up
Once you can see their new e-mail address in the GAL then you can remove the old e-mail addresses from their mailbox in ADU&C.
Using the E-mail addresses tab: delete the e-mail entries for the old ID. Don't delete the X400 one though.
Then create a Contact for them in the SCS\Contacts OU for the e-mail address you just removed (roberson).

  Last Updated: 07/22/2010
  Send Us Feedback 
  Mail Admin Team