MailBoo
All-in-one mailbox & DNS server · Debian 13

Your mail. Your DNS. Your server.

MailBoo turns a fresh Debian 13 box into a complete, multi-domain mail server with authoritative DNS, DNSSEC, webmail, calendars, contacts and encrypted backups. One file. One command. Update in place later. No per-mailbox fees.

To: root@mail.example.com
# on a fresh Debian 13 (trixie) server
$ sudo bash mailboo-installer-v14.3.sh
License accepted? [yes/no]: yes
[*] Extracting MailBoo v14.3 into /opt/mailboo...
$ mailboo status
✓ Postfix · Dovecot · Rspamd
✓ NSD · DNSSEC · Unbound
✓ TLS per domain · Borg backup
PostfixDovecot 2.4RspamdNSD + DNSSECUnboundRoundcubeRadicaleBorgBackupLet's Encrypt

Why run your own post office?

Mail-in-a-Box simplicity, rebuilt on a modern Python/FastAPI stack, with a clean control plane and a CLI.

No. 01

Total privacy, zero per-seat fees

Mailboxes, contacts, calendars and DNS zones stay on your own server. No SaaS lock-in, no per-mailbox pricing.

No. 02

Deliverability you can verify

Automatic per-domain DKIM, SPF, DMARC and MTA-STS, checked against real external resolvers, TLD nameservers and DNSBLs, not just local checks.

No. 03

Second nameserver, solved

Some TLDs, like .de, insist on two nameservers in different subnets. MailBoo hands you a one-liner that turns any second Debian host into an automated NS2, with DNSSEC signing handled for you.

No. 04

Encrypted backups, one-click restore

Daily BorgBackup snapshots with live progress, full or selective restore, and offsite sync to SFTP, S3-compatible storage or WebDAV.

The sorting rooms

Everything MailBoo v14.3 does, room by room.

Room A

Mail, mailboxes & aliases

  • Postfix (SMTP, SMTPS, Submission) with Dovecot 2.4 (IMAPS, LMTP, Sieve, ManageSieve).
  • Unlimited domains, mailboxes and aliases, including catch-all and multi-recipient forwarding. Real mailboxes always win over catch-all rules.
  • Live quota bars per mailbox: bytes, percentage and message count.
  • Built-in password suggester with show/hide and copy. Passwords are stored with bcrypt for Dovecot/Postfix and in a Fernet-encrypted vault for admin recovery.
  • One-click Roundcube webmail SSO for any mailbox.
  • Thunderbird autoconfig and autoconfig. / autodiscover. records.
Room B

Webmail, calendars & contacts

  • Roundcube at /mail/ on PHP 8.4 FPM with SQLite.
  • Radicale CalDAV/CardDAV at /cloud/, with .well-known discovery redirects for desktop and mobile clients.
Room C

Authoritative DNS, NS2 & DNSSEC

  • NSD 4.12 authoritative server with a local DNSSEC-validating Unbound 1.26 resolver. Prefer your own DNS? Use External DNS mode.
  • Auto-generated MX, SPF, DKIM, DMARC, MTA-STS, autoconfig/autodiscover and www/apex records.
  • Dual-stack IPv4 + IPv6. Setup detects both addresses, then MailBoo adds the matching AAAA records, enables IPv6 in NSD and Postfix, and checks IPv6 PTR/AAAA in the status checks, with an A/AAAA preflight before requesting certificates.
  • Automated secondary nameserver. TLDs like .de require two nameservers in different subnets, so MailBoo makes NS2 trivial: run mailboo secondary and paste the generated curl/wget one-liner on a second Debian host in another network. It installs NSD, opens the firewall, enrolls via HTTPS token, configures TSIG (hmac-sha256) AXFR/NOTIFY and a 2-minute sync timer, with live heartbeat in the UI. NS2 bootstrap uses strict TLS by default; a temporary self-signed fallback covers the moment before Let's Encrypt is active, then locks down to strict verification automatically.
  • Guard rails for the two-subnet rule. The setup wizard warns you when your NS2 address sits in the same /24 subnet as NS1, before a registry rejects it.
  • Automatic zone signing, plus a details modal with one-click copy of the DS record (key tag, algorithm, digest type, digest) and DNSKEY for your registrar.
  • Custom A, AAAA, CNAME, TXT, MX, SRV records per domain, and a zone inspector showing the exact rendered zone file.
Room D

Per-domain TLS & web landing

  • An independent Let's Encrypt certificate per domain via Certbot and Nginx SNI, so you never hit the 100-SAN cap and one domain's change never re-issues the others.
  • A timer checks every 5 minutes and provisions certificates as DNS propagates. Per-domain coverage is visible in the TLS & Backups tab.
  • Choose what visitors see for each hosted domain: admin login, webmail redirect, a standard "no content yet" page, or a custom static HTML/CSS standby page.
  • Infrastructure hostnames (mta-sts.*, autoconfig.*, ns1.*…) get a friendly "nothing here" page.
Room E

Encrypted backups & restore

  • BorgBackup runs daily at 03:30 UTC or on demand, with live phase, percentage, file count and deduplicated size.
  • Restore from any archive or an uploaded .tar.gz: everything, or just mailboxes & database, DNS zones, config & keys, or CalDAV/CardDAV. Affected services reload automatically.
  • Download any snapshot or the full encrypted repository, and copy the passphrase in one click.
  • Automatic offsite sync to SFTP, S3-compatible storage or WebDAV, with last-sync status.
  • Disaster recovery from the terminal: mailboo backup restore.
