
我正在設定一個新的電子郵件伺服器,我想在其上使用自動發現功能,讓 Outlook 自動配置自身。在我目前的情況下,我有多個虛擬網域和只有一個證書,所以我用作mail.example.com
STMP、POP 和 IMAP 伺服器。
這是我的autodiscover.xml
:
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<User>
<DisplayName>[email protected]</DisplayName>
</User>
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<Server>mail.example.com</Server>
<Port>993</Port>
<DomainRequired>off</DomainRequired>
<LoginName>[email protected]</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>POP3</Type>
<Server>mail.example.com</Server>
<Port>995</Port>
<DomainRequired>off</DomainRequired>
<LoginName>[email protected]</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>mail.example.com</Server>
<Port>587</Port>
<DomainRequired>off</DomainRequired>
<LoginName>[email protected]</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
</Account>
</Response>
</Autodiscover>
我的電子郵件地址通過了自動發現測試,地址為 https://testconnectivity.microsoft.com
我可以在 NGINX 日誌中看到 Outlook 請求該檔案:
[28/Feb/2018:22:04:31 +0100] "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 1658 "-" "Microsoft Office/16.0 (Windows NT 10.0; MAPI 16.0.8431; Pro)"
該配置不適用於新的“歡迎使用 Outlook”對話框(我相信它被稱為 ZeroConfig)
當我單擊“更改帳戶類型”,然後單擊“IMAP”時,它列出了正確的設定。但當我檢查我的 時mail.log
,我發現 Outlook 在自動設定時沒有嘗試任何這些設定。
我的桌上型電腦和筆記型電腦都遇到這個問題,兩者都運行 Office build 1708。
有人遇到同樣的問題嗎?我現在在這個問題上浪費了太多時間。
編輯:
澄清一下,我沒有運行 Exchange 伺服器。我只想讓 Outlook 知道正確的 IMAP 和 POP。我已經使用上下文選單中的工具測試了自動發現,它列出了正確的設置,但「簡化帳戶建立」對話框仍然失敗,並且無法連接到 IMAP、POP 或 SMTP。但它確實連接到https://mail.example.com/autodiscover/autodiscover.xml。
答案1
這個「電子郵件伺服器」是 Exchange 伺服器嗎?
據我所知,簡化帳戶創建功能將幫助最終用戶設定 Outlook 設定文件知名帳戶,例如:Office 365、Gmail、Outlook.com。但是,它不適用於特定帳戶。
我假設您的電子郵件網域是網路上新建立的網域,因此我們需要透過選擇 IMAP 帳戶類型來手動設定您的帳戶。