Assembly Line

Mail-in-a-Box

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.

Mail-in-a-Box is an open-source email server project on GitHub under the CC0-1.0 license (public domain), with 15k stars. It is built with CPython. Its last push was 14 days ago.

Stars
15k
License
CC0-1.0
Activity
Active
Latest release
v77

Code on GitHub Website

Against what buyers need

Email server: covers 86% of the checklist. Turns a fresh Ubuntu server into a mail host with Roundcube, Nextcloud contacts and calendar, Z-Push ActiveSync, spam filtering with greylisting, automatic DNS for SPF, DKIM, DMARC and MTA-STS, backups and a control panel with TOTP 2FA. It is deliberately not configurable and is maintained by volunteers, so it suits a person or small group more than a company with policies to enforce. Missing: end-to-end or PGP encryption and high-volume sending.

Judgement

What it is
Complete system
What it does
A setup script that turns a fresh Ubuntu server into a complete mail server with Postfix, Dovecot, Roundcube webmail, Nextcloud contacts and calendars, spam filtering, DNS and TLS.
Adopt it when
You want your own email on a dedicated VPS with as few decisions as possible.
Watch out
It takes over the whole machine, allows almost no customisation, and depends on a specific Ubuntu LTS release.
Ready for
Production-ready
Runs as
Self-hosted server
Built with
Python, Shell, Postfix, Dovecot, Roundcube and Nextcloud
How established
Established: started 13 years ago, latest release v77.
What the license allows
You can take the code into anything, including a product you sell, with no conditions.

Judged on 2026-11-06 from the project's README and GitHub data. The license and age lines are worked out directly.

Compare Mail-in-a-Box

Built from

Follow it down: Mail-in-a-Box → CPython → GCC → LLVM project → runs on a microchip

How compilers were built, back to punched paper tape

Open-source alternatives to Mail-in-a-Box

  1. 1
    Docker Mailserver docker-mailserver

    Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.

    Complete system Production-ready You want a simple self-hosted mail server without a web admin panel.

    ★ 20k MIT Shell Active, pushed today
  2. 2
    Stalwart stalwartlabs

    All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMAP, JMAP, SMTP, CalDAV, CardDAV, WebDAV).

    Complete system Usable You want to self-host email, calendars and contacts in one modern binary instead of assembling Postfix, Dovecot and Rspamd.

    ★ 16k See repository Rust Active, pushed yesterday
  3. 3
    Mailcow-dockerized mailcow

    mailcow: dockerized - 🐮 + 🐋 = 💕

    Complete system Production-ready You want to host email for several domains yourself with a full admin interface.

    ★ 14k GPL-3.0 PHP Active, pushed today
  4. 4
    Mailu Mailu

    Insular email distribution - mail server as Docker images

    Complete system Production-ready You want to host email for a few domains on your own server and prefer a Docker Compose setup with a web admin over assembling Postfix and Dovecot by hand.

    ★ 7.6k See repository Python Active, pushed today
  5. 5
    Roundcubemail roundcube

    The Roundcube Webmail suite

    Complete system Production-ready You run an IMAP server and need a dependable webmail front end.

    ★ 7.3k GPL-3.0 PHP Active, pushed today
  6. 6
    WebClients ProtonMail

    Monorepo hosting the proton web clients

    Complete system Production-ready You want to audit or contribute to Proton's client code; to use Proton, sign up for the hosted service.

    ★ 5.7k GPL-3.0 TypeScript Active, pushed today
  7. 7
    Cypht cypht-org

    Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and EWS (Exchange Web Services)

    Complete system Production-ready You want a lightweight self-hosted webmail that aggregates mailboxes from different providers.

    ★ 1.8k LGPL-2.1 PHP Active, pushed yesterday
  8. 8
    Nextcloud Mail nextcloud

    💌 Mail app for Nextcloud

    Integration Production-ready Your team works in Nextcloud and wants email in the same interface as files and calendar.

    ★ 1.1k AGPL-3.0 JavaScript Active, pushed today

Commercial email servers and webmail

  1. 1
    Gmail (Google Workspace) Google

    Pysy ajan tasalla posteistasi ja pidä yrityksesi turvassa suojatulla, älykkäällä ja helppokäyttöisellä Gmaililla.

    Complete system Production-ready A business wants reliable hosted email with strong spam filtering and works mostly in the browser.

    90k readers a month Since 2004 Commercial
  2. 2
    Proton Mail Proton AG

    Proton Mail is the world’s largest secure email service with over 100 million users. Available on Web, iOS, Android, and desktop. Protected by Swiss privacy law.

    Complete system Production-ready Privacy is your first concern and you want encrypted email, especially between Proton users.

    12k readers a month Since 2014 Commercial
  3. 3
    Fastmail Fastmail Pty Ltd

    Fast, private email hosting for you or your business. More productive, lightning fast, simple and built to save you time.

    Complete system Production-ready An individual, family or small business wants fast, private email on its own domain without Google or Microsoft.

    586 readers a month Since 1999 Commercial
  4. 4
    Microsoft Exchange Online Microsoft

    Complete system Production-ready An organisation uses Outlook and Microsoft 365 and needs shared mailboxes, resource calendars and compliance controls.

    Commercial
  5. 5
    Zoho Mail Zoho Corporation

    Ad-free Business Email Hosting with a clean, easy-to-use interface. Secure & professional with integrated business Calendar, Contacts, Notes & Tasks.

    Complete system Production-ready A small business wants low-cost email on its own domain, particularly if it uses other Zoho apps.

    Commercial

Stars, license and activity come from GitHub and refresh on a rolling hourly schedule. The project's own description is quoted as written.