Microsoft Exchange Online logo

20 self-hosted Microsoft Exchange Online alternatives

Cloud-hosted email and calendaring service in Microsoft 365 that provides business mailboxes, SMTP/IMAP/Exchange ActiveSync access, shared calendars and contacts, mailbox management, anti-spam/malware protection, archiving, retention and compliance controls.

Alternatives to Microsoft Exchange Online

Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video conferencing.

Nextcloud screenshot

36.3k stars5.1k forksAGPL-3.0last 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.

Mail-in-a-Box screenshot

15.4k stars1.5k forksCC0-1.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.

Mailu screenshot

7.4k stars990 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.

Maddy Mail Server screenshot

6k stars324 forksGPL-3.0last commit Actively maintained

#8

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.

Mox screenshot

5.8k stars210 forksMITlast commit Actively maintained

Lightweight CalDAV/CardDAV server for syncing calendars, to-dos, and contacts with many clients, storing data on the filesystem and supporting auth and TLS.

Radicale screenshot

4.9k stars515 forksGPL-3.0last commit Actively maintained

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.

Modoboa screenshot

3.5k stars476 forksISClast commit Actively maintained

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.

YunoHost screenshot

3k stars349 forksAGPL-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.

emailwiz screenshot

2.2k stars340 forksGPL-3.0last commit Slowing down

#13

Open source groupware suite providing webmail, calendaring, address books, and shared resources via open standards like IMAP, CalDAV, and CardDAV.

SOGo screenshot

2.1k stars311 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.

WildDuck screenshot

2.1k stars276 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.

iRedMail screenshot

1.8k stars259 forksGPL-3.0last commit Actively maintained

EteSync (Etebase Server) provides a self-hostable, zero-knowledge, end-to-end encrypted sync backend for calendars, contacts, tasks and notes across devices.

EteSync screenshot

1.8k stars101 forksAGPL-3.0last commit Likely dormant

sabre/dav is a PHP framework for building WebDAV file servers and CalDAV/CardDAV calendar and contacts services.

sabre/dav screenshot

1.7k stars371 forksBSD-3-Clauselast commit Actively maintained

High-performance, standards-compliant IMAP/POP3/LMTP server with flexible authentication, extensible plugin system (Lua, Sieve) and OpenSSL TLS support.

Dovecot screenshot

1.2k stars345 forkslast commit Actively maintained

Davis is a sabre/dav-based CalDAV/CardDAV/WebDAV server with a modern Symfony 7 admin dashboard for managing users, calendars, sharing, and address books.

726 stars45 forksMITlast commit Actively maintained

Cyrus IMAP is a secure, scalable mail server providing IMAP/JMAP email plus CalDAV/CardDAV contacts and calendars, with ACLs, quotas, search, and replication.

Cyrus IMAP screenshot

637 stars173 forkslast commit Actively maintained

What replacing Microsoft Exchange Online actually involves

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. 18 of 20 shipped a commit in the last six months. Licences in this list: AGPL-3.0, MIT, CC0-1.0, GPL-3.0, ISC. In exchange you take on hosting, backups and updates yourself.

Browse everything in Email Servers (SMTP/IMAP).

Other tools people replace alongside Microsoft Exchange Online