Mailcow

Mailcow is a self-hosted, Docker-based mail server suite that bundles everything needed to run your own email in one deployment.

  • Communication
  • Productivity
Mailcow is a self-hosted, Docker-based mail server suite that bundles everything needed to run your own email in one deployment. It provides SMTP and IMAP/POP3 (via Postfix and Dovecot), spam and virus filtering, a webmail client, and an admin UI for managing domains, mailboxes, and DNS records like SPF, DKIM, and DMARC. It suits homelabbers and small organisations who want an all-in-one alternative to hosted email without assembling each component manually.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

68/100 Good

Maintained
100last commit 14 days ago
Popular
8313,884 GitHub stars
Easy to install
251 install platform, install notes
Light to run
106 GB minimum RAM
Security check
73no serious findings, 2 minor, CI, tests, OpenSSF Scorecard 5.9/10

Availability: platform listings confirmed today

GitHub stars
13,884
Open issues
490
Last commit
2026-11-19
Latest release
2026-11b
License
GPL-3.0
Activity
rising

Checked 6 days ago - source: GitHub (mailcow/mailcow-dockerized)

Resources & Compatibility

Minimum requirements: 6 GB RAM, 1 CPU core(s), 20 GB disk.

Checked 6 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Getting started Mailcow runs as a Docker Compose stack on a Linux host with Docker and Docker Compose installed. Clone the mailcow-dockerized repository, generate the configuration with the provided script, set your hostname and timezone, then run docker compose up -d. DNS records (SPF, DKIM, DMARC, MX) must be configured for your domain before mail flows correctly. source

Fetched 6 days ago - each note links to its source

Alternatives (12)

  • Mail-in-a-box - Mail-in-a-Box is an easy-to-deploy self-hosted mail server that turns a fresh Ubuntu machine into a complete email hosting solution.
  • Microsoft Exchange - Exchange business-class email helps increase user productivity while protecting your data.
  • Modoboa - Modoboa is an open-source mail hosting and management platform that provides a web interface, administration panel, and webmail for self-ho…
  • Poste.io - Poste.io is a free self-hosted mail server that provides POP3, SMTP, IMAP, spam filtering, WebMail, and web administration for individuals…
  • Proxmox Mail Gateway - Proxmox Mail Gateway is the leading open-source email security solution helping you to protect your mail server against all email threats t…
  • Stalwart - Stalwart is an open-source, all-in-one email server that unifies JMAP, IMAP (Internet Message Access Protocol), and SMTP (Simple Mail Trans…
  • WildDuck - WildDuck is a scalable, no-single-point-of-failure IMAP and POP3 mail server.
  • Zimbra Collaboration Suite - Zimbra Collaboration is an open, secure collaboration tool for email, calendaring, tasks and more.
  • docker-mailserver - A production-ready, full-featured mail server that runs in a single Docker container, bundling SMTP, IMAP, LDAP, anti-spam, antivirus, and…
  • hMail Server - hMailServer is a free e-mail server for Microsoft Windows.
  • iRedMail - iRedMail is a free, open-source toolkit that installs a fully-featured mail server on your own Linux or BSD machine in minutes.
  • mailu - Mailu is a simple yet full-featured mail server as a set of Docker images.

Checked 6 days ago - source: AlternativeTo

Common questions

Does mailcow work behind a reverse proxy, and which ones are supported?

Yes, mailcow can run behind a reverse proxy. The documentation covers Apache 2.4 and Nginx, with community-supported configs for HAProxy, Traefik v3, Caddy v2, and Pangolin.

How can I migrate existing mailboxes from Microsoft 365 to mailcow?

Use mailcow's sync jobs, which were reworked in update 2026-11 to sign in to Microsoft 365 directly via OAuth2 and run in parallel, so mailboxes can be moved step by step.

What are common installation gotchas, such as MTU or IPv6 issues?

If your host's MTU is not 1500 (e.g., on OpenStack) or the host has no IPv6, mailcow's troubleshooting section explains the needed adjustments; mailcow also offers an option to disable IPv6 entirely.

What DNS records do I need to set up before mail will flow?

You must configure SPF, DKIM, DMARC, and MX records for your domain before mail flows correctly.

How is mailcow licensed, and can I support its development?

Mailcow itself is released under the GNU General Public License, Version 3. You can support development via a Servercow support contract, a one-time SAL payment, or GitHub Sponsors.

Answers sourced from docs.mailcow.email, github.com, mailcow.email

Community

Collected 6 days ago - public community threads