docker-mailserver
docker-mailserver is an open-source, self-hosted app in the Email Servers category, licensed MIT and written mainly in Shell. It is a self-hosted alternative to Gmail and ships a Docker image. It has 19,755 GitHub stars and its last commit was on Nov 15, 2026 (data as of Nov 16, 2026).
GitHub stats
- GitHub stars
- 19,755
- Forks
- 2,134
- Open issues
- 84
- Commits, last 12 months
- 134
- Last commit
- Nov 15, 2026
- Latest release
- v17.0.0Nov 5, 2026
- Created
- Mar 28, 2015
- License
- MITOpen source
Data as of from the GitHub API. Report an error
Project health
ActiveActive: last commit Nov 15, 2026, 134 commits in 12 months.
- Security policyPublishes a security policy on GitHub
| Last commit | Nov 15, 2026 |
|---|---|
| Commits, last 12 months | 134 |
| Latest release | v17.0.0 (Nov 5, 2026) |
| Releases, last 12 months | 3 |
| Releases, all time | 34 |
| Open issues | 84 |
| Open pull requests | 2 |
| Good first issues | 0 |
| Contributing guide | No |
| Security policy | Yes |
| Created | Mar 28, 2015 |
Health as of , from the GitHub API. A label describes activity, not quality or security. How we label project health · Report a data error
About 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.
Description adapted from awesome-selfhosted (CC BY-SA 3.0). Source code: github.com/docker-mailserver/docker-mailserver.
Topics
- mailserver
- postfix
- dovecot
- ldap
- fail2ban
- imap
- smtp
- container
- rspamd
Open-source alternative to
docker-mailserver can replace these commercial products. Compare every option on each page.
Repository preview
Similar apps
More apps like docker-mailserver
Other projects in Email Servers, ranked by GitHub stars.
Postal
postalserver/postal
Complete and fully featured mail server for use by websites & web servers.
Active · last commit Nov 14, 2026
Email ServersRubyDockerStalwart 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 Nov 16, 2026
Email ServersRustDockerMail-in-a-Box
mail-in-a-box/mailinabox
Turns any Ubuntu server into a fully functional mail server with one command.
Active · last commit Nov 8, 2026
Email ServersPythonMailcow
mailcow/mailcow-dockerized
Mail server suite based on Dovecot, Postfix and other software, that provides a modern Web UI for administration.
Active · last commit Nov 12, 2026
Email ServersPHPDockerMailu
Mailu/Mailu
Simple yet full-featured mail server as a set of Docker images.
Active · last commit Nov 14, 2026
Email ServersPythonDockerRoundcube
roundcube/roundcubemail
Browser-based IMAP client with an application-like user interface.
Active · last commit Nov 11, 2026
Email ServersPHP
Is docker-mailserver free and open source?
Yes. docker-mailserver is open-source software released under the MIT 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 docker-mailserver with Docker?
Yes. docker-mailserver 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 docker-mailserver?
Popular self-hosted alternatives to docker-mailserver include Postal, Stalwart Mail Server and Mail-in-a-Box. docker-mailserver itself is a self-hosted alternative to Gmail.
Is docker-mailserver actively maintained?
The most recent commit to docker-mailserver was on Nov 15, 2026 with 134 commits in the past twelve months. The latest release is v17.0.0, published Nov 5, 2026. It had 84 open issues on GitHub. appsgit's project-health label for it is "Active" as of Nov 16, 2026.