Best Self-hosted Email Servers (SMTP/IMAP) tools in 2026
44 self-hosted open source alternatives in this category
See also:
Calendars & Contacts (CalDAV/CardDAV)Collaborative Office SuitesTeam Chat & MessagingVideo Conferencing & WebRTCVoIP / SIP & PBXWebmail Clients44 services found

docker-mailserver
Containerized mail server stack for SMTP and IMAP with anti-spam
Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

Postal
Open source mail delivery platform for inbound and outbound email
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...


Mail-in-a-Box
Turnkey email server with webmail, DNS, TLS, and admin panel
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.

mailcow: dockerized
Docker-based email server suite with a web admin interface
Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

Stalwart Mail Server
All-in-one mail and collaboration server for modern and legacy protocols
All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Mailu
Docker-based mail server with webmail and admin interface
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.

SimpleLogin
Open-source email aliasing and forwarding service
SimpleLogin is an open-source email alias service that lets you create aliases to protect your real inbox, forward mail, and reply or send from aliases using custom domai...
Maddy Mail Server
Composable all-in-one SMTP/IMAP mail server with security features
Go-based, modular mail server implementing SMTP/LMTP/IMAP with built-in DKIM/SPF/DMARC, storage backends (SQLite/Postgres/S3), Prometheus metrics and Docker support.
Haraka
High-performance, extensible SMTP server built on Node.js
Haraka is a fast, event-driven SMTP server for receiving, filtering, and relaying email, featuring a modular plugin architecture for customization at scale.
Mox
Modern, secure, all-in-one mail server for self-hosted email
All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.

AnonAddy
Anonymous email aliasing and forwarding with GPG support
Open-source anonymous email forwarding that creates and manages aliases, supports custom domains, encrypted forwarding, and self-hosting via Postfix and MariaDB.

Modoboa
Mail hosting and management platform with web UI and webmail
Modoboa is an open source mail server management platform with a modern web UI, integrating Postfix and Dovecot with admin tools, webmail, calendar, and address book.

YunoHost
Debian-based server OS and web control panel for self-hosted apps
Open-source Debian-based OS and control panel that simplifies installing, managing and securing web apps, mail and services via a web admin and app catalog.


AliasVault
End-to-end encrypted password manager with built-in email aliasing
Privacy-first, end-to-end encrypted password and email alias manager with passkeys, TOTP, apps and extensions, plus a built-in email server for self-hosting.

emailwiz
Bash-based installer that deploys a secure Debian/Ubuntu mail server stack.
A Bash script that auto-implements a full mail server (Postfix, Dovecot, DKIM, SpamAssassin) with TLS and PAM-based logins on Debian/Ubuntu.
WildDuck
Scalable IMAP/POP3 mail server with MongoDB backend and REST API
WildDuck is a horizontally scalable IMAP/POP3 mail server that stores all mail in MongoDB, runs stateless Node.js workers, and provides a REST API for full server control...
iRedMail
Open-source full-featured mail server stack for Linux/BSD
Automated open-source mail server installer bundling Postfix, Dovecot, webmail, anti-spam/antivirus and LDAP/SQL backends for mainstream Linux/BSD.

Dovecot
Secure IMAP, POP3 and LMTP server and email storage backend
High-performance, standards-compliant IMAP/POP3/LMTP server with flexible authentication, extensible plugin system (Lua, Sieve) and OpenSSL TLS support.
OpenTrashmail
Self-hosted disposable email inbox with web UI, API, RSS, webhooks
OpenTrashmail is a standalone disposable email (“trashmail”) service with its own SMTP server, offering a web UI plus JSON API, RSS feeds, and webhooks for received mail.
DavMail
Exchange and Microsoft 365 gateway for standard mail and PIM protocols
DavMail is a Java gateway that lets standard clients use IMAP/POP/SMTP, CalDAV, CardDAV, and LDAP with Microsoft Exchange and Microsoft 365 via OWA/EWS.


Nortix Mail
Disposable email server with a simple self-hosted setup
Self-hosted disposable email server for creating temporary addresses to reduce spam and protect privacy, with an optional TLS setup and a web UI.
Cyrus IMAP
Email, contacts, and calendar server with IMAP and JMAP
Cyrus IMAP is a secure, scalable mail server providing IMAP/JMAP email plus CalDAV/CardDAV contacts and calendars, with ACLs, quotas, search, and replication.

Hyvor Relay
Open-source, self-hosted Email API for developers
AGPL-3.0 open-source email API for developers that can be self-hosted; supports SMTP sending, webhooks, DNS automation, observability, multi-tenancy, and project isolatio...


Sympa
Open-source mailing list management software
Open-source mailing list manager for automating subscriptions, moderation, archives and message distribution with web, CLI and SOAP interfaces for large lists.

Piler
Open-source email archiving and eDiscovery platform
Scalable email archiving solution with tamper-evident retention, full-text search, legal hold, deduplication and access controls for compliance.

DragonFly Mail Agent (dma)
Lightweight Mail Transfer Agent for local delivery and relay
A small, C-based Mail Transfer Agent for local submission and outbound relay with TLS/SMTP authentication, aimed at home and small office use.

HomeServerHQ
All-in-one home server platform with VPN, email, and relay
Integrated installer and platform for home infrastructure. Provides VPN relay for NAT traversal, preconfigured email, automatic HTTPS, reverse proxy, and a web management...


Simple NixOS Mailserver
NixOS module for running a complete email server stack
Simple NixOS Mailserver provides NixOS modules to deploy a full email server with SMTP/IMAP, spam filtering, DKIM/DMARC/SPF, and TLS automation.

Sendmail Open Source
Open source subset of Sendmail Sentrion for enterprise email environments.
Open Source Sendmail provides a subset of Proofpoint's Sendmail Sentrion MTA for large-scale mail deployments; current release is 8.16.1 with a PGP-signed tarball and Ope...

b1gMail
Web-based email and collaboration suite for running hosted email services
Open-source webmail and groupware offering email, contacts, calendar, cloud drive, tasks, notes and an admin control panel for multi-tenant email services.