Nov 23, 2026 - 13 min peruse
For additional than twenty years, “the communication server” in most companies meant Microsoft Exchange, and “the communication client” meant Outlook. Today we are releasing Stalwart 1.2.0, and alongside it Stalwart becomes a drop-in replacement for Microsoft Exchange.
Stalwart now implements the protocols that Exchange clients speak: MAPI complete HTTP, Exchange Web Services (EWS), Exchange ActiveSync and Autodiscover. Outlook, Apple Mail and the communication apps on phones and tablets nexus to Stalwart as they would to an Exchange server, alongside mail, calendars, contacts, tasks and notes in one account. Users category their email location and password, Autodiscover does the rest, and they keep operating in the client they already know.
Exchange assistance is part of the open origin Community edition, under the AGPL.
Before going into what Stalwart now does, it is value looking at anywhere self-hosted Exchange stands today, since it explains why so many organisations are looking for a way out.
Microsoft has not announced the end of Exchange Server. On paper, on-premises Exchange motionless exists. In practice, all highway Microsoft is construction leads to Exchange Online:
- Exchange 2016 and 2019 are out of support. Both reached end of support on 14 October 2025. Microsoft sold a paid Extended Security Update program for a while, and according to press reports of an Exchange squad statement, it ended in October 2026 alongside no additional extension. Servers motionless operating those versions obtain no fixes of any kind.
- No new features. Exchange Server Subscription Edition (SE) is now the lone supported on-premises Exchange, and there volition be no additional important versions following it. SE does not obtain the features developed for the cloud. Even its archetypal cumulative update has slipped from delayed 2025 to an undetermined date in 2026.
- The new Outlook does not assistance it. Microsoft’s own documentation for the new Outlook for Windows says it plainly: “On-premises Exchange accounts aren’t supported.”
- The APIs are moving to the cloud. New functionality ships lone on Microsoft Graph, a haze API. Exchange Web Services in Exchange Online started being switched off in October 2026 and volition be gone entirely in April 2027.
None of these steps forces anyone to move on its own. Together, they depart an Exchange director alongside a shrinking set of choices: keep operating a server that volition not grow, or move the organisation’s communication into Microsoft’s cloud.
For many organisations the second choice is not acceptable. Email is the document of a company’s contracts, negotiations, lawful advice, HR matters and client data. Placing it alongside a US provider method placing it inside attain of US law, including the CLOUD Act, which allows US authorities to compel American providers to hand complete data they authority anywhere it is stored. Public administrations, healthcare providers, law firms, defence contractors and many European companies cannot obtain that, or no longer desire to. Data sovereignty method that you decide anywhere your data lives, under which jurisdiction, and who can peruse it. A communication assistance in person else’s haze cannot recommendation that, and an on-premises server whose vendor is steering its customers toward that haze offers small of it all year.
The obstacle to leaving Exchange has rarely been the server. It has been the client.
Many group have spent their entire operating existence in Outlook. They have years of muscle recollection in it: their directory layout, their rules, their calendar views, their shared mailboxes, the way they publish gathering rooms. Many organisations additionally have workflows built about it, specified as delegated calendars managed by an assistant. Replacing Exchange alongside a norm IMAP and CalDAV server has continually meant telling all one of those users to toggle to a distinct communication client, or to reconfigure Outlook into a reduced IMAP manner anywhere calendars and contacts no longer sync. For a immigration project, that is frequently anywhere the scheme dies.
With Stalwart 1.2.0 the users do not need to alter anything. The director moves the mailboxes and points the DNS records at Stalwart, and users nexus alongside the identical Outlook they used before.
Stalwart implements the following Microsoft protocols, all served on the identical HTTPS harbor as JMAP and the WebUI:
- MAPI complete HTTP (EMSMDB and NSPI), the native protocol of traditional Outlook for Windows, in the two cached and online mode. It covers mail, calendars, contacts, tasks and notes, incremental synchronisation, the earth location catalog and the offline location book, assign access, shared mailboxes, rules, junk email settings, reminders, hunt folders and peruse receipts.
- Exchange Web Services, schema versions Exchange 2010 SP2 to Exchange 2016: mail, calendars, contacts, tasks, folders, sharing and delegates, free/busy, inbox rules, out of office, name resolution, allocation lists, and streaming and drag notifications.
- Exchange ActiveSync 14.1 and 16.1: mail, calendars, contacts, tasks and notes, alongside shove through Ping, gathering responses, hunt and out of office.
- Autodiscover in its POX, SOAP and JSON dialects, so clients configure themselves from an email location and a password.
That set of protocols is what the following clients use to conversation to an Exchange server, and they can nexus to Stalwart the identical way:
- Classic Outlook for Windows (Outlook 2016 and later, including Microsoft 365 Apps), complete MAPI complete HTTP and EWS.
- Outlook for Mac, complete EWS.
- Apple Mail, Calendar and Contacts on macOS, through an Exchange document complete EWS.
- Mail, Calendar and Contacts on iPhone and iPad, through an Exchange document complete ActiveSync.
- Android communication apps alongside Exchange document support, specified as Gmail, Samsung Email and Nine, complete ActiveSync.
- Thunderbird, alongside its built-in Exchange assistance for communication complete EWS, or alongside TbSync for calendars, contacts and tasks complete ActiveSync.
- Evolution (through evolution-ews) and eM Client, complete EWS.
- Libraries and tools built on EWS or ActiveSync, specified as exchangelib.
The Exchange protocols are not a distinct silo inner Stalwart. They are another entrance into the identical accounts. A communication submitted in Outlook is in the identical mailbox an IMAP or JMAP client sees, a gathering accepted on a phone appears in the calendar that CalDAV clients read, and a communication added in Apple Contacts shows up in the CardDAV location book. A person can keep Outlook on the agency desktop, the native communication app on a phone and a JMAP webmail in the browser, all on one account.
Rules created in Outlook’s Rules and Alerts are stored on the server as mail rules, which run as Sieve whenever the communication is delivered. They use whenever Outlook is closed and any client the person opens next. Delegates and directory permissions set in Outlook rotate into regular Stalwart shares, so they use to all protocol. Shared mailboxes open automatically in Outlook from collection membership, as they do alongside Exchange.
Not all part of an Exchange deployment has a counterpart. Stalwart does not recommendation community folders, archive mailboxes, mobile equipment management, RPC complete HTTP (Outlook 2010 and earlier) or NTLM and Kerberos sign-in: clients authenticate alongside a password, an app password or OAuth. The Exchange documentation covers configuration, DNS and Autodiscover, all family of clients, and the differences from Exchange that administrators should cognize concerning before a migration.
One Outlook is missing from the catalog above: the new Outlook for Windows, the one that Windows now installs by default and that traditional Outlook keeps offering through a toggle in its heading bar.
The new Outlook does not activity alongside Stalwart, and it does not activity alongside any self-hosted server, Exchange included. It is built to activity through Microsoft’s cloud. Microsoft does not support on-premises Exchange accounts in it at all.
The new Outlook does obtain IMAP accounts, and that power appearance akin a way about the problem. It is not. When an IMAP document is added to the new Outlook, the association to the communication server is not made from the user’s computer. As heise and c’t reported in November 2023, the new Outlook sends the IMAP server name, the person name and the password to Microsoft, and Microsoft’s haze connects to the communication server on the user’s behalf. Every communication afterward passes through Microsoft’s infrastructure on its way to the screen. Microsoft does not lone see the mail; it holds the password to the mailbox.
For an institution that runs its own communication server to keep its data under its own control, this defeats the intent of the entire exercise. We advise against using the new Outlook alongside any self-hosted email deployment, whether it runs Stalwart or item else. Users who see the “Try the new Outlook” toggle in traditional Outlook should depart it off.
The identical applies on phones. Outlook for iOS and Android attain on-premises mailboxes through a Microsoft haze service as well, which requires a hybrid Exchange Online setup. On mobile devices, the native mail, calendar and contacts apps, which nexus immediately complete ActiveSync, are the improved choice.
The apparent inquiry is why Stalwart is adding Exchange protocols now. EWS is being removed from Exchange Online, Microsoft’s own forthcoming for Outlook is a haze client, and traditional Outlook is reportedly supported until 2029. Why build assistance for protocols that volition be obsolete in a few years?
Because the companies that run Exchange today cannot delay a few years, and since those protocols are the extend they need to cross.
An institution alongside a few hundred Outlook users cannot substitute its communication server and its communication client in the identical weekend. It can substitute the server, though, if nobody notices. With Stalwart speaking the Exchange protocols, the server moves first: mailboxes are migrated, DNS records change, and on Monday all person opens the identical Outlook and the identical phone apps they used on Friday. The organisation’s communication is rear under its own authority from day one, and no one’s activity is interrupted to get there.
The client can afterward alter at the gait that suits the users. Over time, as traditional Outlook reaches the end of its existence and the new Outlook remains tied to Microsoft’s cloud, we anticipate users to move gradually to third-party email clients built on open standards, and in particular on JMAP. Outlook volition halt being an choice for anyone who cares concerning anywhere their email lives, and by afterward the group who used it volition have had the period to choose item alternatively without a deadline complete their heads.
Exchange assistance is not anywhere Stalwart is going. It is how organisations get from anywhere they are to anywhere Stalwart is.
Exchange compatibility is not a small part of work. It adds concerning 200,000 lines of code to Stalwart, and we cognize that several of you would fairly not transport that importance if you never scheme to see an Outlook client. We built it alongside that in mind, so that it expenses as small as imaginable for those who do not use it, and so that it can be removed cleanly formerly the Exchange protocols are obsolete:
- It is a distinct module. All of the Exchange code lives in its own crates, rearward a sole toggle Cargo feature. Build Stalwart without that characteristic and all row of Exchange code is remaining out of the binary. The compilation guide shows how. The day the Exchange protocols have no users left, removing them from the codebase is mostly a matter of deleting those crates and that feature.
- It is impaired by default. Even in the authoritative builds, which contain the module, the Exchange protocols are off until an director enables them. While they are disabled, the server behaves as if they did not exist.
- It stores nothing until it is used. Outlook and the another Exchange clients keep properties that no norm protocol has a location for: extended properties, reminder state, client settings. Stalwart stores them as metadata attached to the item they pertain to, using the JMAP Object Metadata extension, and lone writes them whenever an Exchange client connects and sets them. Accounts that are never opened by an Exchange client transport no Exchange data at all.
- Its data can be removed. Because the Exchange-specific properties live in that metadata and not in the messages, events and contacts themselves, deleting the metadata removes all trace of them during the items remain intact for IMAP, JMAP, CalDAV and CardDAV clients.
A drop-in replacement is lone helpful if the data can follow. Vandelay, our document import and export tool, migrates mailboxes from the two sides of Microsoft’s offering:
- Exchange Server on premises, through the EWS importer, which says mail, calendars and contacts.
- Microsoft 365 (Exchange Online), through the Microsoft Graph importer, which says mail, calendars, contacts and OneDrive files. The EWS importer additionally plant against Exchange Online, for as lengthy as Microsoft keeps its EWS endpoint running.
Vandelay copies all document into Stalwart complete JMAP, and the domain moves to Stalwart whenever its MX records and client settings change. The migration guide for hosted services walks through the entire process, from the archetypal test document to the cutover. With the Exchange protocols enabled on Stalwart, Outlook and the another Exchange clients afterward nexus through Autodiscover and discover the migrated mail, calendars and contacts.
Exchange assistance is the headline, but 1.2.0 brings multiple another features, most of them developed alongside it since an Exchange replacement needs them:
- Mail rules. Server-side rules in the acquainted “when a communication matches these conditions, do this” form, managed in the WebUI, complete JMAP or from Outlook. Conditions shield senders and recipients, topic and body, headers, size, attachments, importance, communication type, mailing lists, spam score, date ranges and weekly schedules. Actions contain moving and copying, marking as peruse or as junk, forwarding, replying alongside a template and rejecting. Rules are compiled into Sieve together alongside the holiday response. Each document additionally gets junk email lists: blocked senders, harmless senders and harmless recipients. See Mail rules.
- Read receipts. Message Disposition Notifications (RFC 8098), including the JMAP methods for sending and parsing them (RFC 9007).
- Working hours. Per-account operating hours, managed in the WebUI, complete JMAP or through CalDAV. Time exterior operating hours appears as unavailable in free/busy lookups, and a new environment lets users of the identical institution see all other’s free/busy period without sharing calendars explicitly. See Availability.
- Rooms and equipment. Resource accounts alongside a capacity, a location and delegates who oversee the calendar, alongside invitations booked automatically or approved by hand. See Resources.
- Native FoundationDB client. A new asynchronous Rust client replaces Apple’s libfdb_c library. It needs no client archive on the presenter and is now part of the norm build and Docker image. In our benchmarks it delivers between 4.5 and 6.9 times the throughput of the former client on item reads, alongside 5 to 7 times lesser median latency and concerning fractional the CPU.
The changelog lists all alter and fix, alongside alongside the upgrade steps: existing servers need to add the new permissions to their default roles.
Last week we additionally released type 2.0.0 of stalwart-cli, and its biggest supplement is an interactive console. Run stalwart-cli alongside no arguments in a terminal and it opens a full-screen interface that covers the identical dirt as the WebUI: browsing and editing accounts, domains and all another configuration object, observing the dashboard, following live traces and operating actions. It is aimed at administrators who live in SSH sessions, or who activity on hosts anywhere beginning a browser is impractical.
The console is built alongside Ratatui, the outstanding Rust archive for terminal person interfaces, and it is schema-driven akin the remainder of the CLI: its screens, forms and site assistance arrive from the schema that the server publishes, so it picks up new objects without being updated. The CLI additionally learned to sign in alongside the OAuth equipment stream and to recall the session, so a sole endorsement in the browser is adequate for the two the console and all consequent command.
Stalwart volition be at FOSDEM 2027 in Brussels. We volition have a Stalwart stand, and on Saturday, 30 January 2027, we volition provision a conversation concerning moving from Microsoft Exchange to Stalwart in the Modern Email devroom. If you are preparedness a immigration distant from Exchange, or are inquisitive concerning what it takes, arrive and conversation to us. We volition article the period and heading of the conversation formerly the agenda is published.
Until then, the Exchange documentation has everything needed to try it, and we would affection to comprehend how your Outlook clients get on alongside Stalwart.