免費開始
第 12 章 客戶端、群組軟體與 CLI 管理:#pUsers

設定 Outlook for Windows:透過 MAPI over HTTP(伺服器附加元件)設定 Exchange 帳號,或使用 IMAP 與 CalDAV/CardDAV

透過選購的 Outlook & ActiveSync® 伺服器附加元件(每台伺服器 +€99 / 年,需個別申請),Windows 版傳統 Microsoft Outlook(Microsoft 365 Apps、Outlook 2016 至 LTSC 2024)可透過 Autodiscover 與 MAPI over HTTP 直接作為 "Exchange" 帳號連線:郵件、行事曆、聯絡人、工作、記事、全域通訊清單及傳送郵件無需任何增益集即可原生運作。對於 Thunderbird、eM Client 以及 Free 或 Business 層級(不含伺服器附加元件),可使用 IMAP/SMTP 搭配 CalDAV 與 CardDAV(在傳統 Outlook 中配合開放原始碼增益集 CalDav Synchronizer)。iOS 與 Android 行動裝置可透過 Exchange ActiveSync(伺服器附加元件)或 IMAP 搭配 CalDAV/CardDAV 連線。

營運提示與架構說明

預設情況下,使用者名稱為完整電子郵件地址(可在管理員中選用啟用:短使用者名稱或 Exchange 風格的 DOMAIN\username)。若帳號已啟用雙重身分驗證(2FA),請開啟 Webmail -> 設定 -> 2FA、通行密鑰與密碼 -> 裝置與應用程式密碼,為 Outlook 建立專屬應用程式密碼,並在 Outlook 或 CalDav Synchronizer 要求輸入密碼時輸入該密碼。當筆記本電腦退役時,您只需撤銷該單一應用程式密碼。

連線方式與伺服器參數速覽(MAPI/HTTP、IMAP/DAV 與 ActiveSync)

主機名稱是您的 nextxch 實例的伺服器名稱,例如 mail.company.com(Autodiscover 位於 autodiscover.company.com)。託管在 mail.nextxch.com 上的信箱請填寫 mail.nextxch.com。

參考 / 設定
A) Classic Outlook for Windows as an Exchange account (Outlook server add-on, on request)
   Account type:           Exchange (automatic via Autodiscover + MAPI over HTTP)
   Email / user name:      anna.weber@company.com (optionally DOMAIN\anna.weber or Kerberos)
   Password:               account password, App Password if 2FA is enabled
   Native scope:           mail, calendar, contacts, tasks, notes, GAL, free/busy, MailTips

B) IMAP/SMTP + CalDAV/CardDAV (Thunderbird, eM Client, or Free/Business without the server add-on)
   Incoming (IMAP):        mail.company.com   Port 993   Encryption: SSL/TLS
   Outgoing (SMTP):        mail.company.com   Port 465   SSL/TLS (or Port 587 STARTTLS)
   SMTP authentication:    required, same credentials as incoming (SPA: off)
   CalDAV / CardDAV:       https://mail.company.com/.well-known/caldav  and  /.well-known/carddav

C) Mobile iOS & Android (server add-on: Exchange ActiveSync · all tiers: IMAP + DAV)
   Exchange ActiveSync:    Server mail.company.com · Port 443 · SSL/TLS (push for mail, calendar, contacts, notes, tasks)
   Hosted mailboxes:       mail.nextxch.com instead of mail.company.com

1. 傳統 Outlook:透過 Autodiscover 與 MAPI over HTTP 設定 Exchange 帳號(伺服器附加元件)

透過選購的 Outlook & ActiveSync® 伺服器附加元件(每台伺服器 +€99 / 年,需個別申請),Windows 版傳統 Outlook 會透過 Autodiscover 自動完成帳號設定。Apple 郵件、行事曆與聯絡人以及 Mac 版 Outlook 使用 EWS;行動裝置使用 Exchange ActiveSync。

參考 / 設定
1. Control Panel -> Mail (Microsoft Outlook) -> Show Profiles -> Add (or in Outlook: File -> Add Account)
2. Enter your name, email address (anna.weber@company.com), and password or App Password -> Next
3. Outlook discovers MAPI over HTTP (/mapi/emsmdb, /mapi/nspi) and EWS (/EWS/Exchange.asmx) automatically via autodiscover.company.com
4. Finish -> start Outlook (both Cached Exchange Mode and Online Mode are supported)

