Outlookの自動設定
最新の Outlook ではそもそも自動設定を読まないらしい?
設定方法
メールサーバー管理者が、自動設定(ユーザーが各種パラメータ設定しなくてもいいもの)をどう設定すればいいのかについて
MS-OXDSCLI という公式資料が提供されている。
[MS-OXDSCLI]: Autodiscover Publishing and Lookup Protocol
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxdscli/78530279-d042-4eb0-a1f4-03b18143cd19
[MS-OXDISCO]: Autodiscover HTTP Service Protocol
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxdisco/d912502b-c0e2-41a1-8b0e-f714ba523e08
確認方法
Outlook のタスクトレイのメニューの中に「電子メールの自動構成のテスト」(Test E-mail AutoConfiguration)というものがある。これで確認する。
Outlook を使わずにメールサーバーに接続できるかどうかを確認するには、以下のサイトを使用する。
Microsoft Remote Connectivity Analyzer
Outlook Connectivity
https://testconnectivity.microsoft.com/tests/Ola/input
メモ
"POST /Autodiscover/Autodiscover.xml HTTP/1.1" 404 153 "-" "Microsoft Office/15.0 (Windows NT 6.2; Microsoft Outlook 15.0.4615; Pro; MS Connectivity Analyzer)"
Outlook Connectivityでは
POST で最初は空で送ってきて、2度目はXMLでメールアドレスを送ってきた。
XMLの解析が難しいなら、X-Anchormailbox を使えばいいかも。
code:txt
Timestamp: 2026-02-13 03:54:46
Remote Address: 4.237.88.238
Request Method: POST
Request URI: /Autodiscover/Autodiscover.xml
Headers:
Host: example.com
Content-Length: 0
User-Agent: Microsoft Office/15.0 (Windows NT 6.2; Microsoft Outlook 15.0.4615; Pro; MS Connectivity Analyzer)
Connection: Keep-Alive
Content-Type:
POST Body:
Timestamp: 2026-02-13 03:54:47
Remote Address: 4.237.88.238
Request Method: POST
Request URI: /Autodiscover/Autodiscover.xml
Headers:
Content-Length: 480
Content-Type: text/xml
Traceparent: 00-6491f3dad476ac72eddf87487db31e78-f8aa5197a9eadbee-00
Connection: Keep-Alive
X-Mapihttpcapability: 1
X-Anchormailbox: test@example.com
User-Agent: Microsoft Office/15.0 (Windows NT 6.2; Microsoft Outlook 15.0.4615; Pro; MS Connectivity Analyzer)
Cache-Control: no-store, no-cache
Pragma: no-cache
Host: example.com
POST Body:
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>test@example.com</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
AcceptableResponseSchema で受信可能なスキーマをしていされているので、このスキーマに合わせた返答でなければならない。
(Exchange とかでは違うスキーマになってるようだけど?)
参考
https://outlooklab.wordpress.com/2020/01/18/autodiscover-の詳細動作/
https://outlooklab.wordpress.com/2020/01/25/シナリオごとの-autodiscover-の動作/
Outlook 2010 におけるユーザー アカウント自動構成の計画
https://learn.microsoft.com/ja-jp/previous-versions/office/office-2010/cc511507(v=office.14)?redirectedfrom=MSDN
Outlook 2016検出の実装
https://support.microsoft.com/ja-jp/topic/outlook-2016検出の実装-0d7b2709-958a-7249-1c87-434d257b9087
Exchange の自動検出
https://learn.microsoft.com/ja-jp/exchange/client-developer/exchange-web-services/autodiscover-for-exchange
Microsoft Office 365 キオスク ワーカーのプランは Exchange Web Service で接続できない
https://kamiyn.wordpress.com/2012/02/17/microsoft-office-365-キオスク-ワーカーのプランは-exchange-web-service-で接続で/
Microsoft Exchange Autodiscover のバグにより 10万件の Windows 認証情報が流出
https://iototsecnews.jp/2021/09/22/microsoft-exchange-autodiscover-bugs-leak-100k-windows-credentials/
autodiscover.${domain} にならないといけないが、フォールバックの時に autodiscover.${tld} になってしまっていた。
関連
Thunderbirdの自動設定
Keyword: autoconfig
#自動設定