Mail-in-a-Box

Turns any Ubuntu server into a fully functional mail server with one command.

Active Last commit · 5 releases in the past year · 24 commits in the past 12 months

At a glance

GitHub stars
15.5k
Last commit
2026-11-08
Latest release
v77
2026-09-26
Commits (12 mo)
24
Releases (12 mo)
5
License
CC0-1.0
Language / platform
Shell

Maintenance health: Active

Last commit within the past 90 days. Last commit · 5 releases in the past year · 24 commits in the past 12 months.

How we label health: Active = last commit within 90 days, Maintained = within 12 months, Slowing = 12–24 months, Stale = over 24 months, Archived = read-only repository, Unknown = no data. Activity data from awesome-selfhosted-data (refreshed daily from GitHub); release counts from the GitHub releases feed (includes pre-releases).

Run Mail-in-a-Box yourself

  • RAM: ~4 GB server (2 vCPU)
  • Docker: not detected — install from source or packages
  • Storage: plan disk for your data (media/files grow fast); attach a volume or use object storage.
  • needs a clean IP with port 25 open; many VPS block it by default

Estimated monthly server cost

ProviderPlan size~ USD / month
Vultr4 GB$20Deploy →
DigitalOcean4 GB$24Deploy →
Akamai (Linode)4 GB$24Deploy →

Rough estimate from the app's stack and category, not a benchmark. Several light apps can share one server. Some hosting links may be affiliate links. We may earn a commission at no extra cost to you; it never affects which apps we list.

Prefer managed hosting? Check PikaPods or Elestio.

Mail-in-a-Box is an alternative to

Compare Mail-in-a-Box

Side-by-side comparisons with other popular apps in the same category.

Related self-hosted apps

Apps that share the most categories with Mail-in-a-Box.

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.

Active ★ 19.7k MIT 🐳 Docker~$20/mo

Postal

Complete and fully featured mail server for use by websites & web servers.

Active ★ 16.9k MIT 🐳 Docker~$20/mo

Stalwart Mail Server

All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features.

Active ★ 15.8k AGPL-3.0 🐳 Docker~$20/mo

Mailcow

Mail server suite based on Dovecot, Postfix and other software, that provides a modern Web UI for administration.

Active ★ 13.8k GPL-3.0 🐳 Docker~$40/mo

Mailu

Simple yet full-featured mail server as a set of Docker images.

Active ★ 7.6k MIT 🐳 Docker~$20/mo

SimpleLogin

Email alias solution to protect your email address. Comes with browser extensions and mobile apps.

Active ★ 7.1k MIT 🐳 Docker~$20/mo

Is this your project? Get it featured or send a correction upstream to awesome-selfhosted-data.