更改名称后无法发送 Exchange 消息

更改名称后无法发送 Exchange 消息

我有两个用户几个月前更改了姓氏。最近,我正在排查为什么他们没有出现在全局地址列表中。原因是他们的“邮件” ADSI 属性仍然有他们的旧别名。我查看了其他几个字段,但很确定我已正确设置了所有内容(除了邮件字段,我认为还有一个包含名称“legacy”的字段)。

顺便说一句,自从我开始在这里工作以来,更改名称的程序就是创建一个全新的 AD 和 Exchange 用户,并导出/导入数据和 .PST 文件,所以我们不会遇到这样的事情。我将这些视为这些用户的最后手段。

从那时起,每当其他用户尝试通过 Outlook 向这些人发送电子邮件时,他们都会收到如下无法送达的消息:

Delivery has failed to these recipients or distribution lists:

Barbara NewLastName
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.

  _____  

Sent by Microsoft Exchange Server 2007 







Diagnostic information for administrators:

Generating server: mail.MyDomain.com

IMCEAEX-_O=MyDomain_OU=First+20Administrative+20Group_cn=Recipients_cn=bOldLastName@nbutexas.com
#550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ##

Original message headers:

Received: from mail.MyDomain.com ([192.168.200.3]) by mail
 ([192.168.200.3]) with mapi; Mon, 11 Mar 2013 10:56:14 -0500
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Sarah Sender <[email protected]>
To: Barbara NewLastName
    <IMCEAEX-_O=MYDOMAIN_OU=First+20Administrative+20Group_cn=Recipients_cn=bOldLastName@MyDomain.com>
CC: Daniel SomeoneElse <[email protected]>
Date: Mon, 11 Mar 2013 10:56:13 -0500
Subject: FW: The Subject
Thread-Topic: The Subject
Thread-Index: Ac4cTWKfaQjD6MaWTUOOIrrWlcn91AAAdmEwAIhri+A=
Message-ID: <3A90EE12812EA74ABCAF358A8B0C4264040724A0EA@proteus>
References: <[email protected]>
In-Reply-To: <[email protected]>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: <3A90EE12812EA74ABCAF358A8B0C4264040724A0EA@proteus>
MIME-Version: 1.0

请注意,旧名称仍然会在该错误消息中出现。

真正的关键在于:如果发件人通过 OWA 发送,则邮件会顺利通过。如果我关闭发件人的 Outlook,然后重新启用缓存 Exchange 模式,并且删除有问题的收件人的旧自动填充条目,那么问题就会得到解决。

问题是,在公司范围内对 230 多人的 Outlook 进行这样的操作是不切实际的。我想知道服务器上还发生了什么事情导致出现此问题。

我使用了更新脱机通讯簿的 cmdlet,但显然没有用。问题已经持续了 4 或 5 天。

答案1

当您更改 Exchange 用户的姓名时,其 X.500 地址会发生变化。X.500 地址是 Outlook 缓存的,用于每个人都在使用的预先输入查找。

使用上面的 NDR,将其作为附加 X.500 地址添加到她的邮箱:

/O=MyDomain/OU=First Administrative Group/cn=Recipients/[email protected]

答案2

正在发生改变的是 LegacyExchangeDN。在下面的 AddressBook 日志文件中找到用户的旧 LegacyExchangeDN,然后在那里搜索该用户:

C:\Program Files\Microsoft\Exchange Server\V14\Logging\AddressBook Service

你应该找到类似这样的内容:

/O=MyDomain/OU=First Administrative Group/cn=Recipients/cn=username

其中的整行内容如下:

2013-04-12T12:18:49.363Z,9,0,/O=MyDomain/OU=First Administrative Group/cn=Recipients/cn=username,,192.168.1.157,servername,ncacn_ip_tcp,GetNewDSA,,5,Self,,Kerberos,

只需从那里复制正确的部分即可。

然后打开ADSIEdit并找到您的用户,打开属性并转到“legacyExchangeDN”,单击编辑并用从日志文件中复制的内容替换所有内容。

您还可以查看出现错误的用户的 NK2 文件,以及它使用的 legacyExchangeDN。只需使用记事本或任何编辑器即可打开 NK2 文件。

相关内容