Supported capabilities (MAPI over HTTP + EWS):
  - Mail (Online & Cached Mode), inbox server rules, categories / labels
  - Calendar incl. recurring series, modified occurrences, meeting invitations & free/busy
  - Contacts incl. contact photos & Global Address List (NSPI / GAL)
  - Tasks plus writable StickyNotes (read, create, edit, move, copy) & custom Notes folders
  - Search Folders with live unread/item counts in the folder tree ("Unread Mail", "For Follow Up", saved searches) & Reminders
  - MailTips while composing (incl. internal GAL EX recipients, out of office, mailbox full, list member counts, external recipients)
  - Out-of-Office assistant (separate replies for internal and external audiences)
  - Send As and Send on Behalf with permission enforcement
  - Retention and Archive Tags ("Never archive", "Archive after N days", "Delete after N days")
  - Shared mailboxes, folder permissions, Online Archive, and Public Folders

2. 傳統 Outlook、Thunderbird 或 eM Client:設定 IMAP 帳號(Free 與 Business)

在沒有 Enterprise 金鑰的情況下(或在 Thunderbird 與 eM Client 中),請透過 IMAPS/SMTPS 連線郵件。只要 autodiscover.<your-domain> 或 autoconfig.<your-domain> 指向伺服器,用戶端就會自動建議 IMAP 和 SMTP 設定。

參考 / 設定
1. File -> Add Account -> enter the email address
2. Expand "Advanced options" -> "Let me set up my account manually" -> Connect
3. Choose account type "IMAP"
4. Incoming mail:  server mail.company.com · port 993 · encryption SSL/TLS
   Outgoing mail:  server mail.company.com · port 465 · encryption SSL/TLS
                   (or port 587 · encryption STARTTLS)
   Do NOT enable "Require logon using Secure Password Authentication (SPA)"
5. Enter the password or App Password -> Connect -> Done

Change later: File -> Account Settings -> Account Settings -> select account -> Repair / Change

3. 無 Enterprise 時在傳統 Outlook 中同步行事曆、聯絡人與任務(CalDav Synchronizer)

CalDav Synchronizer 是一款適用於 Windows 傳統 Outlook 的免費開源增益集(AGPL),可於 caldavsynchronizer.org 取得。這是獨立專案,nextxch 與其無關。請分別為行事曆、聯絡人與工作建立一個同步設定檔。

參考 / 設定
1. Install CalDav Synchronizer and restart Outlook
2. Ribbon "CalDav Synchronizer" -> "Synchronization Profiles" -> "+" (add profile)
3. Choose profile type "Generic CalDAV/CardDAV"
4. Select the Outlook folder, e.g. "Calendar (This computer only)" of the IMAP account
   or a new, empty folder
5. Enter the DAV URL:
     Calendar:  https://mail.company.com/dav/calendars/anna.weber@company.com/default/
     Contacts:  https://mail.company.com/dav/addressbooks/anna.weber@company.com/default/
     Tasks:     https://mail.company.com/dav/calendars/anna.weber@company.com/tasks/
   Discovery: https://mail.company.com/.well-known/caldav
              https://mail.company.com/.well-known/carddav
6. Username:      anna.weber@company.com
   Password:      account password or App Password (with 2FA)
   Email address: anna.weber@company.com
7. "Test or discover settings" -> confirm connection and resource
8. Synchronization mode: "Outlook <-> Server (Two-Way)" · interval e.g. 5 minutes
9. Save with OK; repeat steps 2 to 8 for contacts and tasks

4. 各用戶端協定矩陣及新版 Windows Outlook 說明

資料主權提示:新版 Windows Outlook 會透過 Microsoft 雲端同步 IMAP 帳戶,憑據和信箱內容都會在 Microsoft 伺服器上處理。藉由管理後台中的 Microsoft® Cloud Guard,您可以偵測這些雲端同步登入,並按網域名稱或全服範圍按需攔截。

參考 / 設定
Client                              Mail                    Calendar, contacts, tasks & notes
----------------------------------  ----------------------  ---------------------------------------
Outlook for Windows (classic)       Exchange (MAPI/HTTP)    Exchange (MAPI/HTTP, incl. notes)
  without Enterprise (Free/Biz)     IMAP + SMTP             CalDAV/CardDAV (CalDav Synchronizer)
Outlook for Windows (new)           IMAP + SMTP (MS cloud)  not available (see Cloud Guard)
Outlook for iOS and Android         Exchange ActiveSync     Exchange ActiveSync
iPhone and iPad                     ActiveSync or IMAP      ActiveSync or CalDAV/CardDAV
Android (Gmail, Samsung, DAVx5)     ActiveSync or IMAP      ActiveSync or CalDAV/CardDAV (DAVx5)
macOS (Mail, Calendar, Contacts)    Exchange (EWS) or IMAP  Exchange (EWS) or CalDAV/CardDAV
Thunderbird / eM Client             IMAP + SMTP             CalDAV/CardDAV (built in)
Browser                             Webmail /mail/          Webmail /mail/

