Mailu is a self-hosted mail server stack that combines the services needed to run a complete email platform. It is delivered as a collection of Docker images, with components responsible for mail transport, mailbox access, administration, filtering, and browser-based email.
The project aims to make operating a mail server straightforward without introducing unrelated groupware functionality. Its integrated approach is suitable for individuals, organisations, and administrators hosting email for multiple users and domains.
Mailu offers a choice of webmail interfaces and brings the administration of essential mail services into a unified environment.
This is free and open source software.
Key Features
- Supports SMTP, mail submission, and IMAP, including IMAP extensions and email client autoconfiguration.
- Provides support for multiple email domains, domain aliases, account aliases, and custom message routing.
- Offers an administrative web interface for creating users, managing domains, and configuring mail services.
- Supports global administrators, delegated domain administration, account quotas, and administrative announcements.
- Includes a choice of webmail interfaces for accessing messages through a browser.
- Provides automatic replies, message forwarding, external account fetching, and ManageSieve filtering.
- Supports full-text searching of email attachments.
- Implements SPF, DKIM signing, DMARC, and anti-spoofing measures for email authentication.
- Provides antispam filtering with automatic learning and greylisting.
- Offers antivirus scanning, malicious attachment blocking, and additional security protections.
- Supports enforced TLS, DANE, MTA-STS, and automatic certificate management with Let’s Encrypt.
- Supports OpenPGP public key publication through Web Key Directory.
- Provides an optional REST API for automating administrative operations.
- Includes client configuration profiles to simplify connecting compatible email applications.
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 |
| dma | DragonFly Mail Agent |
| DavMail | POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.