Mail-in-a-Box is a self-hosted email server solution that turns a fresh Ubuntu LTS system into a functioning mail platform. It automates the configuration of email services and their supporting infrastructure, reducing the complexity traditionally associated with operating a mail server.
The project is aimed primarily at individuals and small organisations seeking control over their own email. Instead of providing extensive customisation, it offers an integrated environment with a web-based control panel and carefully selected components.
Mail-in-a-Box also supports contact and calendar synchronisation, making it useful for people who want to move several everyday communication services away from commercial providers.
This is free and open source software.
Key Features
- Provides SMTP and IMAP services for sending, receiving, and accessing email from standard clients.
- Includes Roundcube webmail for browser-based mailbox access.
- Supports contacts and calendar synchronisation using CardDAV and CalDAV.
- Provides a management interface for email accounts, aliases, domain settings, and server configuration.
- Supports hosting email for multiple users and multiple domain names.
- Automatically configures SPF, DKIM, DMARC, and MTA-STS DNS records when managing the domain’s DNS.
- Supports DNSSEC and DANE TLSA records for additional protection of DNS and email transport.
- Automatically obtains and renews TLS certificates using Let’s Encrypt.
- Includes spam filtering, greylisting, firewall protection, and intrusion prevention measures.
- Provides email filtering rules and client autoconfiguration for compatible desktop and mobile applications.
- Supports automated backups, including storage on Amazon S3 and other destinations.
- Performs status checks covering DNS records, mail services, certificates, and system configuration.
- Supports TOTP-based two-factor authentication for the administrative control panel.
- Provides an HTTP API for accessing control panel functionality.
- Can host simple static websites alongside email services.
Website: github.com/mail-in-a-box/mailinabox
Support:
Developer: Joshua Tauberer and contributors
License: CC0 1.0 Universal
Mail-in-a-Box 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.