# 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 full-text search of attachments for personal or small-team. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/7809/mailu

## Description

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 full-text search of attachments for personal or small-team email.

## Platform availability

Available on 2 of 10 platforms: Helm, Any server.

## Desktop and other devices

Other (cli).

## Health score

64/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 5 days ago)
- Popular: 78 (7,651 GitHub stars)
- Easy to install: 45 (3 install platforms, install notes)
- Light to run: 30 (3 GB minimum RAM)
- Security check: 20 (1 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.
Automated checks on commit e22230f, 4 Dec 2026. Not an audit.

## Links

- Kubernetes (Helm): https://artifacthub.io/packages/helm/mailu/mailu
- Official website: https://mailu.io
- GitHub: https://github.com/Mailu/Mailu
- desktop: https://github.com/Mailu/Mailu/releases/latest
- Documentation: https://mailu.io/compose/setup.html

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

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

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