talira

docker-mailserver

Production-ready fullstack but simple mail server running inside a container

open sourceMITself-hostablefree

docker-mailserver (DMS) is a complete mail server in one container image, configured only through files and environment variables, with no SQL database. It bundles Postfix for SMTP, Dovecot for IMAP and POP3 with SASL, LDAP, Sieve filters and quotas, Rspamd, Amavis, SpamAssassin, Postscreen and Postgrey against spam, ClamAV with automatic updates against viruses, OpenDKIM and OpenDMARC for signing and checking mail, Fail2ban, and Fetchmail and Getmail6 to collect mail from other accounts, with flexible TLS certificate support. A setup script adds accounts and aliases and handles maintenance.

Problems it solves

  • run my own mail server for my domain without setting up Postfix and Dovecot by hand
  • a self-hosted email server in Docker configured with plain files instead of a database
  • host email for a few domains with spam and virus filtering on my own VPS
  • set up DKIM and DMARC on a self-hosted mail server
  • pull mail from old accounts into my self-hosted mailbox
  • an IMAP and SMTP server that authenticates users against LDAP

Features

  • Postfix SMTP with Postscreen and Postgrey
  • Dovecot IMAP and POP3 with SASL, LDAP, Sieve and quotas
  • Rspamd, Amavis and SpamAssassin spam filtering
  • ClamAV antivirus with automatic updates
  • OpenDKIM and OpenDMARC
  • Fail2ban
  • Fetchmail and Getmail6
  • flexible TLS certificate support
  • configuration files only, no SQL database
  • setup script for accounts, aliases and maintenance

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what docker-mailserver does.

  1. Mail-in-a-Box Mail-in-a-Box lets you become your own mail service provider in a few easy steps
  2. Mailu Insular email distribution - mail server as Docker images
  3. mailcow The mailserver suite with the 'moo'
  4. Stalwart Secure, scalable mail & collaboration server with comprehensive protocol support
  5. Modoboa Mail hosting made simple
  6. Maddy Mail Server Composable all-in-one mail server

Compare docker-mailserver with the top 3