· via Hacker News – Front Page (hnrss.org)
Stalwart 1.2.0 becomes a drop-in open-source replacement for Microsoft Exchange
Stalwart 1.2.0 implements MAPI over HTTP, EWS, Exchange ActiveSync and Autodiscover, letting Outlook, Apple Mail and mobile mail apps connect to the self-hosted server as they would to Exchange.

What's new in 1.2.0
On 23 November 2026 the Stalwart project released version 1.2.0 of its mail server, implementing the protocols Microsoft Exchange clients use to communicate: MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync and Autodiscover. According to the announcement on the project's blog, which reached the front page of Hacker News, this makes Stalwart a drop-in replacement for Exchange itself. The support ships in the open-source Community edition under the AGPL.
In practice, users type an email address and a password, Autodiscover handles the remaining setup, and mail, calendars, contacts, tasks and notes land in a single account with no client changes required.
Where on-premises Exchange stands
Stalwart frames the release against Microsoft's current trajectory. Exchange 2016 and 2019 reached end of support on 14 October 2025, and according to press reports of an Exchange team statement cited by the project, the paid Extended Security Update programme ran out in October 2026 with no further extension. Exchange Server Subscription Edition is now the only supported on-premises release; it will not receive the features built for the cloud, and per the post its first cumulative update has slipped from late 2025 to an undetermined date in 2026.
Two further data points: Microsoft's documentation for the new Outlook for Windows states that on-premises Exchange accounts are not supported, and EWS in Exchange Online began being switched off in October 2026, with complete removal expected in April 2027.
The post also argues a sovereignty angle. For public administrations, healthcare providers, law firms, defence contractors and many European companies, email holds the record of contracts, negotiations and legal advice. Placing it with a US provider means placing it within reach of US law, including the CLOUD Act, which lets US authorities compel American providers to hand over data they control regardless of where it is stored.
Protocol and client coverage
Stalwart implements MAPI over HTTP, covering both the EMSMDB and NSPI interfaces that classic Outlook for Windows uses natively in cached and online mode. That spans mail, calendars, contacts, tasks, notes, incremental synchronisation, the global address list, the offline address book, delegate access, shared mailboxes, rules, junk settings, reminders, search folders and read receipts.
EWS support targets schema versions from Exchange 2010 SP2 through Exchange 2016 and handles mail, calendars, contacts, tasks, folders, sharing and delegates, free/busy, inbox rules, out-of-office replies, name resolution, distribution lists and streaming and pull notifications. ActiveSync 14.1 and 16.1 cover mail, calendars, contacts, tasks and notes with push delivery. Everything is served from the same HTTPS port as Stalwart's JMAP endpoint and web interface.
That adds up to broad client coverage: classic Outlook for Windows from 2016 onward including Microsoft 365 Apps, Outlook for Mac, Apple Mail, Calendar and Contacts on macOS, the built-in iPhone and iPad apps, Android clients with Exchange support such as Gmail, Samsung Email and Nine, Thunderbird via its built-in EWS support or TbSync, Evolution through evolution-ews, eM Client, and libraries built on EWS or ActiveSync such as exchangelib.
One account, many doors
The Microsoft protocols are not an isolated silo inside Stalwart. A message filed in Outlook sits in the same mailbox an IMAP or JMAP client reads, a meeting accepted on a phone appears in the calendar CalDAV clients see, and a contact added in Apple Contacts shows up in the CardDAV address book. Rules created in Outlook's Rules and Alerts are stored as server-side Sieve rules that run at delivery time, whether or not Outlook is open. Delegate and folder permissions become ordinary Stalwart shares that apply across every protocol, and shared mailboxes open automatically from group membership, as they do with Exchange.
The gaps
Stalwart has no counterpart for public folders, archive mailboxes, mobile device management, RPC over HTTP (used by Outlook 2010 and earlier) or NTLM and Kerberos sign-in; clients authenticate with a password, an app password or OAuth. The most visible gap is the new Outlook for Windows. It cannot connect to Stalwart, but as the post notes, it cannot connect to any self-hosted server, including on-premises Exchange, because it is built to work through Microsoft's cloud.
Why it matters
Self-hosted email has been technically viable for years, but the client was always the blocker: leaving Exchange traditionally meant either moving users off Outlook or reducing it to IMAP, where calendars and contacts stop syncing. By speaking the wire protocols that Outlook and the mobile mail apps already use, Stalwart removes that obstacle, and it does so under an AGPL licence rather than a commercial one. For organisations running unsupported Exchange servers, facing cloud-only APIs and a default Windows mail client that refuses on-premises accounts entirely, there is now an open-source migration path that leaves users in the software they already know. The open question is the new Outlook itself: as Windows installs it by default, the population of clients able to talk to any self-hosted server may keep shrinking.
- #open-source
- #self-hosted
- #microsoft-exchange
- #stalwart