a complete, self hosted mail server: SMTP, IMAP, spam filtering and brute force protection in one image
docker-mailserver is a production ready, full stack mail server. It combines a Postfix mail transfer agent for sending and receiving, Dovecot for IMAP mailbox access, Rspamd for spam scoring, DKIM signing and verification, SPF and DMARC, and Fail2ban for brute force protection. Accounts live in a plain file based store, so there is no database to run and no web console to secure. It is configured entirely through one environment file and a command line tool, which makes it straightforward to run, back up and reason about.
The cloudimg image runs the upstream release pinned by container image digest, so the version never drifts under you. Mail storage sits on a dedicated, independently resizable data volume that is re provisioned with every instance, keeping mailbox growth off the system disk. Nothing ships with a known credential: the image contains no mailbox at all, and a unique mailbox password and a unique TLS certificate carrying the instance's own hostname are generated on first boot. Brute force protection is switched on and genuinely enforced, the server is verified not to be an open relay, bundled component licence notices and a source code written offer ship in the image, and a paired deploy guide covers the platform's outbound mail restrictions honestly. Backed by 24/7 cloudimg support.