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

You Might Also Like
Relax: PRTG Monitors Your IT for You Icon
Relax: PRTG Monitors Your IT for You

Stay in control and avoid IT headaches. PRTG monitors your network, devices, and apps - receive alerts when it matters most.

You’re the go-to IT person, always putting out fires and keeping things running. With PRTG, you get reliable alerts to monitor your entire IT infrastructure, without the noise. Our intuitive setup gives you a clear overview of your network, devices, and applications in real time. Get instant alerts only when something needs your attention, whether you’re at your desk or on the move. Spend less time worrying about outages and more time focusing on what matters. Set up PRTG once and let it work for you - PRTG has you covered.
Start Your Free PRTG Trial Now
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