Stalwart 1.2.0 adds Exchange protocols so Outlook can connect to it

The Stalwart project has released version 1.2.0 of its mail server and says that, with it, Stalwart becomes a drop-in replacement for Microsoft Exchange. The announcement, published on the project's own blog, is written in the first person plural by the project.
The release implements the protocols that Exchange clients use: MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync and Autodiscover. Outlook, Apple Mail and the mail apps on phones and tablets can connect to Stalwart as they would to an Exchange server, with mail, calendars, contacts, tasks and notes in one account. Users type an email address and password, Autodiscover configures the rest, and they keep working in the client they already know. Exchange support is part of the open source Community edition, under the AGPL. All the Microsoft protocols are served on the same HTTPS port as JMAP and the WebUI.
The protocol coverage, as Stalwart lists it: MAPI over HTTP (EMSMDB and NSPI), the native protocol of classic Outlook for Windows, in both cached and online mode, covering mail, calendars, contacts, tasks, notes, incremental sync, the global address list, the offline address book, delegate access, shared mailboxes, rules, junk email settings, reminders, search folders and read receipts. EWS at schema versions Exchange 2010 SP2 to Exchange 2016. Exchange ActiveSync 14.1 and 16.1, with push through Ping, meeting responses, search and out of office. Autodiscover in POX, SOAP and JSON dialects. Listed clients are classic Outlook for Windows (Outlook 2016 and later, including Microsoft 365 Apps), Outlook for Mac, Apple Mail, Calendar and Contacts on macOS, the native apps on iPhone and iPad, Android mail apps with Exchange support such as Gmail, Samsung Email and Nine, Thunderbird (EWS for mail, or TbSync for calendars, contacts and tasks over ActiveSync), Evolution, eM Client, and libraries such as exchangelib.
The Exchange protocols are not a separate silo. A message filed in Outlook sits in the same mailbox that IMAP or JMAP clients see; a meeting accepted on a phone appears in the calendar CalDAV clients read; a contact added in Apple Contacts shows up in the CardDAV address book. Rules made in Outlook's Rules and Alerts are stored on the server as mail rules and run as Sieve on delivery, so they apply even when Outlook is closed. Delegates and folder permissions set in Outlook become regular Stalwart shares, and shared mailboxes open automatically from group membership.
Some Exchange features have no counterpart. Stalwart does not offer public folders, archive mailboxes, mobile device management, RPC over HTTP (Outlook 2010 and earlier) or NTLM and Kerberos sign-in. Clients authenticate with a password, an app password or OAuth.
The post makes its case from the state of on-premises Exchange. Microsoft has not announced the end of Exchange Server, but Exchange 2016 and 2019 both reached end of support on 14 October 2025. A paid Extended Security Update programme was sold for a while and, according to press reports of an Exchange team statement, ended in October 2026 with no further extension. Exchange Server Subscription Edition (SE) is now the only supported on-premises Exchange, with no more major versions after it, and it does not get the features developed for the cloud. New functionality ships only on Microsoft Graph, and EWS in Exchange Online started being switched off in October 2026 and will be gone entirely in April 2027. Stalwart argues this leaves administrators choosing between a server that will not grow and Microsoft's cloud, which many organisations cannot accept because of US law such as the CLOUD Act. It names public administrations, healthcare providers, law firms, defence contractors and many European companies as examples.
The project says the real obstacle to leaving Exchange has been the client, not the server. Replacing Exchange with a standard IMAP and CalDAV server has meant telling users to switch clients or to use Outlook in a reduced IMAP mode where calendars and contacts no longer sync. With 1.2.0, Stalwart says, the administrator moves the mailboxes, points the DNS records at Stalwart, and users connect with the same Outlook as before.
The new Outlook for Windows is the exception. Stalwart says it does not work with Stalwart or with any self-hosted server, Exchange included, and quotes Microsoft's documentation: "On-premises Exchange accounts aren’t supported." Its IMAP support is no workaround: citing heise and c’t reporting from November 2023, the post says the new Outlook sends the IMAP server name, user name and password to Microsoft, and Microsoft's cloud connects to the mail server on the user's behalf. Stalwart advises against using the new Outlook with any self-hosted email deployment and tells users to leave the "Try the new Outlook" toggle off. Outlook for iOS and Android likewise reach on-premises mailboxes through a Microsoft cloud service, which requires a hybrid Exchange Online setup; on phones, Stalwart recommends the native apps connecting over ActiveSync.
Addressing why it is adding protocols Microsoft is retiring, the project notes that classic Outlook is reportedly supported until 2029 and answers that companies running Exchange cannot wait, and that an organisation with a few hundred Outlook users cannot replace server and client in one weekend. The server moves first, and the client can change later. Stalwart expects users to move gradually to third-party clients built on open standards, in particular JMAP, and says Exchange support is not where Stalwart is going, but how organisations get from where they are to where Stalwart is.
On footprint, the Exchange compatibility adds about 200,000 lines of code. It is a separate module: all of it lives in its own crates behind a single exchange Cargo feature, and building without that feature leaves every line of Exchange code out of the binary. It is also disabled by default; even in the official builds that include the module, the Exchange protocols stay off until an administrator enables them.
Key facts
- Stalwart 1.2.0 implements MAPI over HTTP, Exchange Web Services, Exchange ActiveSync (14.1 and 16.1) and Autodiscover, so Outlook, Apple Mail and phone mail apps can connect as to an Exchange server.
- Exchange support is in the open source Community edition under the AGPL and is served on the same HTTPS port as JMAP and the WebUI.
- Not supported: public folders, archive mailboxes, mobile device management, RPC over HTTP (Outlook 2010 and earlier) and NTLM or Kerberos sign-in. The new Outlook for Windows does not work with Stalwart or any self-hosted server.
- The module adds about 200,000 lines of code, sits behind a single exchange Cargo feature, and is off by default until an administrator enables it.
- Stalwart's pitch: Exchange 2016 and 2019 left support on 14 October 2025, SE is the last on-premises line, and EWS in Exchange Online is due to be gone in April 2027.
Why it matters
On-premises Exchange is in a squeeze. Exchange 2016 and 2019 are out of support, Exchange Server SE is the only supported on-premises version and gets no cloud features, and EWS in Exchange Online is due to be gone entirely in April 2027. Microsoft has not announced the end of Exchange Server, but Stalwart argues every road leads to Exchange Online. For organisations that cannot put mail in a US provider's cloud, the sticking point has been Outlook itself, which users know and rely on. A server that classic Outlook and phone apps can use unchanged removes that obstacle, at least on paper. Stalwart frames it as a bridge: move the server first, change clients later, ideally toward JMAP.
Who it affects
Administrators of on-premises Exchange who want to leave without retraining users, especially public administrations, healthcare providers, law firms, defence contractors and European companies concerned about the CLOUD Act, which are the groups Stalwart names. It also affects users of classic Outlook for Windows (2016 and later), Outlook for Mac, Apple Mail, iPhone and iPad mail apps, Android mail apps such as Gmail, Samsung Email and Nine, Thunderbird, Evolution and eM Client. Users of the new Outlook for Windows are not covered.
How to use it
Per the post, the administrator moves the mailboxes and points the DNS records at Stalwart. Users then enter their email address and password in the client they already use and Autodiscover configures it. The Exchange protocols are off by default even in official builds, so an administrator has to enable them. Anyone compiling Stalwart can leave the module out by building without the exchange Cargo feature. Exchange support is in the Community edition under the AGPL. Clients authenticate with a password, an app password or OAuth. On phones, Stalwart recommends the native mail, calendar and contacts apps over ActiveSync rather than Outlook for iOS or Android. The project's documentation covers configuration, DNS, Autodiscover and the differences from Exchange.
How solid is it
This is the project's own release announcement, so the claims are Stalwart's. The post gives a detailed list of protocols, versions and clients. The source reports no performance figures, benchmarks or user counts for the Exchange support. It also reports no third-party testing, customer adoption or Microsoft reaction. The Exchange timeline facts are stated by Stalwart; the end of the paid Extended Security Update programme in October 2026 rests on press reports of an Exchange team statement, and the 2029 support date for classic Outlook is described as reported.
Risks and caveats
Stalwart does not offer public folders, archive mailboxes, mobile device management, RPC over HTTP or NTLM and Kerberos sign-in, so deployments that rely on them have no direct equivalent. The new Outlook for Windows will not work with Stalwart or any self-hosted server, and its IMAP mode sends the server name, user name and password to Microsoft, as reported by heise and c’t in November 2023. Outlook for iOS and Android need a hybrid Exchange Online setup for on-premises mailboxes. EWS support covers schema versions Exchange 2010 SP2 to Exchange 2016, and Microsoft is switching EWS off in Exchange Online. Stalwart itself calls these protocols a bridge that will become obsolete. The module adds about 200,000 lines of code, though it can be compiled out and is disabled by default.
“On-premises Exchange accounts aren’t supported.”
— Microsoft's documentation for the new Outlook for Windows, as quoted by Stalwart