A user states they received a 5.1.1 NDR after attempting to send an email to an internal user. The body of the NDR indicates the recipient email address is similar to this:
mailto:IMCEAEX-_O=MMS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=User6ed4e168-addd-4b03-95f5-b9c9a421957358d@mgd.domain.com
The reason this occurs is because the user attempted to use Outlook AutoComplete to send an email to an object (mailbox, DG, contact, etc) that has been recreated.
Convert the email address shown in the NDR to an x500 address we can add to the recipient's proxyAddresses.
1. Using the conversion rules below, convert the NDR email address:
2. Add the resulting address as an alias to the original recipient's mailbox using the following command in Exchange Management Shell:
Set-Mailbox "user@domain.com" -EmailAddresses @{add='convertedaddress@domain.com'}
Alternately you can use the following script to convert the NDR address:
[string]$a = Read-Host "Enter the email address listed in the 5.1.1 NDR"
$b = $a -replace 'IMCEAEX-', 'x500:'
$c = $b.Split("@")[0]
$d = $c -replace "_", "/"
$e = $d -replace "\+20", " "
$f = $e -replace "\+28", "("
$g = $f -replace "\+29", ")"
$h = $g.ToLower()
Write-Host "The converted legacyExchangeDN is:`n`n$h" -ForegroundColor Green
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)