Stalwart Mail Server logo

Stalwart Mail Server

Modern all-in-one mail server with JMAP, IMAP4, and SMTP in a single Rust binary

13k Rust AGPL-3.0 today

Overview

Stalwart is a high-performance, all-in-one mail server written in Rust that supports JMAP, IMAP4, and SMTP in a single binary. It provides built-in spam and phishing filtering, anti-virus integration, full-text search, and a web-based admin interface. Stalwart handles SPF, DKIM, DMARC, ARC, and MTA-STS natively, and can store mail in common backends including RocksDB, PostgreSQL, MySQL, and S3-compatible object storage. Docker images are available for quick deployment.

Where it falls short of Gmail / Google Workspace

  • No built-in newsletter/broadcast campaign tooling
  • Web admin UI is functional but less refined than commercial email service dashboards
  • Third-party anti-virus (ClamAV) integration requires additional setup
  • Community support only on the free tier; paid support plans are limited

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

email
mail-server
imap
jmap
smtp
Maintain Stalwart Mail Server?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the Stalwart Mail Server difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/stalwart-mail-server)](https://openreplace.com/stalwart-mail-server)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

High-performance self-hosted newsletter and mailing list manager

22k Go AGPL-3.0 14 days ago
3/5
Stalwart Mail Server vs listmonk

Production-ready, config-driven mail server in a single container

18k Shell MIT 8 days ago
4/5
Stalwart Mail Server vs docker-mailserver

Self-hosted mail delivery platform, a SendGrid/Mailgun alternative

17k Ruby MIT 9 days ago
4/5
Stalwart Mail Server vs Postal

Turn any Ubuntu VPS into a complete, self-hosted mail server in one command

15k Shell CC0-1.0 25 days ago
2/5
Stalwart Mail Server vs Mail-in-a-Box