Back to services

Maddy Mail Server

All-in-one mail server that implements SMTP (both MTA and MX) and IMAP. Replaces Postfix, Dovecot, OpenDKIM, OpenSPF, OpenDMARC with single daemon.

View alternatives to Maddy Mail Server
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the official website this time, so the content below is compiled from known information. For specific features and configuration, please refer to the official documentation at maddy.email.

Introduction

Maddy Mail Server is an open-source, modular, all-in-one mail server written in Go. Self-hosting a mail system has traditionally meant combining several components, such as Postfix (MTA), Dovecot (IMAP), OpenDKIM, OpenSPF and OpenDMARC. Maddy provides these common features in a single daemon with one unified configuration file, making deployment and maintenance simpler.

Key Features

  • SMTP service: Can act as an MX server to receive mail from external senders, or as a submission server to deliver outgoing mail on behalf of authenticated users.
  • IMAP service: Includes built-in mail storage and IMAP access, so users can receive mail directly with common email clients.
  • Mail security and authentication: Supports DKIM signing and verification, SPF and DMARC checks, as well as transport security mechanisms such as MTA-STS and DANE.
  • Modular configuration: Features are combined as modules, and a single configuration file describes the mail processing flow, allowing flexible customization of filtering, routing and delivery rules.

Target Users and Use Cases

  • Users who want to self-host email for a personal domain or a small team
  • Administrators who find the traditional Postfix + Dovecot setup too cumbersome to configure
  • Developers and self-hosting enthusiasts who need a lightweight SMTP relay or mail-receiving service

Core Advantages

  • All-in-one: A single binary replaces several traditional components, reducing the complexity of deployment and configuration.
  • Modern security defaults: Built-in support for mainstream anti-spoofing and transport encryption mechanisms.
  • Written in Go: Easy to deploy, with few dependencies and relatively low resource usage.
  • Open source: The source code is public and released under the GPL-3.0 license.

Deployment

  • You can download a prebuilt binary or build from source.
  • An official Docker image is provided, suitable for containerized deployment.
  • Deployment requires a domain name, correctly configured DNS records such as MX, SPF, DKIM and DMARC, and a TLS certificate.

Technical Requirements

  • A Linux server, ideally a VPS that allows port 25 to be open and lets you set reverse DNS (PTR) records.
  • A domain name whose DNS records you can manage yourself.

Things to Note

  • Whether a self-hosted mail server delivers successfully also depends on external factors such as IP reputation and reverse DNS.
  • Some features (such as IMAP storage) were labeled as beta in earlier versions, so check the official documentation for their latest status before using them in production.