Hm

hMailServer on Windows Server 2025

Azure Streaming & Messaging

hMailServer on Windows Server 2025, your own SMTP, IMAP and POP3 mail server on Azure, with TLS on every port and this VM's own passwords from first boot.

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 hours a day
by email, guaranteed response within 24 hours

Overview

hMailServer is a free, open source (AGPL-3.0) mail server for Windows that speaks SMTP, IMAP and POP3, with domains, accounts, aliases, distribution lists, rules and anti-spam in one administrator console. This image runs hMailServer 5.7.2 on Windows Server 2025 Datacenter (Desktop Experience) as a Windows service, on a local MariaDB 11.4 LTS database that listens on the server only, with SMTP (25), submission (587), SMTPS (465), IMAP (143), IMAPS (993), POP3 (110) and POP3S (995) opened in Windows Firewall for hMailServer alone.

Why the cloudimg image

cloudimg installs hMailServer and MariaDB from the projects' own releases with their checksums verified, uses MariaDB instead of the end-of-life SQL Server Compact database, runs Windows Update at build until nothing is pending, and has every VM make its own administrator and database passwords and its own TLS certificate at first boot, readable only by administrators. Sign-in is accepted only over TLS, relaying needs sign-in, TLS 1.0 and 1.1 are off, and every image version is checked on two fresh VMs before release. The Windows Server licence is included in the VM price and billed by Microsoft. cloudimg's support team is on hand 24 hours a day by email, with a guaranteed response within 24 hours.

Common uses

  • Mail for your own domains on a server you control
  • An internal mail server for applications, alerts and devices
  • IMAP mailboxes for a small team, sending out through a smart host

See it running

Real screenshots taken while testing this image against its deployment guide.

hMailServer on Windows Server 2025 screenshot 1 hMailServer on Windows Server 2025 screenshot 2 hMailServer on Windows Server 2025 screenshot 3 hMailServer on Windows Server 2025 screenshot 4