IMCEAEX Bounce After Mailbox Recreated
Holy hell this was a weird one.
Getting bounces on external emails that I’d never seen before Everything seemed fine Had to get Claude on to it (I do actually try to avoid that)
The user’s mailbox wasn’t made new for them, it was a rename of an existing person who left, and some little piece of that previous name was still lodged in there and decided to start breaking stuff.
I guess that’s not that weird on it’s down, but this user had been there at least as long as I’ve worked here.
So that issue took at least 6 years to show its head
Honestly can’t even be mad, props on the patience.
Symptom
An internal email to a colleague bounces with:
550 5.1.11 RESOLVER.ADR.ExRecipNotFound; Recipient not found by Exchange Legacy encapsulated email address lookup
The recipient in the NDR is an IMCEAEX-... address instead of a normal email address. Usually it’s a reply on an old thread, or the sender picked the person from autocomplete.
Cause
The recipient’s mailbox was recreated or migrated at some point, and the old mailbox’s LegacyExchangeDN didn’t come across. Outlook autocomplete, old threads and old meeting invites still point at the old one, which no longer exists.
Decode the IMCEAEX address to get the old LegacyExchangeDN:
IMCEAEX-prefix and the@domainon the end come off_→/+20→ space,+28→(,+29→),+2E→.
You end up with something like:
/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=<guid>-<alias>
Confirm
# Nothing in the tenant should have it
Get-Recipient -ResultSize Unlimited | Where-Object { $_.LegacyExchangeDN -match '<guid>' -or $_.EmailAddresses -match '<guid>' }
Get-Mailbox -SoftDeletedMailbox | Where-Object LegacyExchangeDN -match '<guid>'
# The current mailbox will have a different LegacyExchangeDN and a recent WhenCreated
Get-Mailbox <user> | Format-List DisplayName,PrimarySmtpAddress,LegacyExchangeDN,WhenCreated,EmailAddressesFix
Add the old LegacyExchangeDN to the current mailbox as an X500 proxy address:
Set-Mailbox <user>@domain.com -EmailAddresses @{add="X500:/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=<guid>-<alias>"}Give it 15–30 minutes, then resend.
Every cached reference (autocomplete, old threads, invites) now resolves to the right person, and nobody has to clean up their own Outlook. Deleting the stale autocomplete entry on the sender’s side is optional after this.
Tip
- The alias on the end of the cn (
-jadeetc.) is just whatever the old object was created as. Don’t worry if nobody recognises it. - If other people were recreated around the same time, expect the same bounce for them. The same fix works.