Mox

Open source

Open-source mail server written in Go that bundles SMTP, IMAP, spam filtering, automatic TLS and webmail in a single application.

xmox.nl
Mox homepage screenshot
GitHub stars
5.9k
Last 30 days
+45(+1%)
Last commit
16 days ago
Repository age
3 years
Version
v0.0.17
Licence
MIT
Self-hosted
Yes

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
Built with
Go tools
Tags
email
mail server
smtp
imap
self-hosted
go
webmail
dkim

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

SaaS alternatives to Mox

See all