# Stalwart Mail Server

> Stalwart Mail Server is a free, open-source app you can self-host in the email servers category. All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. It has 14,971 GitHub stars, is released under the AGPL-3.0 license and ships a Docker image. It is a self-hosted alternative to Twilio SendGrid, Mailgun and Gmail.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/stalwartlabs/stalwart |
| Website | https://stalw.art/ |
| GitHub stars | 14,971 |
| Forks | 974 |
| Open issues | 59 |
| License | AGPL-3.0 |
| License type | Open source |
| Language | Rust |
| Docker image | Yes |
| Platforms | Rust, Docker |
| Categories | Email Servers |
| Commits, last 12 months | 679 |
| Last commit | Oct 5, 2026 |
| Latest release | v0.16.25 (Oct 5, 2026) |
| Created | Mar 6, 2023 |
| Maintenance | Actively maintained |
| Archived | No |

Topics: imap, jmap, mail, rust, server, smtp, pop3, caldav, carddav, webdav

## Install

Stalwart Mail Server ships a Docker image; follow the README at https://github.com/stalwartlabs/stalwart for the image name and environment variables.

Need it installed for you? [appsgit installation help](https://appsgit.com/services/install): a fixed quote by email, single app installs from $79.

## Stalwart Mail Server replaces

- [Twilio SendGrid alternatives](https://appsgit.com/alternatives/sendgrid): A transactional and marketing email delivery API.
- [Mailgun alternatives](https://appsgit.com/alternatives/mailgun): An email API for sending, receiving and tracking transactional mail.
- [Gmail alternatives](https://appsgit.com/alternatives/gmail): Google's email service with web and mobile apps.

## Similar apps in Email Servers

- [docker-mailserver](https://appsgit.com/apps/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. (18,903 stars, MIT, Shell, Docker)
- [Postal](https://appsgit.com/apps/postal): Complete and fully featured mail server for use by websites & web servers. (16,854 stars, MIT, Ruby, Docker)
- [Mail-in-a-Box](https://appsgit.com/apps/mail-in-a-box): Turns any Ubuntu server into a fully functional mail server with one command. (15,435 stars, CC0-1.0, Python)
- [Mailcow](https://appsgit.com/apps/mailcow): Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration. (13,563 stars, GPL-3.0, JavaScript, Docker)
- [Mailu](https://appsgit.com/apps/mailu): Simple yet full-featured mail server as a set of Docker images. (7,537 stars, MIT, Python, Docker)
- [Roundcube](https://appsgit.com/apps/roundcube): Browser-based IMAP client with an application-like user interface. (7,207 stars, GPL-3.0, PHP)
- [SimpleLogin](https://appsgit.com/apps/simplelogin): Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps. (7,037 stars, AGPL-3.0, Python, Docker)
- [Maddy Mail Server](https://appsgit.com/apps/maddy-mail-server): All-in-one mail server that implements SMTP (both MTA and MX) and IMAP. Replaces Postfix, Dovecot, OpenDKIM, OpenSPF, OpenDMARC with single daemon. (6,099 stars, GPL-3.0, Go)

---

Canonical page: https://appsgit.com/apps/stalwart-mail-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
