530 5.7.1 Client was not authenticated

搭了一个Exchange服务器, 用这个测试SharePoint的Alert email. 可是怎么都收不到第一封subcription成功的邮件.

 

怀疑问题出在Exchange上. 经过测试, 两个outlook客户端可以成功的使用这个exchange收发邮件.

 

Exchange独立工作正常, 错误可能出现Exchange与SharePoint的连接上.

  1. Ping Exchange服务器, 有回复. 如果没有回复, 就要检查防火墙了.
  2. 使用Telnet测试发送一封邮件, 失败.

报错:

530 5.7.1 Client was not authenticated

 

经过搜索, 找到解决方案如下.

开启Exchange Management Shell, 输入如下命令:

Set-ReceiveConnector "Default <Servername>" -permissiongroups:"ExchangeUsers,ExchangeServers,ExchangeLegacyServers,AnonymousUsers"

或者

Set-ReceiveConnector -Identity "Default <ServerName>" -PermissionsGroup "AnonymousUsers"

 

再次尝试发送, 成功! 问题解决.

 

解释

=======

在single-server的exchange 2007配置的情况下, 我们需要在默认的receive connector上开启匿名连接. 默认情况下, 没有运行着Edge Transport角色的Exchange 2007 Hub Transport服务器仅允许来自内部的smtp连接, 包括:

  • Exchange Users (clients)
  • Other Exchange 2007 servers
  • Exchange Legacy Servers (legacy Exchange 2003 & below servers)

所以, 我们需要开启允许匿名直接连接到服务器.

在界面上是无法修改这项认证设置的. 修改的方式就是通过Exchange 的power shell命令行工具.

 

参考资料:

exchange 2007 Client was not authenticated

http://forums.msexchange.org/m_1800412705/mpage_1/key_/tm.htm

Can't Send or receive external emails in exchange 07

http://social.technet.microsoft.com/forums/en-US/exchangesvrdeploy/thread/f6a480e9-e219-49ed-a374-b0286ed7a53c/

你可能感兴趣的:(client)