Stalwart 1.2.0 release notes: A drop-in replacement for Microsoft Exchange

Stalwart 1.2.0: Bridging the Gap to Open Source Email

Stalwart 1.2.0 has been released as a drop-in replacement for Microsoft Exchange, enabling organizations to migrate away from on-premises Exchange without forcing users to change their email clients. By implementing Microsoft's proprietary protocols—MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync, and Autodiscover—Stalwart allows classic Outlook, Apple Mail, and mobile native apps to connect to the server as if it were a standard Exchange environment.

The Case for Leaving On-Premises Exchange

Organizations currently running on-premises Exchange face a shrinking ecosystem as Microsoft shifts its focus entirely to the cloud. Key drivers for this transition include:

  • End-of-Life Status: Exchange 2016 and 2019 reached their end of support in October 2025, with the subsequent Extended Security Update program concluding in October 2026.
  • Feature Stagnation: The new Exchange Server Subscription Edition (SE) will not receive the cloud-native features developed for Exchange Online.
  • Client Incompatibility: Microsoft’s "New Outlook for Windows" does not support on-premises Exchange accounts, effectively forcing users toward cloud-based infrastructure.
  • Data Sovereignty: For organizations in regulated sectors like healthcare, defense, or law, self-hosting provides a necessary alternative to the legal risks associated with the US CLOUD Act and Microsoft’s cloud-centric data policies.

Implementation and Compatibility

Stalwart’s Exchange support is designed to be modular and non-intrusive. It is disabled by default and can be excluded entirely from the binary by omitting the exchange Cargo feature during compilation.

Supported Protocols

Stalwart provides full support for the following, allowing for seamless integration with existing workflows:

  • MAPI over HTTP: Enables classic Outlook for Windows to function with cached/online modes, including shared mailboxes, delegate access, and global address lists.
  • Exchange Web Services (EWS): Supports Outlook for Mac, Apple Mail, and various Linux-based clients like Evolution.
  • Exchange ActiveSync: Provides mobile synchronization for iOS and Android native mail apps.
  • Autodiscover: Automates client configuration using standard email and password credentials.

Important Operational Considerations

While Stalwart offers a technical drop-in replacement, users should note several critical limitations and best practices:

  • The "New Outlook" Warning: The new Outlook for Windows and mobile Outlook apps often route data through Microsoft’s cloud, even for IMAP accounts. Stalwart developers advise against using these clients with any self-hosted deployment to maintain data privacy.
  • Migration Tools: The Vandelay utility is included to facilitate migrations from both on-premises Exchange (via EWS) and Microsoft 365 (via Microsoft Graph).
  • Feature Set: Stalwart does not support legacy features like public folders, mobile device management (MDM), or NTLM/Kerberos authentication. Clients must authenticate via password, app password, or OAuth.

Community Insights and Discussion

Reaction to the release highlights the tension between technical feasibility and the realities of enterprise IT management.

  • The "Drop-in" Reality: Some commenters noted that while the protocol support is a significant technical achievement, the "drop-in" label may underestimate the support load for IT teams accustomed to the full Microsoft 365 ecosystem (Teams, Intune, etc.).
  • Regulatory Hurdles: Users in regions like Germany noted that compliance with strict archiving regulations (e.g., GoBD) remains a challenge, as Stalwart does not currently include built-in immutable archiving features.
  • Deliverability Concerns: A common challenge for self-hosted mail is IP reputation. As one user noted, "My IP got banned by outlook because outlook bans by /24 address space. Not much you can do."
  • The "Yesterday's War" Debate: Some observers argue that the focus on Exchange protocols is fighting a legacy battle, as many organizations have already shifted from email-centric workflows to platforms like Microsoft Teams.

Despite these challenges, the release is viewed by many as a vital hedge against vendor lock-in. As one contributor noted, "Reverse engineering is the perfect hedge to Enshittification."

Sources

Related