Designed for large-scale deployments, this modern IMAP and POP3 mail server offers a completely stateless architecture backed by a MongoDB cluster. It is built to scale horizontally, making it ideal for environments managing thousands of email accounts with large quotas. Instead of relying on traditional file systems, it stores data efficiently in databases, even separating attachments for optimized storage costs.
Key benefits include:
services:
wildduck:
image: nodemailer/wildduck:latest
restart: always
ports:
- "80:80"
- "443:443"
- "25:25"
- "465:465"
- "587:587"
- "143:143"
- "993:993"
- "110:110"
- "995:995"
environment:
- TZ=${TIMEZONE}
- NODE_ENV=production
volumes:
- ./config:/etc/wildduck
- ./ssl:/etc/ssl/wildduck
depends_on:
- mongo
- redis
mongo:
image: mongo:5.0
restart: always
volumes:
- ./data/mongo:/data/db
redis:
image: redis:6.2-alpine
restart: always
volumes:
- ./data/redis:/dataTIMEZONE=UTCAuto-fetched about 22 hours ago
Auto-fetched about 22 hours ago