hMailServer
ScreenshotHmailserver admin.PNG
DeveloperMartin Knafve
Released2002 (age 24)
DiscontinuedYes
Latest release version5.6.8 (Build 2574)[1]
Latest release date10 March 2021 (age 5)
Latest preview version5.6.9 (Build 2607)
Latest preview dateMarch 12, 2023 (age 3)
Programming languageC++, C#
Operating systemWindows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows 7, Windows Server 2012, Windows Server 2012 R2, Windows 10, Windows Server 2016
GenreMail transfer agent
LicenseAGPL
Websitehmailserver.com

hMailServer is a free email server for Windows created by Martin Knafve. It ran as a Windows service and includes administration tools for management and backup. It had support for IMAP, POP3, and SMTP email protocols. It could use external database engines such as MySQL, MS SQL or PostgreSQL, or an internal MS SQL Compact Edition engine to store configuration and index data. The actual email messages were stored on disk in a raw MIME format. As of January 15th, 2022, active support and development were officially halted,[2] although version 5.6 will continue to receive updates for critical bugs.

Common features such as multiple-domain support, aliases, catch-all and basic mailing lists were present. Users could be authenticated both against the local hMailServer user system and against an external Active Directory.

AntiSpam

hMailServer offered a number of different AntiSpam mechanisms:

AntiVirus

hMailServer had built in support for ClamWin/ClamAV. It's possible to execute any command line virus scanner.

Other features

  • Domain and account signatures (for legal and advertising footers)
  • Server side rules (rules for individual accounts available in v5)
  • Retrieval of messages from external POP3 accounts
  • Quotas on domain, mailbox, and individual message sizes
  • Plus addressing (using + to make a virtual alias for an account specific to a task, as seen in Gmail)
  • Attachment blocking (based on attachment extension)
  • Custom SMTP routes for specific domains (can be used to set up MX backup, forwarding and more)
  • API (it's possible to write hMailServer scripts using VBScript and JScript)
  • Built-in support for SSL

Integration

History

The hMailServer project was started in 2003. Up until 2008 and version 4, the project was licensed under the GPL. Versions 5.0 to 5.3 were proprietary.[3][4] Since version 5.4, hMailServer is licensed under the GNU AGPL 3.[5][6]

The latest version of hMailServer appears to be open source again.[7] This is also noted on the hMailServer home page.[8]

As of April 18th 2026, support seems to have resumed as there have been several recent efforts by the author and contributors to the project on their official Github Repository.[9]

See also

References

  1. ^ Knafve, Martin. "Free open source email server for Microsoft Windows". hMailServer. Retrieved 2022-07-26.
  2. ^ "State of hMailServer". www.hmailserver.com. Retrieved 2023-09-30.
  3. ^ "Functionality". hMailServer. Retrieved 2012-03-05. hMailServer 4 and earlier versions are licensed as open source under the GPL license. Later versions of hMailServer (version 5 and later) are still free of charge but closed source.
  4. ^ Knafve, Martin (2007-08-02). "A few different reasons.. [why version 5 is closed source]". hMailserver-forums. Retrieved 2012-03-05.
  5. ^ Knafve, Martin. "Free open source email server for Microsoft Windows". hMailServer. Retrieved 2016-04-21.
  6. ^ "GNU AGPL, Version 3". hMailServer. 19 November 2007. Archived from the original on February 26, 2014. Retrieved February 20, 2014.
  7. ^ "hMailserver". GitHub.com. Retrieved 2016-04-21.
  8. ^ Knafve, Martin. "Free open source email server for Microsoft Windows". hMailServer. Retrieved 2016-04-21.
  9. ^ hmailserver. "Commits · hmailserver/hmailserver". GitHub. Retrieved 2026-04-18.