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.
- GitHub stars
- 19,511
- License
- MIT
- Latest release
- v16.0.1
4 September 2026 - Last commit
- 4 October 2026
- Runs on
- Docker
Commits per month, last 12 months
111 commits
Replaces
Paid products docker-mailserver can stand in for.
How to self-host docker-mailserver
docker-mailserver runs on Docker. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.
- Get a server: a home server, a VPS, or a managed app host.
- Install it the way the project's docs describe, usually with Docker Compose.
- Put it behind HTTPS and set up backups before you add real data.
- Update it regularly. Watch the project's releases.
Similar apps
- Postal
Complete and fully featured mail server for use by websites & web servers.
- Mail-in-a-Box
Turns any Ubuntu server into a fully functional mail server with one command.
- Stalwart Mail Server
All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features.
- Mailcow
Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration.
- Mailu
Simple yet full-featured mail server as a set of Docker images.
- SimpleLogin
Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps.
Questions
Is docker-mailserver free?
Yes. docker-mailserver is open source under the MIT license, so you can use it without paying for a license. You pay only for the server it runs on.
Can I self-host docker-mailserver?
Yes. docker-mailserver runs on Docker. Follow the install guide in the project's documentation, or use a host that installs it for you.
What does docker-mailserver replace?
People use docker-mailserver instead of Gmail.
Is docker-mailserver still maintained?
The last change to docker-mailserver's code was on 4 October 2026, with 111 commits in the last 12 months.
Topics
App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.