Skip to content
SPECIFICTION
Get listed

Docker Mailserver

docker-mailserver.github.io

LinuxSelf-hosted

Spec sheet

What it does
Docker Mailserver is a production-ready full-stack mail server providing SMTP, IMAP, LDAP, anti-spam and anti-virus in a container.Read 12 Oct 2026 · docker-mailserver.github.io
Purpose
Docker Mailserver is a production-ready mail server supporting SMTP, IMAP, LDAP, anti-spam, and anti-virus.Read 13 Oct 2026 · docker-mailserver.github.io
Deployment
The usage guide uses Docker Compose as its reference and requires a host the user can manage, a domain, and the ability to manage its DNS.Read 13 Oct 2026 · docker-mailserver.github.io
Integrations
Documented email relay options include AWS SES and Gmail, and the project also documents Kubernetes and Podman deployment.Read 12 Oct 2026 · docker-mailserver.github.io
Support
The repository asks users to consult the documentation before opening issues and says the issue tracker is for issues, not personal support.Read 13 Oct 2026 · github.com
License
The project is licensed under the MIT license.Read 13 Oct 2026 · docker-mailserver.github.io
Administration
The project provides a setup script to configure and administer the mail server.Read 13 Oct 2026 · docker-mailserver.github.io
Authentication
The repository lists LDAP and OAuth2 authentication support, including XOAUTH2 and OAUTHBEARER SASL mechanisms.Read 13 Oct 2026 · github.com
Client compatibility
DMS supplies the server side of email, and its documentation says clients can include terminal programs, desktop applications or a web interface.Read 12 Oct 2026 · docker-mailserver.github.io
Configuration
It uses configuration files and does not require a SQL database.Read 13 Oct 2026 · docker-mailserver.github.io
Customization
DMS supports simple customization through Docker Compose configuration and environment variables, and advanced customization through configuration patches or a derived image.Read 12 Oct 2026 · docker-mailserver.github.io
Fail2Ban
Fail2Ban support can be enabled, and the documentation says it requires granting the container at least the NET_ADMIN capability to ban IP addresses.Read 13 Oct 2026 · docker-mailserver.github.io
Image distribution
The usage guide says images are built and pushed to Docker Hub and GitHub Container Registry.Read 13 Oct 2026 · docker-mailserver.github.io
IMAP and POP3
The default configuration enables IMAP with TLS on ports 993 and 143 and disables POP3.Read 12 Oct 2026 · docker-mailserver.github.io
Included services
The project’s repository lists Postfix, Dovecot, Rspamd, Amavis, SpamAssassin, ClamAV, OpenDKIM, OpenDMARC, Fail2ban, Fetchmail, and Getmail6 among its included services.Read 13 Oct 2026 · github.com
Mail components
The documented mail delivery components include Postfix as the mail transfer agent and Dovecot as the mail delivery agent.Read 12 Oct 2026 · docker-mailserver.github.io
Mail security
The project documents TLS for mail connections and recommends preferring implicit TLS ports where possible.Read 13 Oct 2026 · docker-mailserver.github.io
Podman support
The project says Podman is not officially supported because DMS is built and verified on Docker Engine; its Podman guide is community supported.Read 13 Oct 2026 · docker-mailserver.github.io
Security options
The documentation includes configuration guidance for SSL/TLS, Fail2Ban, mail encryption, Rspamd, DKIM, DMARC, SPF and MTA-STS.Read 12 Oct 2026 · docker-mailserver.github.io
Setup
The project supplies a setup.sh script to configure and administer the server.Read 12 Oct 2026 · docker-mailserver.github.io
Support and guidance
The project provides versioned setup, configuration, usage, examples and FAQ documentation and asks users to consult the documentation before opening an issue.Read 12 Oct 2026 · docker-mailserver.github.io
Supported image platforms
The current container package lists linux/amd64 and linux/arm64 images.Read 13 Oct 2026 · github.com
TLS
The TLS guide documents certificate provisioning with Let's Encrypt, Caddy, Traefik, self-signed certificates, or user-provided certificates.Read 13 Oct 2026 · docker-mailserver.github.io
Transport security
The documented default enables and requires STARTTLS on port 587 for outbound submission, while port 25 supports unencrypted submission and inbound mail by default.Read 12 Oct 2026 · docker-mailserver.github.io

Where Specifiction places it

Alternatives to Docker MailserverAll alternatives →