<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

How to Edit and Add a Legacy X500 Address Into The New Mailbox

Published on
4,872 Points
872 Views
Last Modified:
There might be times that you will need to associate an SMTP address from one mailbox to another within your exchange organization. You then notice that your help desk start to receive complains that messages sent to that mailbox by some people bounce back. Let's talk about the issue.

If for any reason if you move an SMTP address from one mailbox to another, your  help desk start to receive complains that certain users (Not All) receive the following bounce backs when sending messages to that mailbox:



Here is the reason for this bounce back:


Internal exchange messages inside the organization normally have the recipient’s information resolved to LegacyExchangeDN attribute (Underlined in Red). 


In this case since this address was assigned to a different mailbox the old LegacyExchangeDN value is changed; so, if a user who has sent an email to that address that was associated with the old mailbox sends an email after the change, they will get this bounce back because the LegacyExchangeDN value is cached on their outlook. There is no problem for people who never sent to that address before.


Now if you see the bounce back Diagnostic Information message above you see that it provides you with the Legacy Exchange DN (Boxed in Red), Or you can access that by clicking on the name in the body of bounce back message:


IMCEAEX-_o=COSTARGROUP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=8da2b5094c364af7bb8861ce9064020a-ransnary@domain.com


We need to add the above X500 to the new mailbox, the tricky part is that the above x500 is in an encoded (Messed Up) format and we need to clean up to bring it to the right format. here is how it's done


Step-by-step guide


  1. Get rid of the _ and replace it with


/o=COSTARGROUP/ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29/cn=Recipients/cn=8da2b5094c364af7bb8861ce9064020a-ransnary@domain.com


    2. As you can see you will notice some numbers like +20,+28,+29

        Convert +20 with a Space

        Convert +28 with a (

        Convert +29 with a )

        Convert +2E with a .


So now, replace the values as described and you should get the following:

/o=COSTARGROUP/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=8da2b5094c364af7bb8861ce9064020a-ransary@domain.com


    3. Remove the @Domain.com and just keep the username

/o=COSTARGROUP/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=8da2b5094c364af7bb8861ce9064020a-ransary

Now simply add the final cleaned up proper x500 address to the mailbox via exchange management shell:


Set-Mailbox -Identity ransary -EmailAddresses @{Add = 'X500:/o=COSTARGROUP/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=8da2b5094c364af7bb8861ce9064020a-ransary'}


Sometimes you may need to update the legacyexchagedn attribute itself as well. unlikely but I have run into that situation as well. 



0
Comment
0 Comments

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Join & Write a Comment

how to add IIS SMTP to handle application/Scanner relays into office 365.
Please check the video also in regards to recovery of deleted emails from office 365 admin center and through the MFCMAPI tool. I have mentioned each and every step with the proper steps that need to be taken care of.
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month