hMailServer

hMailServer·hMailServer.hMailServer

Free and open source email server for Microsoft Windows.

hMailServer is a free, open source, e-mail server for Microsoft Windows. It's used by Internet service providers, companies, governments, schools and enthusiasts in all parts of the world. It supports the common e-mail protocols (IMAP, SMTP and POP3) and can easily be integrated with many existing web mail systems. It has flexible score-based spam protection and can attach to your virus scanner to scan all incoming and outgoing email.

winget install --id hMailServer.hMailServer --exact --source winget

Latest 5.7.2.3164·November 13, 2026

Release Notes

This release contains several critical security fixes.

  • IMAP: FETCH could read and return out-of-bounds data.
  • IMAP: SETACL, GETQUOTAROOT and SORT with unbalanced parentheses caused out-of-bounds reads.
  • IMAP: Literal sizes were not limited, allowing unbounded memory use.
  • IMAP: APPEND with a date missing seconds caused an exception.
  • SQL injection vulnerability when using MySQL/PostgreSQL.
  • DKIM: A key record in test mode (t=y) turned a failed verification into Pass.
  • DKIM: Out-of-range vector access when c= ends with a slash.
  • MIME: Deeply nested messages could cause a stack overflow.
  • SMTP: Attachment blocking missed attachments in forwarded or deeply nested messages.
  • SMTP: A negative X-hMailServer-LoopCount header from the sender bypassed the forward loop limit.
  • AntiVirus: ClamAV/ClamWin scan errors caused messages to be treated as clean.
  • AntiVirus: Strip attachments kept the virus when it was in the first or only part of the message.
  • SpamAssassin: Invalid responses could cause unbounded reads.
  • External POP3 fetching: Oversized server responses could cause unbounded memory use.
  • COM API: Rules, rule actions, criteria and fetch accounts could be moved to other accounts by changing AccountID/RuleID.
  • WebAdmin: CSRF and session fixes.
  • The BlockedIPHoldSeconds setting has been removed. Holding blocked connections tied up the server more than the client. Breaking changes:
  • IMAP master user: if no domain is specified, the default domain is used. To log on to accounts in other domains, specify the master user's full email address. Thanks to @Stoupard for contributing information about the above issues.

Installer type: inno

x64—7AEBA848EFF2AF24BAEFD9F327BE54534C590B29D788CA85DC5206B7A692ED3F

Details

Homepage
https://github.com/hmailserver/hmailserver
License
AGPL-3.0
Publisher
hMailServer
Support
https://github.com/hmailserver/hmailserver/issues

Tags

emailemail-serverimapmail-serverpop3smtp