Mail-in-a-Box
Turns a fresh Ubuntu cloud server into a working mail server with one command.
Mail-in-a-Box is an open-source setup script that turns a fresh Ubuntu 22.04 x64 cloud machine into a working mail server, letting individuals and organizations run their own email service rather than relying on a third-party provider. It handles the configuration of the many protocols surrounding modern email, providing a turn-key system with limited configuration options.
The box includes Roundcube webmail, an IMAP/SMTP server, and Nextcloud contacts and calendar synchronization. Standard mail functionality covers spam filtering and greylisting, mail filter rules, email client autoconfiguration, and automated backups to Amazon S3 and other services. Automatic DNS configuration sets records such as SPF, DKIM, DMARC, and MTA-STS, with optional DNSSEC and DANE TLSA, while TLS certificates are provisioned from Let's Encrypt. A web-based control panel manages mail accounts, aliases, custom DNS records, and backups, with status checks, TOTP two-factor authentication, and a RESTful HTTP API. The system supports multiple users and domain names, plus simple static website hosting.
Mail-in-a-Box is aimed at users who want to operate their own mail service on a cloud server, including those without deep technical expertise, though it is not designed for extensive customization. It is released under the CC0 public domain dedication and is available at no cost.
12 alternatives to Mail-in-a-Box
Ranked by how well each tool replaces Mail-in-a-Box: shared features, audience, price and popularity.
Self-hosted mail server in one Docker container
Covers 1 of 15 key features and has a free plan.
Free plan62 out of 100 match$29.08/mo- 60 out of 100 match—
Open source email server with a web administration interface
Covers 1 of 15 key features and has a free plan.
Free planOpen source60 out of 100 matchContact salesDNS, remote access, email and hosting services to keep systems reachable
Covers 1 of 15 key features and has a free plan.
Free plan59 out of 100 matchFreeOpen source web hosting control panel for Linux and BSD systems
Covers 0 of 15 key features and has a free plan.
Free planOpen source59 out of 100 matchContact salesHigh-Performance LEMP Stack. Effortlessly Managed.
Covers 0 of 15 key features and has a free plan.
Free planOpen source56 out of 100 matchContact salesAll-in-one mail server software for on-prem and cloud-native deployment
Covers 0 of 15 key features and has a free plan.
Free plan56 out of 100 matchFreeSeedbox hosting with HDD and NVMe plans, one-click app installs, and servers in the United
Covers 0 of 15 key features.
55 out of 100 matchContact sales- 55 out of 100 matchFree
UK-based cloud hosting provider offering compute, database, and storage services.
Covers 0 of 15 key features.
54 out of 100 matchUsage-basedWindows mail server software providing email and collaboration services, positioned as an
Covers 1 of 15 key features and has a free plan.
Free plan53 out of 100 match$395/moWordPress Cloud Hosting powered by Google Cloud Platform
Covers 1 of 15 key features and has a free plan.
Free plan53 out of 100 matchUsage-based