0

所以,这将是我最后一次尝试在这个问题上获得一些帮助。我也已经在 reddit 上发了一篇关于这个的帖子,但到目前为止,还没有解决方案。

我正在运行一个 ISPConfig 服务器。它有一个 Automail 插件(自动配置和自动发现)。Thunderbird 的自动配置工作正常。使用所有正确的设置。Autodisover(Outlook 2016 和 W10 邮件)使用了错误的设置。

tldr:Outlook 2016 使用错误的服务器详细信息 (imap/smtp.client.com) 而不是返回的 XML (mail.server.com)。我不明白为什么。

此图像应显示自动转移的流程:

在此处输入图像描述

到目前为止我做了什么:

1 https://testconnectivity.microsoft.com/ -> Microsoft Office Outlook 连接测试仅警告是:Microsoft 连接分析器只能使用 Windows 更新中的根证书更新功能验证证书链。如果未启用“更新根证书”功能,您的证书在 Windows 上可能不受信任。

2 https://docs.microsoft.com/en-us/outlook/troubleshoot/domain-management/unexpected-autodiscover-behavior -> 使用注册表设置禁用除 SRV 查找之外的所有自动分发方式

  • 首选LocalXML => 0
  • 排除HttpRedirect => 1
  • 排除HttpsAutoDiscoverDomain => 1
  • 排除HttpsRootDomain => 1
  • 排除ScpLookup => 1
  • 排除服务记录 => 0
  • ExcludeLastKnownGoodURL=> 1
  • ExcludeExplicitO365Endpoint => 1

3 使用outlook“自动邮件配置测试”(在outlook打开时(未配置账户),ctrl+右键单击系统托盘图标)并测试账户。所有的测试都成功了,只使用了 SRV 查找,并且返回的 XML 在所有正确的设置(服务器、端口等)下都是正确的。

奇怪的是,Outlook 仍在使用 imap.client.com 和 smtp.client.com 而不是 XML 值返回 bij SRV 查找。

XML 返回是:

<?xml version="1.0" encoding="UTF-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <SSL>on</SSL>
        <Type>IMAP</Type>
        <LoginName>info@client.com</LoginName>
        <Server>mail.server.com</Server>
        <Port>993</Port>
        <SPA>on</SPA>
        <AuthRequired>on</AuthRequired>
        <DomainRequired>on</DomainRequired>
      </Protocol>
      <Protocol>
        <SSL>on</SSL>
        <Type>POP3</Type>
        <LoginName>info@client.com</LoginName>
        <Server>mail.server.com</Server>
        <Port>995</Port>
        <SPA>on</SPA>
        <AuthRequired>on</AuthRequired>
        <DomainRequired>on</DomainRequired>
      </Protocol>
      <Protocol>
        <UsePOPAuth>on</UsePOPAuth>
        <SSL>on</SSL>
        <Type>SMTP</Type>
        <LoginName>info@client.com</LoginName>
        <Server>mail.server.com</Server>
        <Port>465</Port>
        <SPA>on</SPA>
        <AuthRequired>on</AuthRequired>
        <DomainRequired>on</DomainRequired>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

但是打开日志记录时前景显示的是:

{
  "Session ID":"587DD5A1-9F5B-4412-8B0F-060F7070C523"",
  "Client ID":"B34F4741-9DB1-4E80-93AD-3DD5830DD83F"",
  "Profile name":"Outlook"",
  "Accounts in profile":[]",
  "AutoDetect settings":
  {
    "Services":[]",
    "Protocols":[
      {
        "Protocol name":"ExchangeAutodiscover"",
        "Autodiscover":""",
        "Domain":""",
        "Server name":"autodiscover.server.com"",
        "Port":0",
        "Encryption":"Unknown"",
        "Protocol insecure reason":"Unknown"",
        "User name":"info@client.com"",
        "Validated":false
      },
      {
        "Server type":"Incoming"",
        "Protocol name":"IMAP"",
        "Autodiscover":""",
        "Domain":""",
        "Server name":"mail.client.com"",
        "Port":993",
        "Encryption":"SSL"",
        "Protocol insecure reason":"Unknown"",
        "User name":""",
        "Validated":false
      },
      {
        "Server type":"Outgoing"",
        "Protocol name":"SMTP"",
        "Autodiscover":""",
        "Domain":""",
        "Server name":"mail.client.com"",
        "Port":465",
        "Encryption":"SSL"",
        "Protocol insecure reason":"Unknown"",
        "User name":""",
        "Validated":false
      },
      {
        "Server type":"Incoming"",
        "Protocol name":"POP3"",
        "Autodiscover":""",
        "Domain":""",
        "Server name":"mail.client.com"",
        "Port":995",
        "Encryption":"SSL"",
        "Protocol insecure reason":"Unknown"",
        "User name":""",
        "Validated":false
      }]
    }",
    "Account config settings":
    {
      "Account type":"Office365"",
      "Email address":"info@client.com"",
      "User principal name":"info@client.com"",
      "Exchange server resolved":false",
      "Number of protocols found":3",
      "Exchange protocol found":false",
      "SMTP address":""",
      "Legacy DN":""",
      "Internal OWA URL":""",
      "External OWA URL":""",
      "Number of alternate mailboxes":0",
      "Server settings":{}
    }
}
4

0 回答 0