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

18.8k stars2k forksMITlast commit Actively maintained

Encrypted email and calendar service providing end-to-end encryption, secure contacts management, and privacy-focused features. Offers web, desktop, and mobile clients and supports optional custom domains for secure email and calendaring.
Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

18.8k stars2k forksMITlast commit Actively maintained
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.

15.4k stars1.5k forksCC0-1.0last commit Actively maintained
All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

14.4k stars909 forkslast commit Actively maintained
Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

13.3k stars1.8k forksGPL-3.0last commit Actively maintained
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.

7.5k stars997 forkslast commit Actively maintained
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.

6.1k stars326 forksGPL-3.0last commit Actively maintained
A Bash script that auto-implements a full mail server (Postfix, Dovecot, DKIM, SpamAssassin) with TLS and PAM-based logins on Debian/Ubuntu.

2.2k stars341 forksGPL-3.0last commit Slowing down
Open source groupware suite providing webmail, calendaring, address books, and shared resources via open standards like IMAP, CalDAV, and CardDAV.

2.2k stars320 forksGPL-2.0last commit Actively maintained
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.

2.1k stars278 forksEUPL-1.2last commit Actively maintained
Automated open-source mail server installer bundling Postfix, Dovecot, webmail, anti-spam/antivirus and LDAP/SQL backends for mainstream Linux/BSD.

1.8k stars260 forksGPL-3.0last commit Actively maintained
High-performance, standards-compliant IMAP/POP3/LMTP server with flexible authentication, extensible plugin system (Lua, Sieve) and OpenSSL TLS support.

1.2k stars347 forkslast commit Actively maintained
Open-source PHP groupware providing CalDAV/CardDAV, ActiveSync, email client, CRM, tasks, file manager and Docker images for on-premise collaboration.

21 stars4 forksAGPL-3.0last commit Actively maintained
Courier is an integrated mail server suite providing ESMTP (MTA), IMAP, POP3, webmail, and mailing lists with optional LDAP/MySQL/PostgreSQL-backed virtual accounts.

Activity unknown
Simple NixOS Mailserver provides NixOS modules to deploy a full email server with SMTP/IMAP, spam filtering, DKIM/DMARC/SPF, and TLS automation.

Activity unknown
Self-hosted enterprise collaboration suite providing email, webmail, calendaring, contacts, and administration for organizations.

Activity unknown
Open-source webmail and groupware offering email, contacts, calendar, cloud drive, tasks, notes and an admin control panel for multi-tenant email services.

Activity unknown
Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 11 of 16 shipped a commit in the last six months. Licences in this list: MIT, CC0-1.0, GPL-3.0, GPL-2.0, EUPL-1.2. In exchange you take on hosting, backups and updates yourself.
Browse everything in Email Servers (SMTP/IMAP).