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

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. (maddy.email)
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. (maddy.email)
- 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. (maddy.email)
- Observability & ops: OpenMetrics/Prometheus endpoint, ACME-based automatic certificate management, prebuilt tarballs and an official Docker image for deployment. (maddy.email)
- 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. (github.com)
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. (maddy.email)
- 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.email)
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:
Similar Services

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

Postal
Open source mail delivery platform for inbound and outbound email
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...


Mail-in-a-Box
Turnkey email server with webmail, DNS, TLS, and admin panel
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.

mailcow: dockerized
Docker-based email server suite with a web admin interface
Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

Stalwart Mail Server
All-in-one mail and collaboration server for modern and legacy protocols
All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Mailu
Docker-based mail server with webmail and admin interface
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.
Go