Dovecot Secure IMAP and POP3 Mail Server

AWS Streaming & Messaging

Dovecot, the secure open source IMAP and POP3 mail server, ready to serve mailboxes over TLS minutes after it boots.

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

Dovecot is one of the most widely deployed open source IMAP and POP3 servers in the world, chosen for its security focus, standards compliance and excellent performance. This image runs Dovecot as a self contained, secure by default single node mail store: one virtual mailbox with its mail kept in Maildir format under a dedicated unprivileged account, local delivery over LMTP, and IMAP and POP3 served over TLS. Any standards compliant mail client can connect securely, and you can add further mailboxes or front the server with an MTA such as Postfix.

It suits platform and messaging engineers, DevOps teams and small businesses that want a secure, standards compliant mailbox server they fully control, with their mail kept on their own server.

Why the cloudimg image

cloudimg delivers Dovecot fully installed and hardened, so a secure mailbox server is running within minutes of launch. On the first boot of every instance a one shot service generates a unique mailbox password, hashes it into the Dovecot password database, regenerates the TLS private key and certificate and writes the plaintext login to a file only the root user can read, so no shared or default credential ships in the image. Plaintext authentication is refused on the non TLS ports until the connection is upgraded with STARTTLS, and only the virtual mailbox user can authenticate. Every deployment is paired with a step by step deploy guide and backed by 24/7 support.

Common uses

  • A secure, self hosted IMAP and POP3 mailbox server you fully control
  • Standards compliant mailbox access over TLS for any IMAP or POP3 client
  • The mailbox store behind an MTA such as Postfix for a complete mail stack

Key features

  • Production ready in minutes: unlike generic mail server images that ship a shared default password and need manual TLS setup, this image launches Dovecot fully configured with IMAP and POP3 over TLS, Maildir storage and LMTP local delivery. You go from launch to authenticated mailbox access with no manual hardening and no hours of configuration.
  • Zero trust security from first boot with no shared credentials across deployments: every instance generates a unique SHA512 hashed mailbox password and a fresh TLS private key and certificate, and refuses plaintext authentication on the non TLS ports. There is no default password to forget, removing the most common mail server misconfiguration.
  • 24/7 expert technical support from cloudimg with a one hour average response time for critical issues. Our engineers help with adding mailboxes, connecting clients over TLS, fronting Dovecot with an MTA such as Postfix for full SMTP flow, installing Let's Encrypt certificates, and planning version upgrades.

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

## Dovecot - Secure IMAP and POP3 Mail Server by cloudimg

Dovecot is one of the most widely deployed open source IMAP and POP3 servers in the world, chosen for its security focus, standards compliance and excellent performance. This image delivers Dovecot 2.3.21 fully installed and hardened, giving you a production ready mailbox server within minutes of launch and skipping hours of manual configuration and security hardening.

### Why this image instead of a DIY setup or a generic image

Many mail server images ship with a shared default password that administrators must remember to change, require manual TLS certificate generation, or leave plaintext authentication enabled on public ports. This image removes those risks: every instance generates its own unique credentials and TLS keys on first boot, so there is no default password to forget, no shared secret across deployments, and no window of exposure. Compared with building from scratch you avoid the usual hours of package installation, user provisioning, TLS configuration, authentication hardening and systemd tuning.

### Ideal use cases

  • Small teams moving off shared hosting: launch a dedicated mailbox store on a single instance, pair it with Postfix for SMTP, and own your mail infrastructure.
  • Region or network resident mail storage: keep all mailbox data on your own encrypted volumes under your direct control.
  • Adding mailbox access to an existing Postfix deployment: this image serves as the IMAP and POP3 backend, receiving mail over LMTP and serving it to clients over TLS.

### How it works

The server is configured as a self contained, secure by default single node mail store:

  • Mailbox access: IMAP over TLS on 993 and STARTTLS on 143; POP3 over TLS on 995 and STARTTLS on 110. Any standards compliant client connects securely.
  • Storage: mail is kept in Maildir format under a dedicated unprivileged vmail user, safe for concurrent access and easy to back up or snapshot.
  • Local delivery: LMTP handles delivery so the setup works end to end with no external dependency.
  • Authentication: a Dovecot password file with a SHA512 hashed per instance password. Only the virtual mailbox user can authenticate; system and shell accounts are excluded from mail login.

### Security model, zero trust from first boot

On first boot a one shot service generates a unique mailbox password and hashes it into the Dovecot password database, regenerates the TLS private key and self signed certificate, writes the plaintext login to a root only file, and refuses plaintext authentication on the non TLS ports until STARTTLS upgrades the connection. No image ever ships a usable or default credential. The included user guide covers replacing the self signed certificate with a Let's Encrypt certificate and adding further mailboxes.

### Runs as a standard instance

Dovecot runs as a hardened systemd service. Because it is a standard Linux instance you can snapshot the storage volume for backup, resize it as mail grows, encrypt it at rest, place the instance in your own private network, and restrict inbound access to your known client addresses.

### Getting started

1. Launch the image from AWS Marketplace.

2. Read the per instance mailbox login from the root only credentials file.

3. Point any IMAP or POP3 client at the instance over TLS.

4. Send a test message through LMTP to confirm delivery.

Dovecot provides mailbox access and local delivery; pair it with an MTA such as Postfix for full inbound and outbound SMTP mail flow. It is not webmail and does not send outbound SMTP on its own.

### 24/7 expert support from cloudimg

cloudimg engineers provide round the clock technical support and help with adding mailboxes, connecting clients over TLS, fronting Dovecot with Postfix, installing a Let's Encrypt certificate, Maildir backup strategy and version upgrades.

cloudimg is not affiliated with or endorsed by the Dovecot project or Open-Xchange. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

dovecot imap serverpop3 mail serversecure email servermaildir storagelmtp deliveryself hosted emailsmall business mail serverimap tlspostfix dovecotprivate email hostingopen source mailbox