docker-mailserver on Ubuntu 24.04 LTS

Azure Streaming & Messaging

a complete, self hosted mail server: SMTP, IMAP, spam filtering and brute force protection in one image

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

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.

Why the cloudimg image

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.

Common uses

  • Host mailboxes for your own domain on infrastructure you control
  • Receive and archive application and system notification mail
  • Provide IMAP access and authenticated submission for a small team