About Mailu
Mailu is a full-featured mail server delivered as a set of Docker images. The project aims to give people an easily set up and maintained mail server made entirely of free software, without proprietary components or unrelated groupware features and without trackers.
It covers the standard email server functions, IMAP and SMTP with client auto-configuration profiles, along with aliases, domain aliases, custom routing and full-text search of attachments. Users get webmail, auto-reply, auto-forward and managesieve, while admins get global admin roles, per-domain delegation, announcements and quotas. Security features include enforced TLS, DANE, MTA-STS, Let's Encrypt certificates, outgoing DKIM and an antivirus scanner, and antispam features include greylisting, auto-learning, DMARC, SPF and anti-spoofing checks.
Mailu is written in Python and deployed with Docker or Docker Compose. The project's own configuration files, Dockerfiles and code are MIT-licensed, and all bundled components are free software compatible with it. A demo server and website documentation are provided.
Key features
- IMAP and SMTP mail server in Docker
- Webmail and admin interface
- Aliases, domain aliases and custom routing
- Enforced TLS, DKIM, DANE and MTA-STS
- Spam filtering with greylisting and SPF
- Per-domain admin delegation and quotas
Good fit for
- Hosting email for your own domain
- Running a mail server for a small organization
Mailu: questions and answers
- What is Mailu used for?
- Mailu is a free mail server packaged as Docker images, bundling SMTP, IMAP, webmail, spam filtering and an admin interface for self-hosters. It is a good fit for hosting email for your own domain and running a mail server for a small organization.
- Is Mailu open source?
- Yes. Mailu is open source under a custom licence. Its source code is on GitHub at Mailu/Mailu and is written mainly in Python.
- Is Mailu free?
- Yes. Mailu is open source, so the software itself is free to use under the terms of its own licence.
- Can I self-host Mailu?
- Yes. Mailu can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is Mailu an alternative to?
- Mailu is an open-source alternative to Gmail, Microsoft Outlook, Fastmail and Zoho Mail. Other open-source alternatives to Gmail include Mail-in-a-Box, Stalwart and Mailcow.
- Is Mailu actively maintained?
- Yes. The most recent commit to Mailu was on 10 November 2026, and the latest release is 2024.06.68, published on 8 November 2026. The project has 7.6k stars on GitHub, with 64 added in the last 30 days.
Open-source alternatives to Mailu
See all
Mail-in-a-Box
Email Clients & Servers
Mail-in-a-Box helps individuals take back control of their email by defining a one-click,
CC0-1.0vs Gmail★ 15k
Stalwart
Email Clients & Servers
All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMA
OSSvs Google Workspace★ 16k
Mailcow
Email Clients & Servers
mailcow: dockerized - 🐮 + 🐋 = 💕
GPL-3.0vs Google Workspace★ 14k
docker-mailserver
Email Clients & Servers
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus,
MITvs Gmail★ 20k
Forward Email
Email Clients & Servers
Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp
OSSvs Fastmail★ 1.7k
Tuta
Email Clients & Servers
Tuta is an email service with a strong focus on security and privacy that lets you encrypt
GPL-3.0vs Gmail★ 8.2k
SaaS alternatives to Mailu
See all
Gmail
Email Clients & Servers
Google email service with search, filters, labels and spam protection
SaaS
Microsoft Outlook
Email Clients & Servers
Email, calendar and contacts client from Microsoft for personal and work accounts
SaaS
Fastmail
Email Clients & Servers
Paid email provider with custom domains, calendars and contacts
SaaS
Zoho Mail
Email Clients & Servers
Business email hosting from Zoho with custom domains, calendar and admin tools
SaaS
Proton Mail
Email Clients & Servers
Encrypted email service from Proton with calendar, contacts and custom domains
SaaS
Yahoo Mail
Email Clients & Servers
Free web and mobile email service with large storage and filtering
SaaS

StartMail
Posteo
mailbox.org
Runbox
Hushmail
IceWarp
SmarterMail
Axigen
Titan Email
Rackspace Email
AOL Mail
GMX Mail
Mail.com
iCloud Mail
SMTP2GO