Mox is an open-source mail server for your domains with SMTP, IMAP, webmail, modern authentication protocols, spam filtering, and a quickstart setup flow.
Overview
Mox bundles receiving, submission, and delivery SMTP with IMAP4 for clients and a browser webmail UI into one program aimed at low-maintenance self-hosted email. It implements SPF, DKIM, and DMARC, reputation learning, Bayesian spam filtering per user, and slowing of low-reputation senders with a short-lived Rejects mailbox for misclassified transactional mail.
Internationalized email addresses, automatic TLS through ACME, DANE, MTA-STS, TLSRPT, and a built-in web admin help configure DNS records and domain policies. A reverse-proxy-capable web server can share port 443 with ACME validation, and account autodiscovery assists client setup. Operators can send transactional mail and receive events through a simple HTTP JSON API with webhooks, plus Prometheus metrics and structured logs.
Setup centers on a dedicated machine, the mox quickstart command for an address and domain, printed DNS records, and optional service installation. Binaries download for common platforms, with Docker images documented using host networking. A localserve subcommand runs an isolated stack for development and testing without production DNS.
Mox is written in Go, tested against major clients and providers, and positions itself as a single maintainable alternative to assembling many separate mail-related daemons.
Key features
- SMTP, IMAP4, and browser webmail
- SPF, DKIM, DMARC, and TLS reporting
- Per-user Bayesian spam and reputation
- ACME automatic TLS certificates
- Web admin and DNS setup guidance
- HTTP JSON API and webhooks
- Prometheus metrics and structured logging
- Quickstart and localserve test mode
Use cases
- Personal or small-team domain email
- Decentralized mail without SaaS providers
- Transactional email with delivery events
- Learning postmaster operations in one binary
- Local email protocol development tests
Does the same job as
Mox doesn't name these products itself, but its own description shows it does the same job.