Room F

Real status checks & admin reports

  • Queries TLD parent nameservers for delegation and glue, and public resolvers (1.1.1.1, 8.8.8.8, 9.9.9.9) for A, MX, SPF, DKIM, DMARC, MTA-STS and DS.
  • Also checks reverse DNS, IPv4 DNSBL reputation (Spamhaus, Barracuda), disk capacity, UFW, Fail2ban, service ports and per-domain TLS coverage.
  • Email reports with your choice of level (alerts, warnings+alerts, full status), frequency (immediate, daily, weekly) and format (styled HTML or plain text).
  • A secondary external emergency address, so you hear about it even when the mail server itself is the problem.
Room G

Control plane & CLI

  • In-place updates. Check for new releases from the web UI's Software Updates card or with mailboo update. MailBoo fetches the official release manifest and verifies the installer's SHA-256, or you can apply a downloaded installer directly (mailboo update --file or upload in the UI).
  • One-click recovery. A failing service in the status checks gets an inline Restart button (limited to an allowlist of MailBoo's own services), and a Reboot Server button polls the machine's health until it is back.
  • Responsive dark-mode web UI (FastAPI + vanilla JS) with action throbbers and toasts.
  • Friendlier setup: mailboo setup detects your public IPv4 and IPv6 as editable defaults, warns about private addresses, and validates the administrator email, and can autogenerate the initial admin password (or asks you to confirm a custom one twice).
  • mailboo status, setup, secondary, user, alias, report, backup, update, version.
  • Hardening: UFW rules, Fail2ban, Rspamd filtering, HttpOnly/Secure/SameSite cookies, login rate limiting (429 after 10 failures in 5 minutes), API docs disabled in production, and 0600 SQLite permissions.

Three steps to a post office

MailBoo ships as a single self-extracting installer for Debian 13 ("trixie").

1

Provision

Start with a fresh Debian 13 server and root access.

2

Run

sudo bash mailboo-installer-v14.3.sh and accept the license.

3

Configure

Follow the interactive mailboo setup wizard, then optionally enroll NS2 with the generated one-liner.

↓ Download v14.3 installer
$ curl -fLO https://mailboo.lantrest.com/mailboo-installer-v14.3.sh
$ sudo bash mailboo-installer-v14.3.sh
sha256: cb5f5c85d27d973bad5f9aa65208aa9bbeea6d20f1631e74704a88136d6659ed

Free of charge. The installer shows the license and asks you to accept it before installing; for unattended installs add --accept-license. Third-party programs installed by MailBoo (Postfix, Dovecot, Roundcube, NSD …) come with their own licenses, shipped with those packages.

Ports on the dock

PortService
25SMTP (Postfix)
465SMTPS (Postfix)
587Submission (Postfix)
993IMAPS (Dovecot)
4190ManageSieve (Dovecot)

Postage paid

MailBoo is free. No tiers, no seat fees, no trial clock. If it earns its keep, here is how to say thanks.

Free, for everyone

€0 / $0
  • The complete installer
  • Unlimited domains, mailboxes and aliases
  • Private and commercial use under the MailBoo license

Saved you a weekend?

If MailBoo spared you hours of wiring up Postfix, Dovecot, DNSSEC and backups by hand, consider chipping in. Every donation keeps MailBoo free and maintained.

♥ Donate
(donation link to be added)

Special delivery · from Lantrest LLC

Need something MailBoo doesn't do yet?

MailBoo is built by Lantrest LLC, and we are happy to build more. A tailored MailBoo for your setup, or an entirely different program for your internet business: tell us what you need and we'll make it fit.

Talk to Lantrest LLC (contact link to be added)

Questions at the counter

The short technical answers.

What do I need to run MailBoo?

A fresh Debian 13 ("trixie") server with root access, and a domain you control. MailBoo is built for Debian 13 only.

Do I have to use MailBoo as my DNS server?

No. Authoritative DNS mode (NSD with DNSSEC) is recommended, but External DNS mode is available if you keep your zones elsewhere.

My TLD requires two nameservers. Do I need to set that up by hand?

No. Some TLDs, such as .de, insist on two nameservers in different subnets. Run mailboo secondary on your MailBoo server, paste the generated curl or wget one-liner on a second Debian host in a different network, and NS2 is configured automatically, with TSIG-secured zone transfers and a sync status in the UI.

How do backups and restores work?

BorgBackup creates encrypted snapshots daily and on demand. Restore everything or selected components from the web UI or with mailboo backup restore, and optionally sync offsite to SFTP, S3-compatible storage or WebDAV.

How do I update MailBoo?

In place, without reinstalling. Use the Software Updates card in the web UI or run mailboo update: MailBoo fetches the official release manifest, downloads the new installer and verifies its SHA-256 before applying it. You can also apply a downloaded installer file yourself with mailboo update --file mailboo-installer-vX.Y.sh or by uploading it in the UI.

Which mail clients work?

Any standard IMAP/SMTP client. Thunderbird autoconfig and autodiscover records are generated, and CalDAV/CardDAV is served by Radicale.

Can I host a website on a MailBoo domain?

MailBoo serves a landing page per domain (admin login, webmail redirect, standard placeholder, or a custom static HTML/CSS page). It is deliberately not a full CMS host.