Maddy Mail Server

Maddy Mail Server

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

5.8kstars
306forks
Last commit: 3d ago
Repo age: 10y old
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. (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:

Share:

Similar Services

docker-mailserver

docker-mailserver

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

17.7k
2k
Last commit: 4d 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.2k
1.2k
Last commit: 3mo 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.1k
1.5k
Last commit: 13d 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

11.9k
1.6k
Last commit: 1mo 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.2k
602
Last commit: 20h 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

7k
960
Last commit: 1mo 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