Hoofdstuk 12 Clients, Groupware & CLI Beheer: #pUsers

Outlook voor Windows instellen: Exchange-account via MAPI over HTTP (server-add-on) of IMAP & CalDAV/CardDAV

Met de optionele server-add-on voor Outlook & ActiveSync® (+€ 99 / jaar per server, op aanvraag) maakt klassieke Microsoft Outlook voor Windows (Microsoft 365 Apps, Outlook 2016 t/m LTSC 2024) rechtstreeks verbinding als een "Exchange"-account via Autodiscover en MAPI over HTTP: e-mail, agenda, contacten, taken, notities, algemene adreslijst en verzenden werken native zonder enige invoegtoepassing. Voor Thunderbird, eM Client en de abonnementen Free of Business (zonder de server-add-on) zijn IMAP/SMTP plus CalDAV en CardDAV beschikbaar (in klassieke Outlook via de open-source invoegtoepassing CalDav Synchronizer). Mobiele apparaten op iOS en Android maken verbinding via Exchange ActiveSync (server-add-on) of IMAP plus CalDAV/CardDAV.

Operationele tip & architectuurnotitie

Standaard is de gebruikersnaam het volledige e-mailadres (optioneel ingeschakeld in Beheer: korte gebruikersnaam of DOMAIN\\username in Exchange-stijl). Als tweefactorauthenticatie (2FA) is ingeschakeld voor het account, open Webmail -> Settings -> 2FA, Passkeys & Password -> Device & App Passwords, maak een speciaal app-wachtwoord aan voor Outlook en voer dit in waar Outlook of CalDav Synchronizer om een wachtwoord vraagt. Wanneer een laptop wordt afgedankt, trekt u alleen dat ene app-wachtwoord in.

Verbindingsmodi & serverinstellingen in één oogopslag (MAPI/HTTP, IMAP/DAV & ActiveSync)

De hostnaam is de servernaam van uw nextxch-installatie, bijvoorbeeld mail.bedrijf.com (Autodiscover op autodiscover.bedrijf.com). Voer voor mailboxen die worden gehost op mail.nextxch.com mail.nextxch.com in.

Referentie / Configuratie
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. Klassieke Outlook: Exchange-account via Autodiscover & MAPI over HTTP (server-add-on)

Met de optionele server-add-on voor Outlook & ActiveSync® (+€ 99 / jaar per server, op aanvraag) stelt klassieke Outlook voor Windows het account automatisch in via Autodiscover. Apple Mail, Agenda en Contacten en Outlook voor Mac gebruiken EWS; mobiele apparaten gebruiken Exchange ActiveSync.

Referentie / Configuratie
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. Klassieke Outlook, Thunderbird of eM Client: stel een IMAP-account in (gratis & zakelijk)

Zonder een Enterprise-sleutel (of in Thunderbird en eM Client) verbindt u e-mail via IMAPS/SMTPS. Als autodiscover.<uw-domein> of autoconfig.<uw-domein> naar de server verwijst, stellen clients automatisch de IMAP- en SMTP-instellingen voor.

Referentie / Configuratie
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. Agenda, contactpersonen & taken in klassieke Outlook zonder Enterprise (CalDav Synchronizer)

CalDav Synchronizer is een gratis open-source invoegtoepassing (AGPL) voor klassieke Outlook voor Windows, beschikbaar op caldavsynchronizer.org. Het is een onafhankelijk project; nextxch is er niet mee geassocieerd. Maak elk één synchronisatieprofiel aan voor agenda, contactpersonen en taken.

Referentie / Configuratie
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. Protocolmatrix per client & opmerking over de nieuwe Outlook voor Windows

Belangrijk voor gegevenssoevereiniteit: de nieuwe Outlook voor Windows synchroniseert IMAP-accounts via de Microsoft-cloud, waarbij inloggegevens en mailboxinhoud worden verwerkt op servers van Microsoft. Met de Microsoft® Cloud Guard in Admin kunt u dergelijke cloud-sync-aanmeldingen per domein of serverbreed detecteren en optioneel blokkeren.

Referentie / Configuratie
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

Instellingen, standaardwaarden en best practices