iPhone, iPad and macOS: setup profile via QR code or link, see chapter 10

設定、預設值與最佳實務

設定 / 位置 說明 預設值 生產環境最佳實務
Exchange (MAPI over HTTP · Classic Outlook) Windows 版傳統 Outlook(Microsoft 365 Apps、Outlook 2016 至 LTSC 2024)透過 MAPI over HTTP 與 EWS(搭配選購伺服器附加元件)原生連接 Exchange 類型帳號:郵件、行事曆、聯絡人、工作、可編輯便箋、全域通訊清單、空閒/忙碌狀態、MailTips、代表傳送 / 代理傳送、具備即時計數的搜尋資料夾、保留標籤、共用信箱、線上封存與公用資料夾均無需任何增益集即可運作。 Server-Add-on · Autodiscover 只需使用您的電子郵件地址與密碼(或應用程式密碼 / Kerberos)新增帳號;autodiscover.<your-domain> 必須指向伺服器,且該網域必須啟用 MAPI。
Posteingang: IMAP, Port 993, SSL/TLS 郵件、資料夾與已讀狀態透過 IMAPS 傳輸,從第一個位元組起即使用 TLS。特殊資料夾(寄件備份、草稿、垃圾桶、垃圾郵件)由伺服器透過 IMAP SPECIAL-USE 通告。 993 · SSL/TLS 搭配 SSL/TLS 使用連接埠 993。搭配 STARTTLS 的連接埠 143 僅為選用的後備選項,必須在防火牆中單獨開啟。
Postausgang: SMTP, Port 465 (SSL/TLS) oder 587 (STARTTLS) 供已驗證使用者提交郵件。連接埠 465 立即加密(隱式 TLS);連接埠 587 以純文字開始,並在身分驗證前透過 STARTTLS 升級為 TLS。 465 · SSL/TLS 在 Outlook 中啟用「我的外寄伺服器 (SMTP) 需要驗證」,並使用與接收郵件相同的憑據。連接埠 25 僅用於伺服器之間的投遞。
Benutzername & App-Passwort (2FA) 所有用戶端協定均使用完整電子郵件地址登入(可選簡短使用者名稱或 DOMAIN\\username)。啟用 2FA 後,用戶端協定將拒絕普通密碼。 E-Mail-Adresse 為每台裝置和每個程式分別建立應用程式密碼(Webmail -> 設定 -> 2FA、通行金鑰 & 密碼),以便針對性地撤銷個別存取權限。
CalDAV-Kalender: /dav/calendars/<adresse>/default/ 供 CalDav Synchronizer、Thunderbird 及其他 CalDAV 用戶端使用的信箱預設行事曆(VEVENT,含會議邀請和定期系列)。 https://<host>/dav/calendars/<adresse>/default/ 使用 CalDav Synchronizer 中的"測試或發現設定"按鈕進行驗證;或者,以 https://<host>/.well-known/caldav 作為發現的起點即可。
CardDAV-Kontakte: /dav/addressbooks/<adresse>/default/ 信箱的預設通訊錄(vCard 3.0/4.0),適用於 CalDav Synchronizer、Thunderbird、macOS 和 DAVx5。 https://<host>/dav/addressbooks/<adresse>/default/ 請使用專用的 Outlook 聯絡人資料夾進行同步,以免混入其他帳號的本地聯絡人。探索:https://<host>/.well-known/carddav。
CalDAV-Aufgaben: /dav/calendars/<adresse>/tasks/ 信箱的工作清單 (VTODO),與 Webmail 和手機上的工作相同。 https://<host>/dav/calendars/<adresse>/tasks/ 在 CalDav Synchronizer 中建立第三個設定檔,並選取 Outlook 工作資料夾。
New Outlook · Microsoft® Cloud Guard 新版 Windows Outlook 不支援 MAPI over HTTP,僅能以不含 CalDAV/CardDAV 的 IMAP 方式連接 nextxch,並且會將憑據與郵件經由 Microsoft 雲端中轉。管理後台中的 Microsoft® Cloud Guard 可按帳戶與網域偵測 IMAP、POP3、SMTP 與 ActiveSync 上的 Microsoft 雲端同步登入,並支援按網域或全伺服器攔截。 Cloud Guard (/admin/) 如需完整的資料主權與群件,請使用傳統 Outlook(MAPI over HTTP 或 CalDav Synchronizer)、Thunderbird、eM Client 或 nextxch Webmail (/mail/)。