Exchange 检测工具
测试 Exchange 的 Autodiscover、EWS 和 SMTP 连接
本页提供关于检测 Microsoft Exchange 与 Microsoft 365 邮件环境的原创、经人工审校的内容,解释自动发现线索、MX 特征,以及检测结果对迁移与集成项目的意义。
Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems and provides email, calendar, contacts, and task management capabilities.
关键 Exchange 服务:
- Autodiscover:自动为邮件客户端配置服务器设置
- Exchange Web 服务(EWS):用于以编程方式访问 Exchange 数据的 API
- SMTP/IMAP/POP3:用于收发邮件的标准邮件协议
- ActiveSync:移动设备同步协议
Exchange 部署类型:
本地部署的 Exchange
由你的组织自行托管的 Exchange 服务器
Exchange Online(Office 365)
由 Microsoft 托管的云 Exchange 服务
Autodiscover is a service that automatically provides configuration information to email clients. It eliminates the need for users to manually configure server settings in their email applications.
Autodiscover 的工作原理:
- 邮件客户端从用户的邮箱地址中提取域名
- 客户端尝试连接各种 Autodiscover URL
- 服务器以 XML 配置数据作为响应
- 客户端自动配置邮件设置
常见 Autodiscover URL:
Exchange Web Services (EWS) is a web service API that enables applications to access Exchange server data. It provides programmatic access to email, calendar, contacts, and tasks.
EWS 功能:
- 发送、接收和管理邮件
- 访问和修改日历约会
- 管理联系人和通讯组列表
- 处理任务和待办事项
- 访问公用文件夹和共享邮箱
EWS 端点示例:
Exchange Online
本地部署的 Exchange
Autodiscover 失败
Autodiscover service not responding or returning incorrect configuration.
解决方案:
- 确认 autodiscover.domain.com 的 DNS 记录
- 检查 SSL 证书的有效性
- 确保 IIS 和 Exchange 服务正在运行
- 检查 Exchange 虚拟目录设置
EWS 连接问题
Unable to connect to Exchange Web Services endpoint.
解决方案:
- 确认 EWS 虚拟目录已启用
- 检查认证方式(Basic、NTLM、OAuth)
- 确保防火墙和代理配置正确
- 使用 Exchange 远程连接分析器进行测试
SMTP 认证问题
SMTP server rejecting authentication or connection attempts.
解决方案:
- 确认 SMTP 认证已启用
- 检查 TLS/SSL 配置
- 确保端口使用正确(提交用 587,中继用 25)
- 检查 Exchange 接收连接器设置
证书问题
SSL/TLS certificate problems affecting secure connections.
解决方案:
- 确保证书包含所有必需的 SAN
- 确认证书未过期
- 检查证书链和根 CA 信任
- 将证书分配给 Exchange 服务
