Changing Exchange 'Alias' attribute on user

kam_uk
kam_uk used Ask the Experts™
on
Hi

We are running Exchange 2007 SP1 and AD 2003.

I have heard that Exchange/AD uses the Alias attribute to route mails internally, not the actual email address.

However - I've created a test accout, mailed it so that it was in my auto-complete, then changed the Alias on it and tried to use the cached entry, and the mail has still been delivered.

I am using Outlook 2007 SP2 in Cached Exchange mode - shouldn't the result be that the mail was not delivered since the cached entry pointed to a different Alias?

Secondly, if I create a mail enabled Contact in my AD (e.g. kam@hotmail.com) - I assume routing to that *does* use the email address property, since it's external?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Secondly, if I create a mail enabled Contact in my AD (e.g. kam@hotmail.com) - I assume routing to that *does* use the email address property, since it's external?

YES it will work without any problem i have done this for many times


I am using Outlook 2007 SP2 in Cached Exchange mode - shouldn't the result be that the mail was not delivered since the cached entry pointed to a different Alias?

we never experienced this problem as per my knowledge exchange use email address to deliver the mail becoz one user may have more than one mail addresses .

Commented:
Yes, Exchange uses primary SMPT address to deliver email,so changing alias name will not be effected.
If for any other reason you want to change alias name for bulk users, you can use tool from below link.
http://www.wisesoft.co.uk/software/passwordcontrol/bulk_modify.aspx
You can also use Admodify tool.
 
Solutions Architect
Commented:
I am sorry but this is not entirely true,

In Exchange 2000/2003 internal communication of works based on legacyExchangeDN which is being created when user/mailbox is created first time and it uses the users alias in addition to other parameters.

But that is during creation of user/mailbox and it doesn't check or change later when you change alias. So when you change alias, legacyExchangeDN will not change and auto-complete doesn't affect.

In exchange 2007/2010 internal email routing happens on the SMTP address but it still uses legacyExchangeDN for backward compatibility
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Hi All - thanks for replying.

So, Akhater - if I am correct in my understanding, what you are saying is:

i) In Exchange 2000/2003, internal mail routing is carried out using the legacyExchangeDN. This is created at the time of mailbox creation using the Exchange alias attribute..however - if I manually change this Alias attribute at any time, then the legacyExchangeDN is NOT changed - it stays the same throughout the mailbox's history? Therefore, even if I change someone email address, it doesn't matter for other internal users who have that user in their auto-complete, since that would be using the legacyExchangeDN as the cached value to send email to?

ii) in Exchange 2007/2010 - internal mail routing no longer uses the legacyExchangeDN between 2007 servers, but the SMTP address (in which case - which one, the primary SMTP?)? Do you have a link that details more about this new method of internal mail routing in Exchange 2007?
AkhaterSolutions Architect

Commented:
1) is perfectly right, i would just replace even if you change the alias of someone and not the email address since the LegacyExchangeDN is based on the alias and not the email

2) I which I had a link but I don't, the primary email address is the one set as default (bold) in the email addresses tab
AkhaterSolutions Architect

Commented:
this might help you shed more light on the issue (unfortunately 2003)
http://www.msexchange.org/tutorials/Understanding-LegacyExchangeDN.html

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial