Self-host Mailcow
2026-11Self-hosted mail server suite with Docker Compose
- Stars
- 13 813
- Ports
- 25 (SMTP), 465 (SMTPS), 587 (Submission), 143 (IMAP), 993 (IMAPS), 110 (POP), 995 (POPS)
What is Mailcow?
mailcow: dockerized is a comprehensive mail server management platform designed for organizations seeking full control over their email infrastructure. It delivers integrated email services including IMAP/POP3/SMTP servers via Dovecot and Postfix,spam protection through Rspamd, antivirus scanning with ClamAV, webmail access via SOGo, calendar/carddav functionality, and DNS resolution with Unbound. The project runs entirely on Docker Compose following a quick installation process documented in the official guides. Active development continues with regular security updates and feature enhancements from The Infrastructure Company GmbH.
Mailcow alternatives
mailezA self-hosted email platform with SMTP, IMAP, POP3, CardDAV, CalDAV, a React webmail client, and admin console — all deployed via a single Docker Compose command.Comparemailez with Mailcow
DovecotSelf-hosted open-source IMAP/POP3 mail server for Linux with LMTP, ManageSieve, LDAP/PAM/OAuth2 auth, Sieve filtering, full-text search and official Docker images.CompareDovecot with Mailcow
iRedMailiRedMail is a self-hosted, open-source mail server bundling Postfix, Dovecot, Roundcube, SOGo, and anti-spam tools into a reproducible installer for Linux and BSD.CompareiRedMail with Mailcow
LanQin EmailLanQin Email is an open-source self-hosted webmail with multi-domain support, DKIM, anti-spam, and single-container Docker deployment.CompareLanQin Email with Mailcow
MoxOpen-source, self-hosted all-in-one email server with SMTP, IMAP4, webmail, junk filtering and automatic ACME TLS, set up for your own domain via quickstart.CompareMox with Mailcow
mailcueMailCue is a self-hosted, open-source email testing server with Postfix, Dovecot, DKIM, DMARC, SpamAssassin, REST API, and React UI in one Docker container.Comparemailcue with Mailcow
Mail-in-a-BoxOpen-source, self-hosted mail server appliance: one script turns a fresh Ubuntu 22.04 VPS into a full mail stack with webmail, spam filtering, DNS and a control panel.CompareMail-in-a-Box with Mailcow
MailFlowA self-hosted webmail app that merges multiple email accounts into one inbox with real-time sync, AI features, and offline-capable PWA.CompareMailFlow with Mailcow
Should you self-host Mailcow?
Mailcow scores 77/100 on selfhost.directory (how scoring works) and ranks #2 of 109 in Email. It has 13 813 GitHub stars, +219 in the last 30 days.
It shipped 17 stable releases in the past year. The latest, 2026-11, came out on 5 November 2026. New versions land roughly every 2 weeks.
Setup is advanced: plan for several services and some ongoing maintenance. It is GPL-3.0-licensed and written mostly in PHP.
Its closest alternative on selfhost.directory is Listmonk (80/100, 24 304 stars). It scores higher overall, so compare the two before you pick. See Mailcow vs Listmonk side by side.
Mailcow README
Please consider a support contract with Servercow to support further development. We support you while you support us. :)
You can also get a SAL which is a one-time payment with no liabilities or returning fees.
Or just spread the word: moo.
More in Email
MailCrabSelf-hosted email testing server that catches all SMTP mail and lets developers inspect messages through a web UI, built with Rust.
mailcueMailCue is a self-hosted, open-source email testing server with Postfix, Dovecot, DKIM, DMARC, SpamAssassin, REST API, and React UI in one Docker container.
mailezA self-hosted email platform with SMTP, IMAP, POP3, CardDAV, CalDAV, a React webmail client, and admin console — all deployed via a single Docker Compose command.
MailFlowA self-hosted webmail app that merges multiple email accounts into one inbox with real-time sync, AI features, and offline-capable PWA.
mailformMailForm is a self-hosted, open-source email relay for contact forms with configurable SMTP targets, rate limiting, and captcha support.
MailHogOpen-source SMTP testing tool: capture outgoing mail in a web UI or JSON API, release it to a real server. Runs self-hosted as a single binary or Docker image.
Mail-in-a-BoxOpen-source, self-hosted mail server appliance: one script turns a fresh Ubuntu 22.04 VPS into a full mail stack with webmail, spam filtering, DNS and a control panel.
MailnesiaMailnesia is a self-hosted disposable email service that auto-clicks registration links, supports aliases and alternate domains, and provides RSS feeds per mailbox.
MailpileSelf-hosted webmail with PGP encryption. Custom search organizes email using tags. Open-source alternative to commercial email.
MailpitAn open-source SMTP mail catcher for developers: a self-hosted single binary or Docker image with a web UI, REST API, POP3 server and HTML, link and spam checks.
mailriseMailrise is a self-hosted, open-source SMTP server that transforms emails into Apprise notifications for 60+ services like Matrix, Nextcloud, and mobile push.
mailspring-apiSelf-hosted API server replacing Mailspring's official sync backend, enabling metadata sync, read receipts, link tracking, and scheduled sending for the email client.
0 comments