24 self-hosted apps
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 apps for email servers on GitHub are docker-mailserver, Postal and Mail-in-a-Box, ranked by stars below.
Ranked by GitHub stars
All 24 Email Servers apps
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.
Active · last commit Oct 25, 2026
Email ServersShellDockerPostal
postalserver/postal
Complete and fully featured mail server for use by websites & web servers.
Active · last commit Oct 20, 2026
Email ServersRubyDockerMail-in-a-Box
mail-in-a-box/mailinabox
Turns any Ubuntu server into a fully functional mail server with one command.
Active · last commit Oct 22, 2026
Email ServersPythonStalwart Mail Server
stalwartlabs/stalwart
All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features.
Active · last commit Oct 20, 2026
Email ServersRustDockerMailcow
mailcow/mailcow-dockerized
Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration.
Active · last commit Oct 25, 2026
Email ServersJavaScriptDockerMailu
Mailu/Mailu
Simple yet full-featured mail server as a set of Docker images.
Active · last commit Oct 25, 2026
Email ServersPythonDockerRoundcube
roundcube/roundcubemail
Browser-based IMAP client with an application-like user interface.
Active · last commit Oct 25, 2026
Email ServersPHPSimpleLogin
simple-login/app
Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps.
Active · last commit Oct 22, 2026
Email ServersPythonDockerMaddy Mail Server
foxcpp/maddy
All-in-one mail server that implements SMTP (both MTA and MX) and IMAP. Replaces Postfix, Dovecot, OpenDKIM, OpenSPF, OpenDMARC with single daemon.
Active · last commit Oct 20, 2026
Email ServersGoMox
mjl-/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…
Active · last commit Oct 9, 2026
Email ServersGoHaraka
haraka/Haraka
Fast, highly extensible, and event driven SMTP server.
Active · last commit Oct 17, 2026
Email ServersJavaScriptAnonAddy
anonaddy/anonaddy
Email forwarding service for creating aliases.
Active · last commit Oct 6, 2026
Email ServersPHPDockerModoboa
modoboa/modoboa
Mail hosting and management platform including a modern and simplified web user interface.
Active · last commit Oct 25, 2026
Email ServersPythonwildduck
zone-eu/wildduck
Scalable no-SPOF IMAP/POP3 mail server.
Active · last commit Oct 26, 2026
Email ServersJavaScriptDockeriRedMail
iredmail/iRedMail
Full-featured mail server solution based on Postfix and Dovecot.
Active · last commit Oct 19, 2026
Email ServersShellCypht
cypht-org/cypht
Feed reader for your email accounts.
Active · last commit Oct 23, 2026
Email ServersPHPSnappyMail
the-djmaze/snappymail
Simple, modern, lightweight & fast web-based email client (fork of RainLoop).
Active · last commit Oct 24, 2026
Email ServersPHPForward Email
forwardemail/forwardemail.net
Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid.
Active · last commit Oct 26, 2026
Source-availableEmail ServersJavaScriptDockerDebOps
debops/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.
Active · last commit Oct 19, 2026
Email ServersJinjaDovecot
dovecot/core
IMAP and POP3 server written primarily with security in mind.
Active · last commit Oct 25, 2026
Email ServersCDavMail
mguessan/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.
Active · last commit Oct 25, 2026
Email ServersJavaCyrus IMAP
cyrusimap/cyrus-imapd
Email (IMAP/POP3), contacts and calendar server.
Active · last commit Oct 24, 2026
Email ServersCOpenSMTPD
OpenSMTPD/OpenSMTPD
Secure SMTP server implementation from the OpenBSD project.
Active · last commit Sep 14, 2026
Email ServersCDragonFly
corecode/dma
A small MTA for home and office use. Works on Linux and FreeBSD.
Maintained · last commit Aug 30, 2026
Email ServersC
What is the best self-hosted app for email servers?
By GitHub stars, docker-mailserver is the most popular self-hosted app for email servers with 19,681 stars, followed by Postal and Mail-in-a-Box. The best fit depends on your needs, so compare Docker support, license and recent activity on each app page.
Are these Email Servers apps free?
Mostly. 23 of the 24 apps here are open source; 1 is source-available. The open-source apps are free to run on your own server; source-available licenses add conditions, such as limits on hosted, commercial or production use, so check the license on each app page. A few projects also offer a paid hosted plan or enterprise add-ons.
How do I install a self-hosted Email Servers app?
9 of the 24 apps here ship a Docker image, which is the easiest route: rent a small VPS or use a home server, install Docker, and start the app with its Docker Compose file. Apps without an image list their native install steps in the README.
Which Email Servers apps are most actively developed?
Measured by commits in the last twelve months, the most active projects are Cyrus IMAP (2,849 commits), Dovecot (2,206 commits) and Forward Email (1,461 commits). Active development usually means faster bug fixes and security patches.