Skip to content

Mail-in-a-Box

by Mail-in-a-Box project

One-script mail server for a fresh Ubuntu machine, with DNS, webmail and backups included.

  • Open source
  • Free plan

From Mail-in-a-Box's own website and public documents, updated 4 Nov 2026. Not a hands-on review: I add a verdict only to products I use myself.

What is Mail-in-a-Box?

Mail-in-a-Box turns a fresh cloud machine into a working mail server. The current release on its site is v76 (May 24, 2026). It needs a fresh Ubuntu 22.04 x64 system; containers and modified images are not supported.

The install brings Roundcube webmail, Nextcloud Contacts for contact and calendar sync, a web control panel, and IMAP and SMTP for mail apps. Spam filtering and greylisting are on by default.

When the box is also your nameserver, it sets up SPF, DKIM, DMARC and MTA-STS records for you. DNSSEC with DANE TLSA is optional. TLS certificates come from Let's Encrypt automatically. The control panel supports TOTP two-factor login, and backups can go to Amazon S3 and other services. Joshua Tauberer started the project in 2013, and it is released under a CC0 public domain dedication.

Best forFirst-time self-hosters who want a preset mail server

Mail-in-a-Box features

  • Automatic DNS records

    Sets up SPF, DKIM, DMARC and MTA-STS when it serves your DNS.

  • Webmail and sync

    Roundcube webmail plus contacts and calendar sync.

  • Spam filtering

    Spam filtering and greylisting enabled by default.

  • Automatic TLS

    Certificates provisioned through Let's Encrypt.

  • Control panel 2FA

    Web control panel with TOTP two-factor login.

  • Backups

    Automated backups to Amazon S3 and other services.

What Mail-in-a-Box works with

  • Roundcube
  • Nextcloud Contacts
  • Let's Encrypt
  • Amazon S3

From the vendor's own integration list or documentation.

Mail-in-a-Box pricing

Starting price

Not stated

  • Pricing modelFree
  • Free planYes
  • Free trialNot stated

Checked 4 Nov 2026. Prices change often; the vendor's page wins.

Trust and privacy

Open source
Yes (CC0)

Independent audits

No public independent audit found.

Good to know before you buy

  • It must run on a fresh Ubuntu 22.04 machine dedicated to mail, so it does not share a server with other sites.
  • Deliverability depends on your IP reputation and reverse DNS, which you set with your host.

Mail-in-a-Box alternatives

mailcow

The Infrastructure Company

Dockerized mail server suite with webmail, spam filtering and an admin interface.

Mailu

Mailu project

Docker-based mail server with webmail, admin interface and spam filtering.

All-in-one mail and collaboration server written in Rust, with JMAP, IMAP, CalDAV and CardDAV.

Frequently asked questions

What is Mail-in-a-Box?

One-script mail server for a fresh Ubuntu machine, with DNS, webmail and backups included.

Is there a free version of Mail-in-a-Box?

Yes. Mail-in-a-Box has a free plan or tier; check the pricing page for its limits.

What are the alternatives to Mail-in-a-Box?

Products in the same category include mailcow, Mailu, Stalwart Mail Server.

Have you tested Mail-in-a-Box?

Not yet. This page lists published facts only. When I test it, my verdict will appear at the top.

Sources (2), checked 4 Nov 2026
  1. mailinabox.email
  2. github.com/mail-in-a-box/mailinabox

Spotted something out of date? Tell me through the contact page and I will fix it.

By using this site, you agree to the Privacy Policy.