Back to services

wildduck

Scalable no-SPOF IMAP/POP3 mail server.

View alternatives to wildduck
Suggest edit
Open source
Self-hostable
EUPL-1.2
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: Fetching the official website wildduck.email failed, so the content below is compiled from what is known about the project, and details I'm unsure of have been left out. Before deploying, please refer to the latest documentation on the official website and the GitHub repository.

Overview

WildDuck is a modern open-source mail server that mainly handles IMAP and POP3 mail access. Its most distinctive feature is that it stores mail in a MongoDB database instead of using traditional Maildir/mbox file storage, so it can be easily sharded, replicated and scaled horizontally. It is well suited to hosting large numbers of mailbox accounts. The project was started by Andris Reinman, the author of Nodemailer, and is built with Node.js.

Key Features

  • IMAP / POP3 service: Supports the standard protocols and many commonly used IMAP extensions, and works with all kinds of mainstream mail clients.
  • Database storage: Mail and metadata are stored in MongoDB, while Redis is used for caching, notifications, rate limiting and more.
  • HTTP API: Provides a complete REST API that lets you programmatically manage users, mailboxes, addresses, filters, forwarding, auto-replies and quotas.
  • Account security: Supports two-factor authentication (such as TOTP) and app-specific passwords.
  • Attachment deduplication: Identical attachments are stored only once, saving storage space.
  • Unicode support: Usernames and email addresses can use internationalized characters.

Architecture and Companion Components

WildDuck itself focuses on mail storage and access, and is usually used together with other components from the same ecosystem:

  • Haraka + haraka-plugin-wildduck: Receives incoming mail from external senders and delivers it to WildDuck.
  • ZoneMTA: Handles outgoing mail (SMTP sending).
  • WildDuck Webmail and other front ends: Provide web-based access.

Target Users and Use Cases

  • Companies, organizations or hosting providers that need to run their own mail system
  • Scenarios that require hosting huge numbers of mailboxes with high availability and scalability
  • Developers who want to integrate mailbox management into their own business systems through an API

Core Strengths

  • No local file state, so service nodes can be added or removed freely, which makes cluster deployment easier
  • Built on MongoDB's replica set and sharding capabilities, enabling high availability and capacity scaling
  • API-first, which makes automated management convenient
  • Open source, with the code hosted on GitHub

Deployment and Technical Requirements

  • Runtime environment: Node.js
  • Dependencies: MongoDB, Redis
  • An official installation script (for deploying the whole mail stack in one step on a fresh Linux server) and Docker images are provided; you can also install from source and configure everything manually
  • Sending and receiving mail in full also requires separately configuring DNS records such as MX/SPF/DKIM, as well as inbound and outbound SMTP components