Maddy Mail Server

Website

Composable all-in-one SMTP/IMAP mail server with security features

6.1k stars 326 forks last commit first released GPL-3.0

Actively maintained

Last commit 13 Jul 2026.

Maddy Mail Server screenshot

Maddy is a composable, single-daemon mail server written in Go that implements SMTP (MTA), SMTP/LMTP (MX/Submission) and IMAP access. It includes built-in mail security protocols (DKIM, SPF, DMARC, DANE, MTA-STS), ACME certificate handling and OpenMetrics/Prometheus telemetry, aiming to replace multiple traditional components with a unified configuration and low maintenance surface.

Key Features

  • Integrated mail stack: send and receive mail (MTA/MX) and provide mailbox access (IMAP/LMTP) from one daemon; IMAP storage is explicitly marked as beta.
  • Built-in security: DKIM signing and verification, SPF checks and DMARC handling plus support for DANE and MTA-STS.
  • Flexible storage: filesystem blob store and S3-compatible blob backend; SQL-indexed IMAP storage supports SQLite, PostgreSQL and CockroachDB.
  • Observability & ops: OpenMetrics/Prometheus endpoint, ACME-based automatic certificate management, prebuilt tarballs and an official Docker image for deployment.
  • Integrations and extensions: designed to interoperate with Dovecot, rspamd, Mailman and external SMTP targets; modular pipeline for checks, signing and routing.
  • Developer & build: Go-based codebase using Go modules; release notes document build/tooling requirements for modern Go toolchains.

Use Cases

  • Self-hosted mail for individuals or small teams who want an all-in-one MTA+IMAP server with security defaults.
  • Consolidating mail delivery and filtering pipelines to reduce the number of separate services (Postfix/Dovecot/OpenDKIM/etc.) to a single configurable daemon.
  • Containerized or VPS deployments where observability (Prometheus) and S3/backed storage are desirable.

Limitations and Considerations

  • IMAP storage is labelled as "beta" in the project documentation; users requiring mature, feature-rich IMAP implementations are advised to consider pairing maddy with established IMAP servers (e.g., Dovecot) for production IMAP feature parity.
  • SQLite-based storage has write-locking characteristics and checkpoint/vacuum considerations that can limit parallel write throughput; larger or high-concurrency deployments should use a server-grade RDBMS (Postgres/CockroachDB).

Maddy provides a compact, security-focused mail server alternative that centralizes mail delivery, storage and protocol handling into a single Go daemon. It is well suited for users who prefer an integrated, modular approach but should be evaluated carefully against workload, IMAP feature needs and storage concurrency requirements.

Categories:

Tags:

Tech Stack:

Share:

Similar to Maddy Mail Server

docker-mailserver logo

docker-mailserver

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

18.8k
2k
Last commit

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

MITActively maintained
Alternative to:
Gmail logo
Gmail
+16
Hyvor Relay logo

Hyvor Relay

Open-source, self-hosted Email API for developers

876
59
Last commit

AGPL-3.0 open-source email API for developers that can be self-hosted; supports SMTP sending, webhooks, DNS automation, observability, multi-tenancy, and project isolation.

AGPL-3.0Actively maintained
Alternative to:
Amazon Simple Email Service (Amazon SES) logo
Amazon Simple Email Service (Amazon SES)
+11
Dovel logo

Dovel

Simple Go-based SMTP server for receiving and sending mail

Lightweight SMTP server written in Go that receives and sends email via a single JSON config and executable hooks; supports per-user DKIM and TLS.

Activity unknown
Alternative to:
Amazon Simple Email Service (Amazon SES) logo
Amazon Simple Email Service (Amazon SES)
+11
mailcow: dockerized logo

mailcow: dockerized

Docker-based email server suite with a web admin interface

13.3k
1.8k
Last commit

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

GPL-3.0Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+16
OpenSMTPD logo

OpenSMTPD

Secure, lightweight SMTP server implementation compliant with RFC 5321

OpenSMTPD is an open-source, minimal SMTP daemon from the OpenBSD project providing an RFC-compliant MTA with privilege separation, table backends, filters and TLS support.

Activity unknown
Alternative to:
Postfix logo
Postfix
+11

Mox

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

5.8k
218
Last commit

All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.

MITActively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+19