Link to home
Start Free TrialLog in
Avatar of redman20111
redman20111

asked on

LegacyExchangeDN queries

Running Exchange 2007 SP2 and Outlook 2007 SP2.

Had some questions about LegacyExchangeDN.

1. Is this value used by Outlook for all mail objects (DL email address, mailbox addresses, Contacts etc)?

2. Let's say I have a user with email address john.doe@domain.com. His username is Domain\JohnD. His Alias is JohnD. I delete his mailbox and then recreate it again a week later. Will the LegacyExchangeDN value still be the same?

3. For the example above, after the mailbox is recreated will users still be able to email him using Outlook cached entry?

4. Does Outlook cached entry always use LegacyExchangeDN? Or is it for replies or new messages using cached entry only?

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of FDiskWizard
FDiskWizard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of redman20111
redman20111

ASKER

Thanks!

Akhater  - not sure of your answer for #2? And could you expand on your reason for #3?

Both - for #4, so you're saying that Outlook uses the x.500 address for internal routing? But does it use this for replies only or also when a new email is composed using the cached entry?
lol sorry it seems I was sleepy :)


2. no the LegacyExchangeDN will not be the same when you create another user with the same name, it will be different each time and thus the x500 address will be different


3. since the x500 address is different people sending emails to that user using chached addresses will bounce back that user not found

4. If you reply to an email it will bounce, if you compose a new email and you have previously emailed this user the email address of this user is cached in the nk2 file of outlook so it will bounce also. if you clear it from the cache and send an email selecting it from the GAL it will not bounce


the easy way around is to manually change the x500 address of the new user to match the old one and avoid all these issues
Great...

#2: Do you know why the LegacyExchangeDN is different each time we create a new mailbox? I thought it just referenced the location in AD via the DN.

#4: Do you know how to get the LegacyExchangeDN value from a bounce? I've asked that question here https://www.experts-exchange.com/questions/26897418/Problems-emailing-recreated-mailbox.html
It is my understanding that the LegacyDN is created using the ALIAS. And you can define the alias when creating a user, on the "Create an Exchange Mailbox" dialog screen.
On my system, the alias defaults to the username...

I just tested, and the LegacyExchangeDN was created with the Exchange ALIAS at the end for CN={Alias}. I then deleted the account, recreated with same username, and same alias, and the LegacyExchangeDN was created exactly the same also.

As far as logging LegacyDN NDRs, I'm not sure... but look at this.
http://technet.microsoft.com/en-us/library/bb124840(EXCHG.65).aspx
Cranking up logging MIGHT show the actual LegacyDN used.

Or maybe you can see it in normal logging produced when Message Tracking is enabled.
In EMC: Server properties > General tab should have 'Enable message tracking" and the path to the log file directory. Those logs can be viewed by Excel (Open from Excel, and import as Delimited > TAB delimited). I checked and I do see what appers to be the LegacyDN in the logs, under the receipient column..