Stalwart Mail Server
All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features.
- Email Servers
- Rust
- AGPL-3.0
- Docker
- Actively maintained
GitHub stats
- GitHub stars
- 14,971
- Forks
- 974
- Open issues
- 59
- Commits, last 12 months
- 679
- Last commit
- Oct 5, 2026
- Latest release
- v0.16.25Oct 5, 2026
- Created
- Mar 6, 2023
Data from the GitHub API, refreshed daily.
About Stalwart Mail Server
All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. Stalwart Mail Server is open source under the AGPL-3.0 license and written mainly in Rust, so you can read the code, run it on your own hardware and keep full control of your data.
The project has 14,971 stars and 974 forks on GitHub, with 679 commits over the last year. It ships a Docker image, which makes it a good fit for a small VPS or a home server running Docker Compose.
Topics
- imap
- jmap
- rust
- server
- smtp
- pop3
- caldav
- carddav
- webdav
Open-source alternative to
Stalwart Mail Server can replace these commercial products. Compare every option on each page.
Repository preview
Similar apps
More apps like Stalwart Mail Server
Other projects in Email Servers, ranked by GitHub stars.
docker-mailserver
docker-mailserver/docker-mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container. Only configuration files, no SQL database.
Email ServersShellDockerPostal
postalserver/postal
Complete and fully featured mail server for use by websites & web servers.
Email ServersRubyDockerMail-in-a-Box
mail-in-a-box/mailinabox
Turns any Ubuntu server into a fully functional mail server with one command.
Email ServersPythonMailcow
mailcow/mailcow-dockerized
Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration.
Email ServersJavaScriptDockerMailu
Mailu/Mailu
Simple yet full-featured mail server as a set of Docker images.
Email ServersPythonDockerRoundcube
roundcube/roundcubemail
Browser-based IMAP client with an application-like user interface.
Email ServersPHP
What is Stalwart Mail Server?
Stalwart Mail Server is a free, open-source app you can host on your own server, listed in our Email Servers category. All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. The source code lives at github.com/stalwartlabs/stalwart, where it has 14,971 stars.
Is Stalwart Mail Server free and open source?
Yes. Stalwart Mail Server is open-source software released under the AGPL-3.0 license, so you can self-host it at no cost. You only pay for the server it runs on, and some projects also offer an optional paid cloud plan.
Can I run Stalwart Mail Server with Docker?
Yes. Stalwart Mail Server provides a Docker image, so you can run it on any Linux server with Docker and Docker Compose installed. The project README lists the image name and the environment variables to set.
What are the best alternatives to Stalwart Mail Server?
Popular open-source alternatives to Stalwart Mail Server include docker-mailserver, Postal and Mail-in-a-Box. Stalwart Mail Server itself is a self-hosted alternative to Twilio SendGrid, Mailgun and Gmail.
Is Stalwart Mail Server actively maintained?
The most recent commit to Stalwart Mail Server was on Oct 5, 2026 with 679 commits in the past twelve months. The latest release is v0.16.25, published Oct 5, 2026. Check the open issues on GitHub to gauge how quickly maintainers respond.