WildDuck

WildDuck

Scalable IMAP/POP3 mail server with MongoDB backend and REST API

2.1kstars
274forks
Last commit: 2d ago
Repo age: 9y old
WildDuck screenshot

WildDuck is a modern IMAP/POP3 mail server designed for large-scale deployments. It stores all mail data in a sharded and replicated MongoDB backend and runs stateless Node.js instances that can be scaled behind a load balancer.

Key Features

  • First-class IMAP and POP3 support for standard mail clients
  • MongoDB-backed storage for messages and metadata, designed for sharding and replication
  • Stateless architecture for horizontal scaling and high throughput
  • REST API to manage accounts, access, filtering features, and server settings
  • Unicode-first support for internationalized email addresses and folders
  • Built-in account security features such as application-specific passwords, rate limiting, and MFA helpers (TOTP/U2F)
  • Optional support for storing a user GPG public key to encrypt stored emails

Use Cases

  • Hosting IMAP mailboxes for large organizations with many users and large quotas
  • Building an API-driven mail platform where provisioning and operations are automated
  • Running a scalable mail storage and access layer alongside separate SMTP components

Limitations and Considerations

  • Opinionated design may not fit setups that depend on traditional MTA/IMAP stacks and features like Sieve-based workflows
  • Typically used together with additional components (for example, an SMTP server) to form a complete mail system

WildDuck is a strong fit when you need an API-controlled, horizontally scalable IMAP server architecture rather than a classic single-host mail stack. For high-user-count installations, its stateless design and database-backed storage simplify scaling and operations.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

docker-mailserver

docker-mailserver

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

17.7k
2k
Last commit: 4d 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.2k
1.2k
Last commit: 3mo 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.1k
1.5k
Last commit: 13d 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

11.9k
1.6k
Last commit: 1mo 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.2k
602
Last commit: 20h 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

7k
960
Last commit: 1mo 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