docker-mailserver provides a production-ready, all-in-one email server in a single container, focused on simplicity and maintainability. It bundles the core mail stack—Postfix for SMTP and Dovecot for IMAP/POP3—then layers in optional anti-spam and anti-virus services, DKIM/DMARC signing and verification, and rate-/abuse-protection tooling. The project emphasizes secure defaults while exposing configuration via environment variables and mounted files, allowing you to define users, aliases, domains, and sieve filters without rebuilding images. It integrates smoothly with Let’s Encrypt for TLS, supports LDAP and other auth backends, and ships with scripts to validate DNS records and common misconfigurations. Persistent volumes keep mailboxes and state, making upgrades straightforward and rollbacks less risky. Administrators appreciate the clear docs, test suite, and opinionated conventions that help avoid fragile bespoke setups.

Features

  • Support for SMTP, IMAP, POP3, LDAP authentication and user management
  • Integrated antispam & antivirus tools (Rspamd, SpamAssassin, ClamAV, etc.)
  • Easy configuration via environment variables and overrideable config files in container volumes
  • No SQL database requirement by default; simpler versioned configs and fewer moving parts
  • Supports modern email authentication and deliverability standards: DKIM, DMARC, SPF, TLS etc.
  • Extensible with LDAP, fetchmail/getmail for mail retrieval, optional features like quotas, sieve filters etc.

Project Samples

Project Activity

See All Activity >

Categories

Email Servers

License

MIT License

Follow Docker Mailserver

Docker Mailserver Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Docker Mailserver!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-09-19