# Best self-hosted Email Servers apps

> Mail servers, delivery agents and webmail clients. Run your own email with full control over storage, privacy and deliverability. The most popular self-hosted email servers apps on GitHub are docker-mailserver, Postal and Mail-in-a-Box. appsgit lists 24 self-hosted apps in this category, ranked by GitHub stars. 23 of the 24 apps here are open source; 1 is source-available.

## Key facts

| Fact | Value |
|---|---|
| Apps listed | 24 |
| Most starred | docker-mailserver (18,903 stars) |
| With a Docker image | 9 |
| Canonical URL | https://appsgit.com/categories/email-servers |

## All 24 Email Servers apps

- [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)
- [Stalwart Mail Server](https://appsgit.com/apps/stalwart-mail-server): All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. (14,971 stars, AGPL-3.0, Rust, Docker)
- [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)
- [Mox](https://appsgit.com/apps/mox): Complete e-mail solution with IMAP4, SMTP, SPF, DKIM, DMARC, MTA-STS, DANE and DNSSEC, reputation-based and content-based junk filtering, Internationalization (IDNA), automatic TLS with ACME and… (5,885 stars, MIT, Go)
- [Haraka](https://appsgit.com/apps/haraka): Fast, highly extensible, and event driven SMTP server. (5,613 stars, MIT, JavaScript)
- [AnonAddy](https://appsgit.com/apps/anonaddy): Email forwarding service for creating aliases. (4,885 stars, AGPL-3.0, PHP, Docker)
- [Modoboa](https://appsgit.com/apps/modoboa): Mail hosting and management platform including a modern and simplified web user interface. (3,542 stars, ISC, Python)
- [wildduck](https://appsgit.com/apps/wildduck): Scalable no-SPOF IMAP/POP3 mail server. (2,109 stars, EUPL-1.2, JavaScript, Docker)
- [iRedMail](https://appsgit.com/apps/iredmail): Full-featured mail server solution based on Postfix and Dovecot. (1,846 stars, GPL-3.0, Shell)
- [Cypht](https://appsgit.com/apps/cypht): Feed reader for your email accounts. (1,751 stars, LGPL-2.1, PHP)
- [SnappyMail](https://appsgit.com/apps/snappymail): Simple, modern, lightweight & fast web-based email client (fork of RainLoop). (1,706 stars, AGPL-3.0, PHP)
- [Forward Email](https://appsgit.com/apps/forward-email): Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid. (1,681 stars, BUSL-1.1, source-available, JavaScript, Docker)
- [DebOps](https://appsgit.com/apps/debops): Your Debian-based data center in a box. A set of general-purpose Ansible roles that can be used to manage Debian or Ubuntu hosts. (1,426 stars, GPL-3.0, Jinja)
- [Dovecot](https://appsgit.com/apps/dovecot): IMAP and POP3 server written primarily with security in mind. (1,261 stars, MIT, C)
- [DavMail](https://appsgit.com/apps/davmail): POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. (765 stars, GPL-2.0, Java)
- [Cyrus IMAP](https://appsgit.com/apps/cyrus-imap): Email (IMAP/POP3), contacts and calendar server. (652 stars, BSD-3-Clause-Attribution, C)
- [OpenSMTPD](https://appsgit.com/apps/opensmtpd): Secure SMTP server implementation from the OpenBSD project. (586 stars, ISC, C)
- [DragonFly](https://appsgit.com/apps/dragonfly): A small MTA for home and office use. Works on Linux and FreeBSD. (265 stars, BSD-3-Clause, C)

## Replaces

- [Open-source alternatives to Twilio SendGrid](https://appsgit.com/alternatives/sendgrid)
- [Open-source alternatives to Mailgun](https://appsgit.com/alternatives/mailgun)
- [Open-source alternatives to Gmail](https://appsgit.com/alternatives/gmail)

## Related categories

- [Groupware & Calendars](https://appsgit.com/categories/groupware-calendars): Shared calendars, contacts and collaboration suites. Sync schedules and address books across devices with CalDAV and CardDAV servers you run.
- [Utilities](https://appsgit.com/categories/utilities): Handy standalone tools that do not fit elsewhere, such as converters, translators and design apps. Small utilities worth self-hosting.
- [Finance & Budgeting](https://appsgit.com/categories/finance-budgeting): Personal finance, budgeting, expense tracking and payment tools. Manage your money without handing your data to a fintech app.
- [CMS](https://appsgit.com/categories/cms): Content management systems and headless CMS platforms for websites and apps. Publish and manage content on a stack you control.
- [Team Chat](https://appsgit.com/categories/team-chat): Self-hosted messaging, team chat and push notification platforms. A private alternative to Slack, Discord and hosted messengers.
- [File Sharing](https://appsgit.com/categories/file-sharing): Quick file upload and sharing services plus peer-to-peer clients. Send large files with expiring links, like a private WeTransfer.

---

Canonical page: https://appsgit.com/categories/email-servers
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.
