Maddy

Open source

Single-daemon mail server that handles SMTP and IMAP and replaces Postfix, Dovecot, OpenDKIM and related tools with one configuration.

Open-source alternative to

maddy.email
Maddy homepage screenshot
GitHub stars
6.1k
Last 30 days
+19(+0%)
Last commit
2 days ago
Repository age
10 years
Version
v0.9.7
Licence
GPL-3.0
Self-hosted
Yes

About Maddy

Maddy Mail Server aims to cover everything needed to run an email server in one program. It can send messages over SMTP as an MTA, accept them over SMTP as an MX, and store messages while giving access to them over IMAP.

It also implements the protocols used to keep email reasonably secure: DKIM, SPF, DMARC, DANE and MTA-STS. The project says it replaces Postfix, Dovecot, OpenDKIM, OpenSPF and OpenDMARC with one daemon that has a uniform configuration and minimal maintenance cost.

The documentation covers a setup tutorial, Docker, multiple domains, PAM and LDAP authentication, ACME certificate management, rspamd and DNSBL checks, and SQL, filesystem and Amazon S3 storage. The project warns that IMAP storage is beta and that Dovecot is the choice if you need a stable, feature-packed IMAP implementation. The licence is GPL-3.0.

Key features

  • Complete mail server in one program
  • Sends and receives over SMTP and serves IMAP
  • DKIM, SPF, DMARC, DANE and MTA-STS support
  • Replaces several separate mail components

Good fit for

  • Self-hosted email for a domain
  • Outbound mail delivery with DKIM signing
  • Replacing a Postfix and Dovecot stack
Built with
Go tools
Tags
mail server
smtp
imap
dkim
self-hosted
email
go

Maddy: questions and answers

What is Maddy used for?
Maddy is a single-daemon mail server that handles SMTP and IMAP and replaces Postfix, Dovecot, OpenDKIM and related tools with one configuration. It is a good fit for self-hosted email for a domain, outbound mail delivery with DKIM signing, and replacing a Postfix and Dovecot stack.
Is Maddy open source?
Yes. Maddy is open source under the GPL-3.0 licence. Its source code is on GitHub at foxcpp/maddy and is written mainly in Go.
Is Maddy free?
Yes. Maddy is open source, so the software itself is free to use.
Can I self-host Maddy?
Yes. Maddy can be self-hosted on your own server or infrastructure.
What is Maddy an alternative to?
Maddy is an open-source alternative to Gmail, Fastmail, Zoho Mail and SMTP2GO. Other open-source alternatives to Gmail include Mailu, Mail-in-a-Box and Mox.
Is Maddy actively maintained?
Yes. The most recent commit to Maddy was on 11 November 2026, and the latest release is v0.9.7, published on 5 November 2026. The project has 6.1k stars on GitHub, with 19 added in the last 30 days.

Open-source alternatives to Maddy

See all

SaaS alternatives to Maddy

See all