Instelling / Locatie Beschrijving Standaardwaarde Beste praktijken voor productie
Exchange (MAPI over HTTP · Classic Outlook) Klassieke Outlook voor Windows (Microsoft 365 Apps, Outlook 2016 t/m LTSC 2024) verbindt Exchange-accounts native via MAPI over HTTP en EWS (met de optionele server-add-on): e-mail, agenda, contacten, taken, beschrijfbare plaknotities, algemene adreslijst, beschikbaarheid (free/busy), MailTips, verzenden als / namens, zoekmappen met live tellingen, retentielabels, gedeelde mailboxen, online archief en openbare mappen werken zonder enige invoegtoepassing. Server-Add-on · Autodiscover Voeg eenvoudig het account toe met uw e-mailadres en wachtwoord (of app-wachtwoord / Kerberos); autodiscover.<uw-domein> moet naar de server wijzen en MAPI moet zijn ingeschakeld voor het domein.
Posteingang: IMAP, Port 993, SSL/TLS Mail, mappen en leesstatus via IMAPS met TLS vanaf de eerste byte. Speciale mappen (Verzonden, Concepten, Prullenbak, Spam) worden door de server aangekondigd via IMAP SPECIAL-USE. 993 · SSL/TLS Gebruik poort 993 met SSL/TLS. Poort 143 met STARTTLS is slechts een optionele terugvaloptie en moet afzonderlijk in de firewall worden geopend.
Postausgang: SMTP, Port 465 (SSL/TLS) oder 587 (STARTTLS) Submission voor geauthenticeerde gebruikers. Poort 465 versleutelt onmiddellijk (impliciete TLS); poort 587 start in platte tekst en wordt opgewaardeerd naar TLS via STARTTLS vóór authenticatie. 465 · SSL/TLS Schakel in Outlook "Mijn uitgaande server vereist authenticatie" in en gebruik dezelfde inloggegevens als voor inkomende e-mail. Poort 25 is uitsluitend voor server-naar-server-bezorging.
Benutzername & App-Passwort (2FA) Alle clientprotocollen melden zich aan met het volledige e-mailadres (optioneel korte gebruikersnaam of DOMAIN\\username). Wanneer 2FA is ingeschakeld, wordt het normale wachtwoord geweigerd op clientprotocollen. E-Mail-Adresse Maak een apart app-wachtwoord aan per apparaat en programma (Webmail -> Instellingen -> 2FA, Passkeys & Wachtwoord), zodat u de individuele toegang selectief kunt intrekken.
CalDAV-Kalender: /dav/calendars/<adresse>/default/ Standaardagenda van de mailbox voor CalDav Synchronizer, Thunderbird en andere CalDAV-clients (VEVENT, inclusief uitnodigingen en terugkerende reeksen). https://<host>/dav/calendars/<adresse>/default/ Verifieer met de knop "Instellingen testen of ontdekken" in CalDav Synchronizer; als alternatief is https://<host>/.well-known/caldav genoeg als startpunt voor ontdekking.
CardDAV-Kontakte: /dav/addressbooks/<adresse>/default/ Standaardadresboek van de mailbox (vCard 3.0/4.0) voor CalDav Synchronizer, Thunderbird, macOS en DAVx5. https://<host>/dav/addressbooks/<adresse>/default/ Gebruik een toegewezen Outlook-contactpersonenmap voor synchronisatie zodat lokale contactpersonen van andere accounts niet worden gemengd. Ontdekking: https://<host>/.well-known/carddav.
CalDAV-Aufgaben: /dav/calendars/<adresse>/tasks/ Takenlijst (VTODO) van het postvak, dezelfde taken als in Webmail en op de telefoon. https://<host>/dav/calendars/<adresse>/tasks/ Maak een derde profiel aan in CalDav Synchronizer en selecteer de Outlook-takenmap.
New Outlook · Microsoft® Cloud Guard De nieuwe Outlook voor Windows spreekt geen MAPI over HTTP, ondersteunt nextxch alleen via IMAP zonder CalDAV/CardDAV, en routeert inloggegevens en e-mail via de Microsoft-cloud. De Microsoft® Cloud Guard in Beheer detecteert Microsoft-cloud-synch-inlogs via IMAP, POP3, SMTP en ActiveSync per account en domein en kan deze optioneel per domein of serverbreed blokkeren. Cloud Guard (/admin/) Gebruik voor volledige gegevenssovereiniteit en groupware klassieke Outlook (MAPI over HTTP of CalDav Synchronizer), Thunderbird, eM Client of de nextxch-webmail (/mail/).