Stars
Forks
Watchers
Developer links
Mailu
With over 7,100 GitHub stars and 200 contributors since 2016, Mailu has become one of the most popular self-hosted email solutions, delivering a complete production-ready mail server stack as pre-configured Docker containers that eliminate weeks of manual setup. The platform bundles Postfix for SMTP and Submission with auto-configuration profiles for Thunderbird, Outlook, and mobile clients, Dovecot for IMAP and POP3 with full-text search across email attachments, Rspamd for intelligent spam filtering with auto-learn Bayesian classification, greylisting, SPF and DMARC validation, and ClamAV for antivirus scanning of attachments with configurable malicious file blocking. The web administration interface provides global admin controls, per-domain delegation, user quota management, domain aliases, custom routing rules, and announcement capabilities. Users access self-service features including aliases, auto-reply, auto-forward, fetched accounts from external mailboxes via fetchmail, and Sieve filter management through ManageSieve. Security features include enforced TLS on all connections, automatic Let's Encrypt certificate provisioning, outgoing DKIM signing, DANE and MTA-STS support for transport security, and Snuffleupagus PHP hardening for the web interface. The setup wizard at setup.mailu.io generates complete Docker Compose configurations tailored to specific deployment requirements. All components are free and open-source software with zero proprietary dependencies and no tracking. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Complete Mail Server Stack
- Production-ready SMTP, IMAP, POP3, webmail, spam filtering, and antivirus in pre-configured Docker containers that work together out of the box without weeks of manual setup.
- Intelligent Spam Filtering
- Rspamd provides Bayesian auto-learn classification, greylisting, SPF and DMARC validation, anti-spoofing detection, and configurable scoring rules that improve accuracy over time.
- Automatic TLS and DKIM
- Let's Encrypt certificates provision and renew automatically, outgoing emails are DKIM-signed, and DANE plus MTA-STS enforce transport encryption between mail servers.
- Web Administration Interface
- Manage domains, users, aliases, quotas, and routing rules through a clean web interface with global admin controls, per-domain delegation, and user self-service features.
Features
- Docker-Based Deployment
- Modular containers for each service allow independent scaling and updates, with the setup wizard at setup.mailu.io generating tailored Docker Compose configurations.
- Multiple Webmail Clients
- Built-in webmail access through Roundcube or Snappymail with responsive interfaces for reading, composing, and managing email from any browser.
- Fetchmail Integration
- Pull email from external mailboxes into Mailu accounts using fetchmail with configurable polling intervals, keeping all messages consolidated in one inbox.
- Sieve Filter Management
- Create server-side email filtering rules through ManageSieve for automatic sorting, forwarding, vacation replies, and spam handling without client-side configuration.
- Antivirus Scanning
- ClamAV scans all incoming and outgoing attachments with automatic signature updates, configurable malicious file type blocking, and quarantine management.