# Mailcow

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

Canonical page: https://ourlocalhost.com/app/7855/mailcow

## Description

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: Any server.

## Health score

68/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 14 days ago)
- Popular: 83 (13,884 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 10 (6 GB minimum RAM)
- Security check: 73 (no serious findings, 2 minor, CI, tests, OpenSSF Scorecard 5.9/10)

## Links

- Official website: https://mailcow.email
- GitHub: https://github.com/mailcow/mailcow-dockerized
- Documentation: https://docs.mailcow.email/getstarted/install/

## 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.

## Alternatives

- 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/7855/mailcow), the self-hosted and open-source app directory.
