Skip to content
Nov 27, 2026NewsletterRSS

Stalwart Can Now Replace Exchange Without Replacing Outlook

Stalwart's open source mail server now speaks MAPI over HTTP, EWS, ActiveSync and Autodiscover, so classic Outlook connects to it like Exchange.

5 min read

StalwartSelf-hosted

Hand-drawn illustration of a red classic mailbox on a hand truck being wheeled away from a rusty old gray server tower toward a bright new teal server tower with a yellow open door on a hot pink background

Stalwart, the open source mail server, now implements the protocols Microsoft Exchange clients use, so classic Outlook for Windows, Outlook for Mac, Apple Mail and phone mail apps connect to it as they would to an Exchange server. Project maintainer Mauro D. announced the change with the release of Stalwart 1.2.0 in a Nov. 23 blog post. The Exchange support ships in the free Community edition under the AGPL, the post said.

Four Microsoft Protocols on One HTTPS Port

Stalwart 1.2.0 adds MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync and Autodiscover, all served on the same HTTPS port as its JMAP API and web interface, according to the post. MAPI over HTTP is the native protocol of classic Outlook for Windows. It works in cached and online mode and covers mail, calendars, contacts, tasks, notes, the global address list, delegate access, shared mailboxes, rules and read receipts.

EWS covers schema versions from Exchange 2010 SP2 to Exchange 2016. ActiveSync covers versions 14.1 and 16.1, with push. Autodiscover works in its POX, SOAP and JSON forms, so a client sets itself up from an email address and a password, the post said.

The post lists the clients that can connect: classic Outlook 2016 and later, including Microsoft 365 Apps; Outlook for Mac; Apple Mail, Calendar and Contacts on macOS and iOS; Android mail apps with Exchange support such as Gmail, Samsung Email and Nine; Thunderbird; Evolution; eM Client; and libraries such as exchangelib.

The Exchange protocols are another way into the same accounts. A message filed in Outlook shows up for IMAP and JMAP clients, and a meeting accepted on a phone appears in the CalDAV calendar. Rules made in Outlook are stored as server-side Sieve rules, so they run when Outlook is closed.

The New Outlook and Some Exchange Features Are Left Out

The new Outlook for Windows does not work with Stalwart, the post said, because it cannot connect to any self-hosted server, Exchange included. Microsoft’s own documentation says on-premises Exchange accounts aren’t supported in it. Stalwart advised against adding a self-hosted IMAP account to the new Outlook too, citing a November 2023 heise and c’t report that the client sends the server name, user name and password to Microsoft, whose cloud then connects to the mail server.

Stalwart does not offer public folders, archive mailboxes, mobile device management, RPC over HTTP for Outlook 2010 and earlier, or NTLM and Kerberos sign-in, the post said. Clients sign in with a password, an app password or OAuth.

About 200,000 Lines of Code Behind a Build Flag

The Exchange code adds about 200,000 lines to Stalwart, according to the post, and it lives in its own crates behind a single exchange Cargo feature. Builds without the feature leave all of it out. Official builds include the module but keep it off until an administrator turns it on. Outlook-only properties are stored as JMAP Object Metadata and written only when an Exchange client sets them, so deleting that metadata removes every Exchange trace.

Vandelay, Stalwart’s import tool, migrates mailboxes from on-premises Exchange over EWS and from Microsoft 365 through Microsoft Graph, which also brings over OneDrive files, the post said.

Stalwart framed the release around Microsoft’s direction. Exchange 2016 and 2019 reached end of support on Oct. 14, 2025, and Exchange Online began switching off EWS in October 2026, with full removal set for April 2027, the post said.

Other Changes in the Release

Stalwart 1.2.0 also adds server-side mail rules with junk mail sender lists, read receipts under RFC 8098, per-account working hours in free/busy lookups and bookable rooms and equipment, the post said. A new native Rust client for FoundationDB delivered 4.5 to 6.9 times the throughput of the old client on point reads in Stalwart’s benchmarks. Existing servers need to add new permissions to their default roles when they upgrade.

Key Takeaways

  • Stalwart 1.2.0 speaks MAPI over HTTP, EWS, ActiveSync and Autodiscover in its free AGPL edition.
  • Classic Outlook, Outlook for Mac, Apple Mail and Android Exchange apps can connect; the new Outlook for Windows cannot.
  • Stalwart offers no public folders, archive mailboxes or NTLM and Kerberos sign-in.
  • The Exchange module is off by default and can be compiled out entirely.

The Take

We think this removes the biggest barrier to leaving Exchange, and that barrier was never the server. It was the hundreds of people who know only Outlook. A migration that asks every user to learn a new mail client on the same weekend usually stalls. A migration that changes only DNS records and leaves every desktop alone gives users nothing new to learn.

Timing is the limit. Classic Outlook is the bridge here, and Windows now installs the new Outlook by default, the post said. The new Outlook cannot connect to any self-hosted server. Our read is that this gives teams a window of a few years, not a permanent answer. Stalwart says so itself: the Exchange code is built to be deleted later.

A team weighing a move should first list anyone who depends on public folders, archive mailboxes or Kerberos sign-in, since Stalwart offers none of them. Then confirm the desktops can stay on classic Outlook, and move one test account with Vandelay. If no one needs the missing features and the test account comes over cleanly, start a small pilot now.