Docs Get key
All server guides
Getting started

Open-source mail servers

Compare the roles of open-source MTAs, mailbox suites, and delivery platforms before choosing a server to operate.

Reviewed

Choose open-source mail software by the job it performs, not by whether it appears in a list of “mail servers.” An MTA, an all-in-one mailbox server, and an application delivery platform solve different problems.

Compare the server families

FamilyExamplesBest fitImportant boundary
Mail transfer agentsPostfix, Exim, OpenSMTPD, chasquidSMTP transport, routing, queues, and delivery policiesNot a complete mailbox/client experience on their own
Integrated serversStalwart, mox, maddyA cohesive sending and mailbox stackCheck each project’s supported protocols and deployment requirements
Packaged mail stacksmailcow, Mailu, docker-mailserver, Mail-in-a-Box, iRedMailOperating a conventional mail system with components assembled for youYou still own updates, backups, storage, and deliverability
Delivery and programmable platformsPostal, Haraka, WildDuck, ZoneMTA, MailKite ServerApplication delivery, programmable routing, or API-oriented mail infrastructureThese projects are not interchangeable: verify storage, inbound, API, and SMTP capabilities individually
Administration layerModoboaManaging a mail deployment and its usersUnderstand the mail components behind the management interface

These examples introduce roles, not a ranking. For the complete project-by-project inventory, see our open-source server comparison. Version, licensing, and deployment requirements should always be checked against the current official project documentation.

Choose by operational responsibility

Start with Postfix or Exim when your team needs control over SMTP routing and can assemble the surrounding components. Postfix describes itself as a mail transfer agent; Exim emphasizes flexible routing and incoming-mail checks. Neither choice removes the need to plan mailbox access if you want user inboxes.

Evaluate an integrated server or packaged stack when the goal is complete mailboxes. Verify the clients/protocols you need, account administration, authentication, spam filtering, backup restoration, and upgrade procedure before moving an existing domain.

Evaluate Postal when the goal is operating an application delivery platform rather than employee mailboxes. The Postal guide index collects installation, sending, incoming routing, and migration walkthroughs.

Check before installing

  • Confirm your host permits the required SMTP traffic and supports reverse DNS where direct outbound delivery needs it.
  • Decide who owns patching, abuse response, queue monitoring, and off-host backups.
  • Establish SPF, DKIM, and DMARC for your sending domain; authentication is necessary, not a guarantee of inbox placement.
  • Test a separate domain or subdomain before changing production MX records.
  • Prove that retries, bounces, and recovery work—not just that a web dashboard loads.

Supporting software such as Dovecot, Rspamd, and Roundcube provides mailbox access, filtering, or webmail. Newsletter applications such as listmonk and Keila are another layer again. Do not treat those components as substitutes for an entire transport and mailbox stack.

Choose a project’s walkthroughs

The 18 primary projects from the comparison have their own introductory indexes and article menus below. Start with the installation or deployment task, then follow the project’s configuration and operational guides. Postfix, Exim, and OpenSMTPD now also have dedicated package-installation walkthroughs. Each setup guide cites official installation instructions or project documentation; use the source matching your installed release. There is no assumed common HTTP send API or incoming webhook across unlike servers. These are documentation recipes, not a claim that every stack has been installed or load-tested by MailKite.

chasquid

A Go SMTP server for individuals and small groups. Its documented setup pairs SMTP transport with Dovecot authentication/mailbox services and explicit TLS/DNS configuration.

docker-mailserver

A containerized conventional mail stack configured through files and its setup tooling. Persist mail/configuration outside the image and match documentation to the pinned release.

Exim

An SMTP MTA with programmable ACLs, routers, and transports. Plan message policy, delivery targets, and queue operations separately from mailbox access.

Haraka

A Node.js SMTP server with a plugin-driven message path and an outbound queue. Recipient policy, authentication, durable handoff, and any mailbox/API layer must be designed explicitly.

iRedMail

A host-installed mail stack with selectable account backends. These guides cover the open-source deployment path, keeping Enterprise and paid administration features distinct.

maddy

A composable SMTP and mailbox server built from configured modules. Its own project labels IMAP storage beta; evaluate that boundary before migrating important mailboxes.

Mail-in-a-Box

An opinionated mail appliance for a supported clean Ubuntu host. DNS, certificates, mailboxes, and backups follow the appliance's layout rather than an arbitrary preexisting server configuration.

mailcow

A Docker Compose mail/groupware suite with managed Postfix, Dovecot, filtering, and administration components. Operate the assembled stack through its supported configuration and recovery paths.

MailKite Server

MailKite's pre-1.0 open-source protocol edges and reference local backend. Run the local stack deliberately, verify signed incoming events, and use only its documented SDK-compatible API subset. One MX edge can route each recipient domain to a different backend.

Mailu

A Docker-based mail stack with administration, mailbox access, and optional webmail. Generate configuration for the deployed release and verify TLS, volumes, and account routing.

Modoboa

A mail hosting and administration platform around components such as Postfix and Dovecot. Its installer can assemble a stack; its management API is not automatically a transactional send API.

mox

An integrated Go mail server with generated quickstart configuration, mailbox access, DNS checks, and operational commands. Keep its configuration and persistent mail state recoverable.

OpenSMTPD

The OpenBSD project's SMTP daemon, also available in portable builds. Match rules choose delivery actions; mailbox access and application processing are separate components.

Postal

An application delivery platform with SMTP/API submission, message activity, and inbound routing. It is not a general-purpose IMAP mailbox server.

Postfix

An SMTP transport and queue manager. Assemble authentication, mailbox storage, and client access explicitly; Postfix alone is not an IMAP service or a parsed-email webhook product.

Stalwart

An integrated Rust mail and collaboration server. Choose storage and directory backends, configure verified domains and client protocols, and plan recovery for the selected topology.

WildDuck

A Node.js IMAP/POP3 and HTTP API server backed by MongoDB and Redis. A complete SMTP suite adds inbound Haraka and outbound ZoneMTA; the standalone image is not that entire suite.

ZoneMTA

An outbound MTA with persistent queues, sending zones, and programmable routing. It does not provide an incoming mailbox; keep submission and internal services restricted.