# WildDuck

WildDuck is a scalable, no-single-point-of-failure IMAP and POP3 mail server.

Canonical page: https://ourlocalhost.com/app/8866/wildduck

## Description

WildDuck is a scalable, no-single-point-of-failure IMAP and POP3 mail server. Built on Node.js, it stores accounts and messages in sharded MongoDB so instances are stateless and can be run in parallel behind a load balancer, with attachments kept in GridFS or S3. It offers full IMAP4rev1 support with IDLE and a REST API for account and message management, and pairs with Haraka for inbound SMTP and ZoneMTA for outbound SMTP to form a complete mail platform. It suits self-hosters and providers running large mail setups (hundreds or thousands of accounts) who need horizontal scaling; smaller setups are better served by Postfix and Dovecot.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

59/100 (Fair), based on 5 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 67 (2,114 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 30 (4 GB minimum RAM)
- Security check: 20 (1 serious finding, 8 minor, CI, tests)

## Security check

1 serious finding: A private key is committed in the source code.
Automated checks on commit 81fb1ff, 25 Nov 2026. Not an audit.

## Links

- Official website: https://wildduck.email/
- Documentation: https://docs.wildduck.email
- GitHub: https://github.com/nodemailer/wildduck-dockerized

## Common questions

### Does WildDuck handle SMTP, or do I need additional components?

No, WildDuck only handles IMAP and POP3. You need to bundle it with Haraka for inbound SMTP and ZoneMTA for outbound SMTP to get a complete mail server.

### What are the install script's prerequisites?

Run the installer as root (e.g. ./install.sh mydomain.com mail.mydomain.com), because it installs system-level software. Your hostname must already point to your server and MX records must be set correctly, otherwise email won't reach you.

### Is WildDuck suitable for small personal mail setups?

It's best suited for 1000+ accounts that need horizontal scaling. For smaller setups, Postfix+Dovecot is recommended instead.

### Where is mail data stored, and how are attachments handled?

Accounts and messages are stored in MongoDB with sharding support, and attachments are kept in GridFS or S3. This lets all instances be stateless and run in parallel behind a load balancer.

### How do I use a custom configuration file?

Start the server with node server.js --config=/etc/wildduck.toml to point at your own settings file. Keep a safe backup, since losing it means re-doing the server configuration by hand.

### Is there a live demo I can try before installing?

Yes, webmail.wildduck.email is a live demo where you can register a free @wildduck.email address and test with the web client or your own IMAP app. Outbound delivery is disabled to prevent spam abuse.

## Alternatives

- Mail-in-a-box: Easy-to-deploy mail server.
- Stalwart: Stalwart is an open-source, all-in-one email server that unifies JMAP, IMAP (Internet Message Access Protocol), and SMTP (Simple Mail Trans…
- iRedMail: iRedMail is a free, open-source toolkit that installs a fully-featured mail server on your own Linux or BSD machine in minutes.
- mailcow: dockerized: mailcow is a mail server suite based on Dovecot, Postfix, SOGo, Rspamd and other open source software, that provides a modern Web UI for ad…
- mailu: Mailu is a simple yet full-featured mail server as a set of Docker images.

---
Source: Our Local Host (https://ourlocalhost.com/app/8866/wildduck), the self-hosted and open-source app directory.
