Run an SMTP and IMAP mail server with Docker Mailserver, which includes LDAP, anti-spam, and anti-virus components.

docker-mailserver.github.io/docker-mailserver/…
Docker Mailserver homepage screenshot

About Docker Mailserver

Docker Mailserver, or DMS for short, is a fullstack mail server that runs in Docker. It provides SMTP and IMAP services along with LDAP, anti-spam, and anti-virus components. It uses only configuration files and no SQL database, following an approach described as simple and versioned.

The site is the versioned documentation for setting up and running the server. You can learn basic setup and configuration, work with Docker Compose examples, and use the included setup.sh script to configure and administer the server. It also covers environment variable options, config files, debugging, and advanced topics such as email filtering, forwarding, and full-text search.

It suits people with Docker experience who want to self-host mail and manage configuration through files and environment variables. Advanced setup may require reading the full documentation and inspecting the running container for debugging.

Key features

  • SMTP and IMAP mail server running in Docker
  • Includes LDAP, anti-spam and anti-virus components
  • Uses configuration files with no SQL database
  • setup.sh script for configuration and administration
  • Configuration through environment variables and config files
  • Docker Compose examples and debugging documentation
Best for: People with Docker experience who want to self-host a mail server using configuration files.
Good for
  • Versioned documentation that matches image tags
  • Uses only configuration files, no database
  • Includes setup.sh administration script
  • Covers basic setup to advanced use cases
Watch out for
  • Advanced tasks require reading extensive documentation
  • Debugging may require inspecting the running container

Docker Mailserver at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Docker Mailserver alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 17 alternatives

mafl

mafl.hywax.space

Organize a homepage of services with Mafl, a dashboard for grouping and accessing web applications.

Popular in Self-Hosting

Well-known listings from the same topic.

All 37

Docker Mailserver FAQ

What is Docker Mailserver?
DMS is a fullstack mail server using Docker that provides SMTP, IMAP, LDAP, anti-spam and anti-virus components.
Does Docker Mailserver use a SQL database?
No. It employs only configuration files and no SQL database.
What is setup.sh?
It is a script supplied with the project that supports configuring and administrating the server.
How do I choose the right documentation version?
Select documentation matching the version of the image you use. The default version corresponds to the :latest tag.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing