Skip to content

Maddy Mail Server

All-in-one mail server in one Go daemon for small self-hosters

Copyleft (OSI) · GPL-3.0
  • Self-hosted

Listed by , founder & editor

82

Health

Thriving

Overview

Stars

6,141

Last commit

4 days ago

Nov 2026

Repository age

10 years

since Nov 2016

Latest version

v0.9.8

Nov 2026

Contributors

–

7 active in 90 days

Releases

10

last 12 months

Docker pulls

561k

foxcpp/maddy

Language

Go

Maddy is a mail server that covers the whole job in one program. It sends mail over SMTP as an MTA, accepts mail as an MX and stores messages so you can read them over IMAP. It also implements DKIM, SPF, DMARC, DANE and MTA-STS, the protocols that keep email reasonably secure.

The project aims to replace a stack of Postfix, Dovecot, OpenDKIM, OpenSPF and OpenDMARC with a single daemon and one configuration style. It is written in Go, licensed GPL-3.0, and available as a Docker image.

There is one caveat. IMAP storage is in beta. If you need a stable, feature-rich IMAP server, the project itself points you to Dovecot, and Maddy can still handle delivery. There is also no calendar or contacts support. It is a self-hosted equivalent to Postfix for people who want less to maintain.

Who it's for

Individuals self-hosting email for a domain

One daemon replaces several programs, so there is less configuration to maintain.

Skip if: you need a mature IMAP server with many features.

Small teams running their own mail

It handles SMTP, IMAP and the main anti-spoofing protocols together.

Skip if: you need calendars and contacts alongside mail.

Admins who want delivery only

Maddy handles message delivery well enough to pair with another IMAP server.

Skip if: you already run a tuned Postfix and Dovecot setup you trust.

The problem it solves

Running your own mail normally means wiring up an MTA, an IMAP server and several tools for DKIM, SPF and DMARC. Maddy puts these into one daemon with one configuration.

Strengths

  • One daemon covers SMTP, IMAP, DKIM, SPF, DMARC, DANE and MTA-STS
  • Single uniform configuration instead of several tools
  • Written in Go with a Docker image available
  • Over 560,000 Docker pulls
  • 10 releases in the last year

Trade-offs

  • IMAP storage is still beta
  • No calendar or contacts
  • GPL-3.0 license is copyleft
  • Still pre-1.0 at v0.9.8

Maddy Mail Server replaces

Self-host Maddy Mail Server

Self-hostable
Yes
Docker image
foxcpp/maddy

Frequently asked questions

Is Maddy free?

Yes. It is open source under GPL-3.0.

Can it replace Postfix and Dovecot?

It replaces Postfix, OpenDKIM and similar tools. Its IMAP storage is beta, so Dovecot is the better choice if you need a stable IMAP server.

Can I run it in Docker?

Yes. A Docker image is available.

Does it support DKIM, SPF and DMARC?

Yes, along with DANE and MTA-STS.

Other Gmail alternatives

Compare all 10 Gmail alternatives →

Similar tools in Email software

Inbox Zero

Email software

AI email assistant and client for Gmail and Outlook, self-hostable with Docker

13k 1.7k today Active AGPL-3.0

NeoMutt

Email software

Terminal email client for people who live in the shell and want Mutt plus patches

3.9k 357 4 days ago Thriving GPL-2.0

Replaces Microsoft Outlook

Mox

Email software

All-in-one mail server with webmail for self-hosters running email on their own domain

6k 244 27 days ago Active MIT

Replaces Yahoo! MailGmail

Mailspring

Email software

Desktop email client for Mac, Windows and Linux with unified inbox, snooze and send later

18k 1.1k today Active GPL-3.0

Replaces Microsoft Outlook

Haraka

Email software

Plugin-based SMTP server in Node.js for filtering, relaying and sending mail at volume

5.6k 720 today Thriving MIT