Mailu
Mailu is an open-source, self-hosted mail server distributed as a set of Docker images, providing IMAP, SMTP, domain aliases, a built-in webmail client, and…
Platform availability
Available on 2 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server
Other devices
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.
64/100 Good
- Maintained
- 100last commit 5 days ago
- Popular
- 787,651 GitHub stars
- Easy to install
- 453 install platforms, install notes
- Light to run
- 303 GB minimum RAM
- Security check
- 201 serious finding, 3 minor, CI, tests, OpenSSF Scorecard 6.3/10
Security check: 1 serious finding
- A private key is committed in the source code (core/admin/mailu/schemas.py:592)
Automated checks on commit e22230f, 4 Dec 2026. Not an audit.
Availability: platform listings confirmed today
- GitHub stars
- 7,651
- Open issues
- 72
- Last commit
- 2026-11-29
- Latest release
- 2024.06.76
- Activity
- steady
Checked today - source: GitHub (Mailu/Mailu)
Resources & Compatibility
Minimum requirements: 3 GB RAM.
Checked 15 days ago - source: Docker Hub image tags and published docs
First-install notes
- Create a folder and download your setup files there First make a folder for Mailu and download the two files the setup wizard generates (docker-compose.yml and mailu.env) into it. These two files are the heart of your setup — docker-compose.yml says which containers to run, and mailu.env holds your settings — so keep them somewhere safe and run all commands from that folder. source
- Start Mailu and keep an eye on the logs From your Mailu folder, run 'docker compose -p mailu up -d' to start everything in the background. If you're migrating existing mailboxes, watch the IMAP container with 'docker compose logs -f imap' — migration can take a long time, and if it's interrupted you can just start the container again and it picks up where it left off. source
- First-time setup Create a dedicated folder, download your mailu.env and docker-compose.yml setup files there, then start Mailu with docker compose and monitor the logs until all services are healthy. source
- Before you start You can try the official demo server at mailu.io/master/demo.html before deploying your own instance; plan DNS records (MX, SPF, DKIM) and reverse DNS for reliable mail delivery. source
Fetched today - each note links to its source
Variants
Alternatives (7)
- 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.
- Modoboa - Modoboa is an open-source mail hosting and management platform that provides a web interface, administration panel, and webmail for self-ho…
- Mox - Mox is a modern full-featured open source secure mail server for low-maintenance self-hosted email.
- 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.
- iRedMail - iRedMail is a free, open-source toolkit that installs a fully-featured mail server on your own Linux or BSD machine in minutes.
- mailcow: dockerized - mailcow is a mail server suite based on Dovecot, Postfix, SOGo, Rspamd and other open source software, that provides a modern Web UI for ad…
Checked today - source: AlternativeTo
Common questions
How do I do the first-time setup for Mailu?
Create a dedicated folder, download the mailu.env and docker-compose.yml files generated by the setup wizard into it, then run 'docker compose -p mailu up -d' and monitor the logs until all services are healthy. These two files are the core of your setup, so keep them safe and run all commands from that folder.
How long does migrating existing mailboxes take, and what if it's interrupted?
Mailbox migration can take a long time; watch the IMAP container with 'docker compose logs -f imap' to monitor progress. If migration is interrupted, simply starting the IMAP container again resumes it where it left off.
What DNS setup do I need for reliable mail delivery?
You need to plan MX, SPF, and DKIM DNS records plus reverse DNS (PTR) for your server so your mail reliably reaches inboxes. You should also set up DMARC, which Mailu supports along with MTA-STS and DANE.
Does Mailu support my existing mail clients?
Yes, Mailu provides standard IMAP and IMAP+, SMTP and Submission with auto-configuration profiles for clients. It also supports OAuth 2.0 authentication with revocable sessions, and there's a Thunderbird add-on available at /admin/client.
Can I try Mailu before deploying my own instance?
Yes, there's an official demo server you can try before setting up your own. No account or deployment is required to evaluate it.
Answers sourced from github.com, github.com, github.com, mailu.io
Community
- Mailu 2.0 is out If you self-host your emails, check it out (forum)
- Mailu is a simple yet full-featured mail server as a set of Docker images (forum)
- Show HN: Mailu 1.9, now with MTA-STS and DANE support (forum)
- Mailu/Mailu: mail server as Docker images (forum)
- Mailu: Insular email distribution – email server as Docker images (forum)
- What are your experiences with Mailcow / Mailu / Stalwart? - Reddit (reddit)
Collected today - public community threads