How to decode the x500 address in a bounce message, so I can add it to a user’s account

email-bouncesexchange-2010

I moved a user's email account, and now cached x500 addresses to the user are failing. How do I translate the x500 in the bounce message to the correct x500 alias I should add to their mailbox?

Bounce text:

IMCEAEX-
_O=ORGANIZATION_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=John+20Doeb81@company.com

Matching x500 address:

/O=ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=John Doe

I am reasonably certain of the entire translation except that b81 near the end. However this translated x500 address (either with the b81 included or truncated) does not work for getting mail to properly arrive when I add it to the user. Is there documentation (or even better… a copy-paste translator page) on how to reverse engineer the correct x500 to add to the user so that cached account credentials continue to work?

Best Answer

After much pain and suffering, our mail admin finally found a translation method that works:

IMCEAEX-_O=ORGANIZATION_OU=First+20Administrative+20Group_cn=Recipients_cn=Userb81company.com

/o=ORGANIZATION/ou=First Administrative Group/cn=Recipients/cn=User

The issue was case sensitivity; the o=, ou=, and other things are case sensitive and the correct case is not always represented in the error. Very frustrating. I hope this helps someone!