Skip to content
Module 1 · Lesson 1 of 26

What is Mailcow: Dockerized?

Part of Mailcow: Self-Hosted Mail Server Mastery, in the Introduction to Mailcow module.

Author

Mailcow is an open-source, Dockerized mail server suite that bundles Postfix, Dovecot, Rspamd, ClamAV, SOGo, ACME, Redis, MariaDB, Solr, Watchdog, and Nginx into a single, self-contained stack.

Why Mailcow exists:

  • A modern alternative to monolithic builds (iRedMail, Mail-in-a-Box) and ancient hand-rolled Postfix/Dovecot setups.
  • Each component runs in its own container, so upgrades are atomic and reproducible.
  • Maintained by a small German team (Servercow / The Infrastructure Company GmbH) with an active community.

The container map:

Container Role
postfix-mailcow SMTP MTA that accepts and relays mail on 25/465/587
dovecot-mailcow IMAP/POP3/Sieve/LMTP for mailbox storage and delivery
rspamd-mailcow Content filtering, DKIM signing, greylisting
nginx-mailcow TLS termination + reverse proxy for UI and webmail
sogo-mailcow Groupware webmail + CalDAV/CardDAV/ActiveSync
mysql-mailcow Account metadata, ACLs, transport maps
redis-mailcow Caching for Rspamd, fail2ban, sessions
acme-mailcow Let's Encrypt cert automation
watchdog-mailcow Internal health probe + Telegram/email alerts
clamd-mailcow Optional virus scanning

Two flavors: Mailcow ships in a single docker-compose.yml and a config file (mailcow.conf) generated by ./generate_config.sh. There is no enterprise edition; everything is GPLv3.

Sign in to keep track of what you have read.

Pulse · email sending

Sending infrastructure that is yours alone.

Every domain gets its own MX host, IP, DKIM selector and certificate. Take it managed, and we run it for you, or buy a licence and run it on your own servers.

# on a fresh Ubuntu server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Also from us:Beat: monitoring that tells you the fixConsulting: $65/hr, no retainer