Dovecot

Dovecot

Secure IMAP, POP3 and LMTP server and email storage backend

1.2kstars
327forks
Last commit: 1d ago
Repo age: 11y old
Dovecot screenshot

Dovecot is a secure, high-performance IMAP/POP3/LMTP server and mail storage backend designed for reliability, standards compliance and operational scalability. It provides mailbox indexing, flexible authentication backends and a plugin architecture used by large ISPs and hosting providers.

Key Features

  • High-performance mailbox indexing with support for Maildir and mbox formats and self-optimizing indexes.
  • Flexible authentication backends with many passdb/userdb options and integration points for MTAs (Postfix, Exim) for SMTP authentication.
  • Standards-compliant IMAP/POP3/LMTP implementation with many protocol workarounds for client interoperability.
  • Extensible plugin system: native Lua scripting support and a rich plugin ecosystem (including the Pigeonhole Sieve/ManageSieve project for Sieve-based filtering).
  • TLS/SSL support via OpenSSL with configurable cipher suites, certificates and TLS settings.
  • Admin-friendly diagnostics, self-healing index behavior and support for clustered filesystems with caveats for some network filesystems.

Use Cases

  • Deploying a production-grade IMAP/POP3/LMTP backend for ISPs, telcos and hosting providers requiring high concurrency and scalability.
  • Building mail delivery workflows with server-side filtering using the Pigeonhole Sieve implementation and ManageSieve management.
  • Integrating authentication and SMTP submission with existing infrastructure (system userdbs, SQL/LDAP backends, or custom Lua-based userdb/passdb).

Limitations and Considerations

  • Some optional features require additional libraries or build-time options (for example, OpenSSL development headers are required for TLS support when compiling from source).
  • Using certain clustered/network filesystems (notably NFS) may require careful configuration or workarounds due to caching semantics; administrators should consult filesystem-specific guidance.

Dovecot is a mature, widely used mail backend focused on security, performance and extensibility. Its plugin architecture (Lua, Pigeonhole) and broad authentication options make it suitable for both small deployments and large-scale mail services.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

docker-mailserver

docker-mailserver

Containerized mail server stack for SMTP and IMAP with anti-spam

18k
2k
Last commit: 8d ago

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

Alternative to:
Gmail
Gmail
+16
Postal

Postal

Open source mail delivery platform for inbound and outbound email

16.3k
1.2k
Last commit: 24d ago

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...

Alternative to:
SendGrid
SendGrid
+10
Mail-in-a-Box

Mail-in-a-Box

Turnkey email server with webmail, DNS, TLS, and admin panel

15.2k
1.5k
Last commit: 24d ago

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.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+15
mailcow: dockerized

mailcow: dockerized

Docker-based email server suite with a web admin interface

12.2k
1.6k
Last commit: 27d ago

Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+16
Stalwart Mail Server

Stalwart Mail Server

All-in-one mail and collaboration server for modern and legacy protocols

11.7k
650
Last commit: 10h ago

All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19
Mailu

Mailu

Docker-based mail server with webmail and admin interface

7.1k
966
Last commit: 25d ago

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.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19