Mailu is a self-hosted mail server stack delivered as a set of Docker images.
It brings together the core services needed to run a modern mail platform, including web-based administration for domains and users, optional webmail front ends, account management features, and integrated mail security components for filtering and protecting messages.
This is free and open source software.
Key Features
- Supports core mail services including IMAP, SMTP and submission, with client auto-configuration profiles.
- Provides advanced mail handling with aliases, domain aliases, custom routing and full-text search of email attachments.
- Includes web access with an administration interface and support for multiple webmail front ends.
- Offers user-level tools such as auto-reply, auto-forward, fetched accounts and ManageSieve support.
- Includes security features such as enforced TLS, DANE, MTA-STS, Let’s Encrypt integration, outgoing DKIM signing, antivirus scanning and blocking of malicious attachments.
- Provides antispam protections including auto-learning, greylisting, DMARC, SPF and anti-spoofing measures.
- Includes a setup utility that can generate docker-compose.yml and mailu.env configuration files.
- Offers an optional RESTful API for automating configuration managed through the web administration interface.
Website: github.com/Mailu/Mailu
Support:
Developer: Mailu contributors
License: MIT License

Mailu is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Email Servers | |
|---|---|
| Exim | Highly configurable mail transfer agent |
| OpenSMTPD | Implementation of the server-side SMTP protocol with additional extensions |
| mox | Modern, secure, all-in-one email server |
| DBMail | Enables storing and retrieving mail messages from a database |
| WildDuck | Opinionated email server |
| Stalwart | All-in-one mail and collaboration server |
| Mailu | Self-hosted mail server stack |
| Mail-in-a-Box | Self-hosted email server solution |
| Postfix | Popular mail transfer agent |
| Maddy | Composable all-in-one mail server |
| Haraka | Modern SMTP server |
| Dovecot | Secure POP3 server that supports mbox and maildir mailboxes |
| Courier | Integrated mail/groupware server |
| Cyrus IMAP | Email, contacts and calendar server |
| Zimbra | Zimbra Collaboration Suite |
| Modoboa | Mail hosting and management platform |
| Citadel | Exchange-killer groupware server |
| chasquid | SMTP server with a focus on simplicity, security, and ease of operation |
| Sendmail | Mail transfer agent for sophisticated mail configurations |
| qmail | Written as a more secure replacement for the Sendmail program |
| dma | DragonFly Mail Agent |
| DavMail | POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.