Mail-in-a-Box
Turns any Ubuntu server into a fully functional mail server with one command.
- GitHub stars
- 15,438
- License
- CC0-1.0
- Latest release
- v77
26 September 2026 - Last commit
- 26 September 2026
- Runs on
- Shell
Commits per month, last 12 months
20 commits
Replaces
Paid products Mail-in-a-Box can stand in for.
How to self-host Mail-in-a-Box
Mail-in-a-Box runs on Shell. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.
- Get a server: a home server, a VPS, or a managed app host.
- Install it the way the project's docs describe, usually with Docker Compose.
- Put it behind HTTPS and set up backups before you add real data.
- Update it regularly. Watch the project's releases.
Similar apps
- docker-mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container. Only configuration files, no SQL database.
- Postal
Complete and fully featured mail server for use by websites & web servers.
- Stalwart Mail Server
All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features.
- Mailcow
Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration.
- Mailu
Simple yet full-featured mail server as a set of Docker images.
- SimpleLogin
Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps.
Questions
Is Mail-in-a-Box free?
Yes. Mail-in-a-Box is open source under the CC0-1.0 license, so you can use it without paying for a license. You pay only for the server it runs on.
Can I self-host Mail-in-a-Box?
Yes. Mail-in-a-Box runs on Shell. Follow the install guide in the project's documentation, or use a host that installs it for you.
What does Mail-in-a-Box replace?
People use Mail-in-a-Box instead of Fastmail, Gmail or Outlook.com.
Is Mail-in-a-Box still maintained?
The last change to Mail-in-a-Box's code was on 26 September 2026, with 20 commits in the last 12 months.
Topics
App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.