Docker Mailserver by docker-mailserver

Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.

dockermailservermailpostfixdovecotldapfail2banimapsmtpantispamantiviruskubernetes
Verdict 80/100 health $4.13/mo cheapest, hetzner 3/5 setup difficulty Last release 9 months ago

Self-host Docker Mailserver on hetzner CAX11 for $4.13/mo.

Health score
80 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
3 /5
External DB / setup
GitHub stars
18k
2.0k forks

About Docker Mailserver

From the project's README at github.com/docker-mailserver/docker-mailserver. Lightly cleaned for readability; for the full source see the upstream repo.

[![ci::status]][ci::github] [![docker::pulls]][docker::hub] [![documentation::badge]][documentation::web]

[ci::status]: https://img.shields.io/github/actions/workflow/status/docker-mailserver/docker-mailserver/defaultonpush.yml?branch=master&color=blue&label=CI&logo=github&logoColor=white&style=for-the-badge [ci::github]: https://github.com/docker-mailserver/docker-mailserver/actions [docker::pulls]: https://img.shields.io/docker/pulls/mailserver/docker-mailserver.svg?style=for-the-badge&logo=docker&logoColor=white&color=blue [docker::hub]: https://hub.docker.com/r/mailserver/docker-mailserver/ [documentation::badge]: https://img.shields.io/badge/DOCUMENTATION-GH%20PAGES-0078D4?style=for-the-badge&logo=googledocs&logoColor=white [documentation::web]: https://docker-mailserver.github.io/docker-mailserver/latest/ About

A production-ready fullstack but simple containerized mail server (SMTP, IMAP, LDAP, Anti-spam, Anti-virus, etc.). Only configuration files, no SQL database. Keep it simple and versioned. Easy to deploy and upgrade. Originally created by @tomav, this project is now maintained by volunteers since January 2021. <!-- Adds a thin line break separator style -->

> [!TIP] > Be sure to read [our documentation][documentation::web]. It provides guidance on initial setup of your mail server.

Health score breakdown

6-dimension composite. See methodology for formula and weights.

activity
76
maturity
100
community
95
security
85
sustainability
100
adoption
39

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
GitHub stars 18k github.com/docker-mailserver/docker-mailserver
GitHub forks 2.0k github.com/docker-mailserver/docker-mailserver

Release & maintenance

Is this project actively maintained, or about to die? Check the recency of last commit and last release.

Project age11.1 yearssince Mar 2015
Last commit6 days agoMay 1, 2026
Releases shipped31last: 9 months ago
Security policySECURITY.mddeclared by maintainers
Funding links1declared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
hetzner CAX11 2c · 4GB · 40GB $4.13 USD Deploy →
vultr VC2 1c · 1GB · 25GB $5 USD Deploy →
linode Nanode 1GB 1c · 1GB · 25GB $5.12 USD Deploy →
digitalocean Basic Regular 1GB 1c · 1GB · 25GB $6 USD Deploy →

What people say on Hacker News

Ready to self-host Docker Mailserver?

Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.

Data last refreshed May 7, 2026.

Similar open-source projects

Projects in our directory that replace the same SaaS or share topics with Docker Mailserver.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.