About Mox
Mox is an email server for people who want to run their own mail. It implements the modern mail protocols in one program, so there is no stack of separate components to wire together. It sends and receives mail and includes IMAP4, SMTP, SPF, DKIM, DMARC, MTA-STS, DANE and DNSSEC support, plus webmail.
Setup is built around a quickstart command that configures mox for your domains, after which you add the DNS records it prints. Upgrades are mostly a matter of downloading the new binary and restarting. Day-to-day administration can be done in a web interface or in a config file.
The author started the project in 2021 because admins were moving mail to a few big providers as running mail software had become complicated. The code is MIT-licensed. A local-only test mode, mox localserve, lets you try it without any setup. The current release is v0.0.17.
Key features
- Full set of mail protocols and authentication standards
- Automatic TLS certificates via ACME and Let's Encrypt
- Quickstart command configures your domains
- Administration through web interface or config file
- Local test server for development
Good fit for
- Self-hosted email for your domain
- Local mail testing during development
Mox: questions and answers
- What is Mox used for?
- Mox is an open-source mail server written in Go that bundles SMTP, IMAP, spam filtering, automatic TLS and webmail in a single application. It is a good fit for self-hosted email for your domain and local mail testing during development.
- Is Mox open source?
- Yes. Mox is open source under the MIT licence. Its source code is on GitHub at mjl-/mox and is written mainly in Go.
- Is Mox free?
- Yes. Mox is open source, so the software itself is free to use.
- Can I self-host Mox?
- Yes. Mox can be self-hosted on your own server or infrastructure.
- What is Mox an alternative to?
- Mox is an open-source alternative to Gmail, Fastmail, Zoho Mail and Proton Mail. Other open-source alternatives to Gmail include Mailu, Mail-in-a-Box and docker-mailserver.
- Is Mox actively maintained?
- Yes. The most recent commit to Mox was on 27 October 2026, and the latest release is v0.0.17, published on 19 August 2026. The project has 5.9k stars on GitHub, with 45 added in the last 30 days.
Open-source alternatives to Mox
See all
Mailu
Email Clients & Servers
Insular email distribution - mail server as Docker images
OSSvs Gmail★ 7.6k
Mail-in-a-Box
Email Clients & Servers
Mail-in-a-Box helps individuals take back control of their email by defining a one-click,
CC0-1.0vs Gmail★ 15k
docker-mailserver
Email Clients & Servers
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus,
MITvs Gmail★ 20k
Stalwart
Email Clients & Servers
All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMA
OSSvs Google Workspace★ 16k
Forward Email
Email Clients & Servers
Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp
OSSvs Fastmail★ 1.7k
Mailcow
Email Clients & Servers
mailcow: dockerized - 🐮 + 🐋 = 💕
GPL-3.0vs Google Workspace★ 14k
SaaS alternatives to Mox
See all
Gmail
Email Clients & Servers
Google email service with search, filters, labels and spam protection
SaaS
Fastmail
Email Clients & Servers
Paid email provider with custom domains, calendars and contacts
SaaS
Zoho Mail
Email Clients & Servers
Business email hosting from Zoho with custom domains, calendar and admin tools
SaaS
Proton Mail
Email Clients & Servers
Encrypted email service from Proton with calendar, contacts and custom domains
SaaS
StartMail
Email Clients & Servers
Private email service with unlimited aliases and PGP encryption
SaaS
Posteo
Email Clients & Servers
Ad-free, privacy-focused email service powered by renewable energy
SaaS
