Modern, secure, all-in-one mail server for self-hosted email

5.5kstars
181forks
Last commit: 2mo ago
Repo age: 3y old
Mox screenshot

Mox is a modern, security-focused, all-in-one email server designed to make running email for your own domain straightforward and low-maintenance. It bundles core mail protocols and deliverability tooling into a single application, with an admin UI and strong operational visibility.

Key Features

  • SMTP server for receiving, submission, and delivery, with modern extensions
  • IMAP4 server (with extensions) for email client access
  • Built-in webmail for reading and sending email in the browser
  • Deliverability features including SPF, DKIM, and DMARC (including aggregate reports)
  • Modern transport security support such as ACME-managed TLS, MTA-STS and DANE, plus TLS reporting
  • Reputation and content-based junk filtering, including per-user Bayesian spam learning and throttling of low-reputation senders
  • Admin web interface for managing domains, accounts, aliases/lists, and configuration guidance (including DNS record instructions)
  • Account autodiscovery support for easier client configuration
  • Optional built-in web server and reverse proxy capabilities
  • HTTP/JSON API and webhooks for transactional email and inbound/delivery events, plus Prometheus metrics and structured logging

Use Cases

  • Hosting email for personal or small-organization domains with a single integrated stack
  • Running a transactional mail endpoint with API-driven sending and delivery event callbacks
  • Email testing and development using the local-only test mode

Limitations and Considerations

  • POP3 is not supported
  • Some advanced features (for example JMAP, Sieve, OAuth2 login, and full mailing list management) are listed as roadmap items rather than fully implemented

Mox is a good fit when you want a cohesive mail server that minimizes external dependencies while still supporting a modern email security and deliverability stack. Its integrated approach, admin UI, and operational tooling aim to reduce the ongoing effort typically associated with running mail infrastructure.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

docker-mailserver

docker-mailserver

Containerized mail server stack for SMTP and IMAP with anti-spam

18k
2k
Last commit: 8d ago

Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

Alternative to:
Gmail
Gmail
+16
Postal

Postal

Open source mail delivery platform for inbound and outbound email

16.3k
1.2k
Last commit: 24d ago

Postal is an open source mail delivery platform for sending and receiving email, with SMTP support, web-based management, and tools for running your own SendGrid-style se...

Alternative to:
SendGrid
SendGrid
+10
Mail-in-a-Box

Mail-in-a-Box

Turnkey email server with webmail, DNS, TLS, and admin panel

15.2k
1.5k
Last commit: 24d ago

Mail-in-a-Box is a one-click mail server appliance for Ubuntu, bundling SMTP/IMAP, webmail, DNS, TLS automation, backups, and an admin control panel.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+15
mailcow: dockerized

mailcow: dockerized

Docker-based email server suite with a web admin interface

12.2k
1.6k
Last commit: 27d ago

Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+16
Stalwart Mail Server

Stalwart Mail Server

All-in-one mail and collaboration server for modern and legacy protocols

11.7k
650
Last commit: 10h ago

All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19
Mailu

Mailu

Docker-based mail server with webmail and admin interface

7.1k
966
Last commit: 25d ago

Mailu is a full-featured mail server distributed as Docker images, providing SMTP/IMAP/POP3, webmail, administration UI, and built-in security and anti-spam features.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19