Exchange 2013邮箱转发即使已禁用

我有一个用户,他的电子邮件转发到gmail.com。 Latly我通过ECP禁用了这个选项,它没有像转发这样的设置。 但是他的电子邮件从来没有进入他的邮箱。

HARED... SMTP [email protected] {account@reprezenta... T34 RECEIVE SMTP [email protected] {account@reprezenta... T34 RESOLVE ROUTING [email protected] {[email protected]} T34 REDIRECT AGENT [email protected] {[email protected]} T34 EXPAND AGENT [email protected] {[email protected]} T34 AGENT... AGENT [email protected] {[email protected], account... T34 RESUBMIT AGENT [email protected] {[email protected], account... T34 DROP ROUTING [email protected] {[email protected]} T34 AGENT... AGENT [email protected] {[email protected]} T34 

这是禁用转发。 然而,如果我再次去ECP,我看到这个消息:

在这里输入图像说明

如果这些字段在设置时为空,为什么要显示此消息?

我现在可以确认:

 [PS] C:\Windows\system32>Get-Mailbox | Where {$_.ForwardingAddress -ne $null} Name Alias ServerName ProhibitSendQuota ---- ----- ---------- ----------------- Account account exchange Unlimited 

但我甚至运行以下命令:

 [PS] C:\Windows\system32>Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Set-Mailbox -ForwardingAddress $null -De liverToMailboxAndForward $false [PS] C:\Windows\system32>Get-Mailbox | Where {$_.ForwardingAddress -ne $null} 

没有结果。 我进入GUI转发地址被清理。

在这里输入图像说明

我再次设置它只是为了testing,并再次有关转发电子邮件在那里的消息。

在这里输入图像说明

那么怎么了? 它是Exchange 2013 – >版本15.0(内部版本775.38)。 所以CU3。

所以我进一步调查。 这里要检查的是: forwardingsmtpaddress不是空的。

 get-mailbox -Identity account | fl alias, forwardingaddress, forwardingsmtpaddress 

即使你通过graphics用户界面禁用了它,它似乎仍然保持着设置。 清理后,它开始正常工作。 为什么GUI取消选中,甚至PowerShell命令不能正常工作,因为当forwardingsmtpaddress是我的头。 据我所知,这似乎是Exchange 2013 CU3中的一个错误。

 Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Set-Mailbox -ForwardingAddress $null -ForwardingSmtpAddress $null -DeliverToMailboxAndForward $false 

这清理了它(虽然它只适用于启用转发)。 我会很高兴知道为什么这是为什么。 我做了一些检查,似乎字段forwardingsmtpaddress设置联系人转发时没有设置,所以这次为什么设置。 好吧。 希望有人会发现它有用。