Skip to content

Mailcow

Docker-based mail server suite with SOGo webmail for admins who run their own domain

Copyleft (OSI) · GPL-3.0
  • Self-hosted

Listed by , founder & editor

84

Health

Thriving

Overview

Stars

13,864

Last commit

4 days ago

Nov 2026

Repository age

9 years

since Dec 2016

Latest version

2026-11b

Nov 2026

Contributors

–

4 active in 90 days

Releases

19

last 12 months

Language

PHP

Mailcow packages a complete mail server as a Docker Compose stack. It combines Postfix and Dovecot for mail transport and storage, Rspamd and ClamAV for spam and virus filtering, and SOGo for webmail, calendar and contacts. ACME support handles TLS certificates. A web interface covers day-to-day administration.

You run it on your own server with your own domain. The project has been developed since 2016, is written mainly in PHP, and ships regular releases. It is managed by The Infrastructure Company GmbH, which also sells support contracts through Servercow.

Mailcow fits teams that want to replace hosted mailboxes such as Microsoft Outlook with Exchange-style mail, Yahoo! Mail or Yandex Mail with something they control. It does not match Exchange's native ActiveSync-level integration, and it has no end-to-end encryption. You also handle DNS, upkeep and deliverability yourself.

Mailcow's own code is GPL-3.0. It bundles many other open source components, so check that their licenses suit you.

Who it's for

Sysadmins running mail for a small company

One Docker stack gives them mailboxes, webmail, calendar, contacts and spam filtering with a web admin panel.

Skip if: You do not want to maintain DNS records, updates and server reputation yourself.

Teams moving off Exchange or Outlook-based hosting

SOGo provides webmail, calendars and contacts, and the stack replaces a hosted mail service.

Skip if: You depend on native Exchange or ActiveSync-level integration.

Homelab users hosting mail for their own domain

The suite is self-contained and documented, with ACME certificates built in.

Skip if: Your ISP or IP address cannot deliver mail reliably.

The problem it solves

Hosted mail services keep your messages on someone else's servers and tie you to their terms. Assembling Postfix, Dovecot, spam filtering and webmail by hand is slow and error-prone. Mailcow bundles these parts into one Docker stack.

Strengths

  • Bundles Postfix, Dovecot, Rspamd, ClamAV and SOGo in one Docker Compose stack
  • SOGo adds webmail, calendar and contacts
  • Web admin interface for managing mail
  • Active project: 19 releases in the last year, first commit in 2016
  • Built-in ACME support for TLS certificates

Trade-offs

  • You need your own server and domain
  • No end-to-end encryption
  • No native Exchange or ActiveSync-level integration
  • Admin work for DNS, updates and deliverability falls on you

Mailcow replaces

Self-host Mailcow

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

In the community

Frequently asked questions

Is Mailcow free?

Yes. The code is released under GPL-3.0. Paid support contracts are optional.

Can I self-host it?

Yes, self-hosting is the intended use. It runs as a Docker stack on your own server.

Does it offer hosted mailboxes?

No. You run the server yourself and deliverability depends on your own IP.

How is it licensed?

Mailcow itself is GPL-3.0. It uses other open source software with their own licenses.

Other Yahoo! Mail alternatives

Compare all 5 Yahoo! Mail alternatives →

Similar tools in Email software

docker-mailserver

Email software

Containerized mail server built on Postfix and Dovecot, configured with plain files

20k 2.1k today Thriving MIT

Replaces Gmail

FairEmail

Email software

Android email client for people who want privacy and many accounts in one inbox

4.8k 714 3 days ago Active GPL-3.0

Replaces Microsoft Outlook

Proton Mail Bridge

Email software

Desktop app that lets Outlook, Thunderbird and Apple Mail read Proton Mail over IMAP

1.6k 254 17 days ago Active GPL-3.0

opentrashmail

Email software

968 78 33 days ago Slowing Apache-2.0

Postal

Email software

Self-hosted mail server with SMTP and API delivery for apps and websites

17k 1.3k 3 days ago Active MIT

Replaces Mailgun