mailinabox
Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
⭐ 15,314 stars on GitHub · 🍴 1,535 forks · 📜 License: cc0-1.0 · 💻 Language: Python
What is mailinabox?
Deploying a fully functional, secure email server usually requires days of wrestling with Postfix, Dovecot, and DNS records, but this automated appliance reduces the entire process to a single deployment script. It transforms a fresh Ubuntu machine into
Topics: the project is tagged with popular topics:
- 🏷️
email - 🏷️
mail - 🏷️
server - 🏷️
smtp
Quick install
See the README for detailed install instructions. Most projects support Docker — if the repo has a Dockerfile, use:
git clone https://github.com/mail-in-a-box/mailinabox.git
cd mailinabox
docker build -t mailinabox .
docker run -d -p 8080:8080 mailinabox
Minimum system requirements
| Component | Recommended |
|---|---|
| RAM | 1024 MB |
| CPU | 1 vCPU |
| Disk | 15 GB SSD |
| OS | Ubuntu 22.04 LTS / Debian 12 |
| Docker | 24.0+ |
⚡ Deploy fast on VSIS
Use the VSIS VPS Mini 1GB RAM / 1 vCPU / 15GB SSD (~70k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running mailinabox smoothly.
🎯 Benefits:
- One-command
docker compose up -ddeploy in 2 minutes - Dedicated IPv4, root access, unmetered domestic bandwidth
- Daily snapshot backup
- Free install assistance from the VSIS team
👉 See matching VPS plans at vsis.net
Resources
- 🔗 GitHub: mail-in-a-box/mailinabox
- 🌐 Homepage: https://mailinabox.email/
- 📚 Official docs: see README in the repo
- 💬 Community: GitHub Issues + Discussions
Article compiled from GitHub data on 30/05/2026. Star/fork counts may have changed — see live numbers via the GitHub link.