Skip to content

Mox

All-in-one mail server with webmail for self-hosters running email on their own domain

Permissive (OSI) · MIT
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

56

Health

Active

Overview

Stars

5,962

Last commit

27 days ago

Oct 2026

Repository age

3 years

since Jan 2023

Latest version

v0.0.17

Aug 2026

Contributors

–

5 active in 90 days

Releases

2

last 12 months

Language

Go

Mox is a mail server written in Go that you run on your own machine for your own domains. It handles SMTP for receiving, submitting and delivering mail, IMAP4 for email clients, and includes a browser webmail. It ships as a single program, with a Docker image and a Homebrew formula available, and runs on Linux and macOS.

It covers the parts of mail hosting that are usually tedious. SPF, DKIM and DMARC are built in, along with DANE, MTA-STS and TLS reporting. TLS certificates come from ACME, so Let's Encrypt works out of the box. A web admin interface shows which DNS records to create. Spam handling uses per-user Bayesian filtering and sender reputation tracking.

There is also an HTTP/JSON API for sending transactional mail and receiving webhooks, plus Prometheus metrics. Mox is MIT licensed. It is an option if you want to move off a hosted mailbox such as Yahoo! Mail. It has no calendar, and you need your own server and domain.

Who it's for

Self-hosters who want mail on their own domain

One binary gives you SMTP, IMAP, webmail and automatic TLS, with an admin page that lists the DNS records to add.

Skip if: You do not want to run a server or keep a domain and its DNS records in order.

Developers testing email features

The localserve subcommand runs Mox locally for testing, and the HTTP API handles sending and delivery events.

Skip if: You only need a throwaway inbox and not a full mail server.

Small organizations hosting a few domains

It supports multiple domains, accounts and list aliases from one web admin interface.

Skip if: You need shared calendars or other groupware features.

The problem it solves

Hosted mailboxes tie your address and your messages to a provider. Running your own mail normally means assembling several separate programs and getting authentication right. Mox puts the pieces in one server.

Strengths

  • Single program covers SMTP, IMAP4, webmail and admin interface
  • Built-in SPF, DKIM, DMARC, DANE, MTA-STS and TLS reporting
  • Automatic TLS certificates through ACME
  • Per-user Bayesian spam filtering and reputation tracking
  • MIT licensed, with Docker image and Homebrew formula

Trade-offs

  • No calendar
  • No scheduled send
  • Requires your own server and domain
  • Still at a 0.0.x version number

Mox replaces

Self-host Mox

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

useradd -m -d /home/mox mox

cd /home/mox

./mox quickstart you@example.com

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Mox free?

Yes. It is open source under the MIT license.

Can I self-host it?

Yes, that is its purpose. You run it on a machine you control, ideally one dedicated to mail and named like mail.example.com.

Which platforms does it run on?

Linux and macOS, with a Docker image and a Homebrew formula. It is operated from the command line.

Does it include webmail?

Yes. A browser webmail is built in, and IMAP lets you use clients such as Thunderbird.

Does it work with Gmail and other providers?

It has been tested for interoperability with gmail.com, outlook.com, yahoo.com and proton.me.

Other Yahoo! Mail alternatives

Compare all 5 Yahoo! Mail alternatives →

Similar tools in Email software

Mailspring

Email software

Desktop email client for Mac, Windows and Linux with unified inbox, snooze and send later

18k 1.1k today Active GPL-3.0

Replaces Microsoft Outlook

Haraka

Email software

Plugin-based SMTP server in Node.js for filtering, relaying and sending mail at volume

5.6k 720 today Thriving MIT

forsaken-mail

Email software

Self-hosted disposable email inbox with instant mailboxes and no sign-up

1.5k 511 28 days ago Slowing GPL-2.0

Mailcow

Email software

Docker-based mail server suite with SOGo webmail for admins who run their own domain

14k 1.9k 4 days ago Thriving GPL-3.0

Replaces Yahoo! MailYandex MailGmail +1