HN
Today

Stalwart is now a drop-in replacement for Microsoft Exchange

Stalwart 1.2.0 is out, boldly claiming to be a drop-in, open-source replacement for Microsoft Exchange, complete with MAPI and EWS support. This release aims to provide a lifeline for organizations desperate to escape Microsoft's cloud-centric embrace and reclaim data sovereignty without forcing users off Outlook. However, the Hacker News crowd is split between cautious optimism for a much-needed alternative and deep skepticism about the feasibility and enterprise-readiness of such a critical system replacement.

54
Score
26
Comments
#2
Highest Rank
15h
on Front Page
First Seen
Nov 23, 11:00 PM
Last Seen
Nov 24, 1:00 PM
Rank Over Time
222223223233458

The Lowdown

Stalwart has unveiled version 1.2.0, positioning itself as a direct, open-source substitute for Microsoft Exchange. This significant update introduces support for key Exchange protocols, enabling existing Outlook, Apple Mail, and Android mail clients to connect seamlessly, preserving user workflows and muscle memory.

The impetus for this move stems from Microsoft's clear strategy to deprecate on-premises Exchange. With older versions out of support, no new features for Exchange Server Subscription Edition, and the new Outlook explicitly not supporting on-prem, Microsoft is herding users to Exchange Online. However, many organizations—especially those in public administration, healthcare, legal, and defense, along with many European companies—cannot comply due to data sovereignty concerns and regulations like the CLOUD Act.

Key features and implications of Stalwart 1.2.0 include:

  • Protocol Compatibility: Implementation of MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync, and Autodiscover allows familiar clients to connect as if to an Exchange server.
  • Migration Strategy: Stalwart offers a bridge. Organizations can first migrate their mail server without user-side client changes, then gradually transition users to open-standard clients like JMAP as classic Outlook phases out.
  • Modular Design: Exchange protocol support is a separate, AGPL-licensed module (approximately 200,000 lines of code), disabled by default, which can be excluded from builds or removed later.
  • Migration Tools: The Vandelay tool facilitates migrations from both on-premises Exchange (via EWS) and Microsoft 365 (via Graph).
  • New Outlook Warning: The article strongly advises against using the 'new Outlook for Windows' and mobile Outlook apps, as they route all user data and credentials through Microsoft's cloud, undermining the purpose of self-hosting.
  • Other Enhancements: The release also brings server-side mail rules, read receipts, per-account working hours, resource management (rooms/equipment), a native FoundationDB client, and an interactive CLI console.

In essence, Stalwart aims to offer organizations a viable pathway to retain control over their email infrastructure, providing the necessary compatibility to smooth the transition away from Microsoft's increasingly cloud-locked ecosystem.

The Gossip

Enterprise Exodus & Exchange's End-Game

Many commenters reflect on Microsoft's clear strategy to steer all users towards its cloud offerings, perceiving on-premises Exchange as a 'dead-end technology.' This prompts discussion on whether it's wise to build a solution around deprecated protocols, even if it offers a temporary escape hatch. Some feel that supporting these proprietary standards, while practical for migration, ultimately does a disservice to the open email ecosystem by reinforcing Microsoft's grip, while others see it as a necessary evil to bridge a gap.

Risk, Reliability, & Reality Checks

The HN community voiced significant skepticism about the enterprise adoption of Stalwart. Concerns ranged from the AGPL license being a non-starter for many large companies to the inherent risk of replacing a mission-critical system like Exchange with a new open-source solution. Commenters questioned if Stalwart could truly replicate the 'everything else' that makes Exchange indispensable in large organizations—like complex calendaring, directory integration, granular permissions, and vendor support—asserting that email is only a small part of Exchange's value proposition. The 'risk to reward' ratio for IT decision-makers was a recurring theme.

AI's Alibi (or Absence)

A surprising tangent emerged around the potential use of AI in Stalwart's development. What began with a single comment speculating about AI's involvement quickly escalated into a broader debate. Some commenters pointed to the project's scale (200k+ lines of code) as potential evidence of AI assistance, raising concerns about unread or untrusted code. Others linked to Stalwart's own blog post detailing their AI usage policies, while many engaged in a meta-discussion about whether AI is now a default part of software development and the implications for quality, trust, and developer workflows.