Logo
Deploy Now

SaaS Alternative

Fastmail Gmail Microsoft 365

Stars

15,394

Forks

1,548

Watchers

283

Developer links

Mail-in-a-Box

Mail-in-a-Box turns a single Ubuntu server into a fully functional email system with one setup command, installing and configuring Postfix for SMTP, Dovecot for IMAP, Roundcube for webmail, and Z-Push for Exchange ActiveSync push notifications in an automated sequence that would take days to replicate manually. The DNS server auto-configures the full suite of email authentication records: SPF, DKIM, DMARC, DNSSEC with DANE TLSA, MTA-STS, and SSHFP. Getting all of these right is what separates email that lands in inboxes from email that lands in spam, and most manual installations never achieve the complete set. Nextcloud integration adds CardDAV contact sync and CalDAV calendar sharing across devices. Let's Encrypt certificates provision and renew automatically for every hosted domain. The web control panel manages users, aliases, custom DNS records, and automated backups, protected by TOTP two-factor authentication. Daily health checks verify that services run correctly, ports remain open, TLS certificates stay valid, and DNS records resolve properly, alerting you before delivery problems develop. Multiple domains and users operate from one installation with internationalized domain name support. Built-in HTTPS static site hosting uses the TLS infrastructure already in place. Runs on a dedicated RepoCloud VPS with guaranteed resources, root SSH, and browser serial console for complete email sovereignty. CC0 public domain licensed.

Mail-in-a-Box
Mail-in-a-Box
Mail-in-a-Box

Benefits

  • Complete Email Automation
  • Single installation script configures SMTP, IMAP, webmail, contacts, calendars, DNS, TLS certificates, and security policies — no manual configuration of dozens of interdependent mail server components.
  • Automatic Email Security Policies
  • SPF, DKIM, DMARC, DNSSEC, DANE TLSA, and MTA-STS records configure automatically when the box becomes your nameserver, achieving email deliverability that most manual setups never reach.
  • Daily Health Monitoring
  • Automated checks verify service availability, port accessibility, TLS certificate validity, and DNS record correctness every day, alerting you before problems affect mail delivery.
  • Full Email Data Sovereignty
  • All emails, contacts, and calendars reside on your own server with no third-party access, eliminating surveillance concerns and subscription fees from commercial email providers.

Features

  • Roundcube Webmail
  • Browser-based email client with conversation threading, contact integration, and mobile-responsive design accessible from any device without installing desktop or mobile mail applications.
  • Exchange ActiveSync
  • Z-Push provides push email, contacts, and calendar sync compatible with iOS, Android, and Outlook clients using the same protocol as Microsoft Exchange for seamless mobile setup.
  • Web Control Panel
  • Manage mail users, aliases, custom DNS records, and automated backups through a secure web interface with TOTP two-factor authentication and RESTful API access.
  • Multi-Domain Support
  • Host email for multiple domains and users from a single installation with internationalized domain name support and per-domain alias configuration.
  • Static Website Hosting
  • Built-in HTTPS web hosting for static sites across your domains since the server already handles TLS, with custom DNS records pointing other domains to external servers.