Setting up and maintaining an email server traditionally requires configuring multiple disparate services, but this composable all-in-one solution changes that. By combining all essential mail server functionalities into a single daemon, it significantly reduces maintenance costs and configuration complexity. You can seamlessly send messages via SMTP, accept incoming mail, and store messages with IMAP access.\n\nKey benefits include:\n\n* Unified architecture: Replaces Postfix, Dovecot, OpenDKIM, OpenSPF, and OpenDMARC with one cohesive system.\n* Built-in security: Fully implements mandatory auxiliary protocols to keep your email secure, including DKIM, SPF, DMARC, DANE, and MTA-STS.\n* Flexible deployment: While the IMAP storage is currently in beta, you can easily use this tool strictly for message delivery alongside other stable storage solutions.\n\nEnjoy a uniform configuration experience and eliminate the headache of managing multiple moving parts in your mail infrastructure.
services:
maddy:
image: foxcpp/maddy:latest
container_name: maddy
restart: unless-stopped
ports:
- "25:25"
- "143:143"
- "587:587"
- "993:993"
environment:
- MADDY_HOSTNAME=${MADDY_HOSTNAME}
- MADDY_DOMAIN=${MADDY_DOMAIN}
volumes:
- ./maddy-data:/dataMADDY_HOSTNAME=mx.example.com
MADDY_DOMAIN=example.comAuto-fetched 24 minutes ago
Auto-fetched 24 minutes ago