The 15 top free and open-source email servers for Windows with setup guides, tutorials, videos, and instructions.
Written by
Forward Email Team
Time to read
Less than 5 minutes< 5 minutes
Email Server Screenshots
⭐ Recommended
Forward Email
⭐ Recommended
- IMAP
- SMTP
- MX
- SQLite Encrypted
Forward Email is an open-source email server for Windows. The official description from its website says, «Privacy-focused encrypted email for you. We are the go-to email service for hundreds of thousands of creators, developers, and businesses. Send and receive email as you@yourdomain.com with your custom domain or use one of ours.«
Screenshot by Forward Email
Docker Mailserver
- IMAP
- SMTP
- MX
- SQLite Encrypted
Docker Mailserver is an open-source email server for Windows. The official description from its website says, «docker-mailserver, or DMS for short, is a production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.).«
Screenshot by Forward Email
Maddy Mail Server
- IMAP
- SMTP
- MX
- SQLite Encrypted
Maddy Mail Server is an open-source email server for Windows. The official description from its website says, «Maddy Mail Server implements all functionality required to run a e-mail server.«
Screenshot by Forward Email
Mail-in-a-Box
- IMAP
- SMTP
- MX
- SQLite Encrypted
Mail-in-a-Box is an open-source email server for Windows. The official description from its website says, «Take back control of your email with this easy-to-deploy mail server in a box.«
Screenshot by Forward Email
mailcow
- IMAP
- SMTP
- MX
- SQLite Encrypted
mailcow is an open-source email server for Windows. The official description from its website says, «mailcow: dockerized is an open source groupware/email suite based on docker.«
Screenshot by Forward Email
Dovecot
- IMAP
- SMTP
- MX
- SQLite Encrypted
Dovecot is an open-source email server for Windows. The official description from its website says, «Dovecot is an excellent choice for both small and large installations.«
Screenshot by Forward Email
WildDuck
- IMAP
- SMTP
- MX
- SQLite Encrypted
WildDuck is an open-source email server for Windows. The official description from its website says, «WildDuck is a modern mail server software for IMAP and POP3.«
Screenshot by Forward Email
Exim
- IMAP
- SMTP
- MX
- SQLite Encrypted
Exim is an open-source email server for Windows. The official description from its website says, «Exim is a message transfer agent (MTA) originally developed at the University of Cambridge for use on Unix systems connected to the Internet.«
Screenshot by Forward Email
Postfix
- IMAP
- SMTP
- MX
- SQLite Encrypted
Postfix is an open-source email server for Windows. The official description from its website says, «It is Wietse Venema’s mail server that started life at IBM research as an alternative to the widely-used Sendmail program.«
Screenshot by Forward Email
chasquid
- IMAP
- SMTP
- MX
- SQLite Encrypted
chasquid is an open-source email server for Windows. The official description from its website says, «chasquid is an SMTP (email) server with a focus on simplicity, security, and ease of operation.«
Screenshot by Forward Email
Haraka
- IMAP
- SMTP
- MX
- SQLite Encrypted
Haraka is an open-source email server for Windows. The official description from its website says, «A modern, high performance, flexible SMTP server.«
Screenshot by Forward Email
Postal
- IMAP
- SMTP
- MX
- SQLite Encrypted
Postal is an open-source email server for Windows. The official description from its website says, «Postal is a complete and fully featured mail server for use by websites & web servers.«
Screenshot by Forward Email
ZoneMTA
- IMAP
- SMTP
- MX
- SQLite Encrypted
ZoneMTA is an open-source email server for Windows. The official description from its website says, «ZoneMTA provides granular control over routing different messages. «
Screenshot by Forward Email
keila
- IMAP
- SMTP
- MX
- SQLite Encrypted
keila is an open-source email server for Windows. The official description from its website says, «Open Source Newsletter Tool.«
Screenshot by Forward Email
listmonk
- IMAP
- SMTP
- MX
- SQLite Encrypted
listmonk is an open-source email server for Windows. The official description from its website says, «Self-hosted newsletter and mailing list manager.«
Screenshot by Forward Email
Email Server Comparison
(Scroll to the right to see entire table)
Name | Description | Screenshot | IMAP | MX | SMTP | SQLite Encrypted | Website | Wikipedia |
---|---|---|---|---|---|---|---|---|
Forward Email ⭐ Recommended | Privacy-focused encrypted email for you. We are the go-to email service for hundreds of thousands of creators, developers, and businesses. Send and receive email as you@yourdomain.com with your custom domain or use one of ours. | Screenshot | ✅ | ✅ | ✅ | ✅ | Website | |
Docker Mailserver | docker-mailserver, or DMS for short, is a production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.). | Screenshot | ✅ | ✅ | ✅ | ❌ | Website | |
Maddy Mail Server | Maddy Mail Server implements all functionality required to run a e-mail server. | Screenshot | ✅ | ✅ | ✅ | ❌ | Website | |
Mail-in-a-Box | Take back control of your email with this easy-to-deploy mail server in a box. | Screenshot | ✅ | ✅ | ✅ | ❌ | Website | Wikipedia |
mailcow | mailcow: dockerized is an open source groupware/email suite based on docker. | Screenshot | ✅ | ✅ | ✅ | ❌ | Website | |
Dovecot | Dovecot is an excellent choice for both small and large installations. | Screenshot | ✅ | ❌ | ❌ | ❌ | Website | Wikipedia |
WildDuck | WildDuck is a modern mail server software for IMAP and POP3. | Screenshot | ✅ | ❌ | ❌ | ❌ | Website | |
Exim | Exim is a message transfer agent (MTA) originally developed at the University of Cambridge for use on Unix systems connected to the Internet. | Screenshot | ❌ | ✅ | ✅ | ❌ | Website | Wikipedia |
Postfix | It is Wietse Venema’s mail server that started life at IBM research as an alternative to the widely-used Sendmail program. | Screenshot | ❌ | ✅ | ✅ | ❌ | Website | Wikipedia |
chasquid | chasquid is an SMTP (email) server with a focus on simplicity, security, and ease of operation. | Screenshot | ❌ | ✅ | ✅ | ❌ | Website | |
Haraka | A modern, high performance, flexible SMTP server. | Screenshot | ❌ | ✅ | ❌ | ❌ | Website | Wikipedia |
Postal | Postal is a complete and fully featured mail server for use by websites & web servers. | Screenshot | ❌ | ✅ | ❌ | ❌ | Website | |
ZoneMTA | ZoneMTA provides granular control over routing different messages. | Screenshot | ❌ | ✅ | ❌ | ❌ | Website | |
keila | Open Source Newsletter Tool. | Screenshot | ❌ | ✅ | ❌ | ❌ | Website | |
listmonk | Self-hosted newsletter and mailing list manager. | Screenshot | ❌ | ✅ | ❌ | ❌ | Website |
Notice of Non-Affiliation and Disclaimer: We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Docker Mailserver, Maddy Mail Server, Mail-in-a-Box, mailcow, Dovecot, WildDuck, Exim, Postfix, chasquid, Haraka, Postal, ZoneMTA, keila, and listmonk, or any of its subsidiaries or its affiliates. The name Docker Mailserver, Maddy Mail Server, Mail-in-a-Box, mailcow, Dovecot, WildDuck, Exim, Postfix, chasquid, Haraka, Postal, ZoneMTA, keila, and listmonk as well as related names, marks, emblems, and images are registered trademarks of their respective owners.
Top 20 Best Open Source Email Servers for Windows / Linux. Are you on the lookout for the perfect open source email server software but haven’t a clue where to start? In this post, we’ve done all that hard work for you. There is a thorough evaluation of the top email servers in terms of performance, security and user-friendliness. There is pros, cons, and quirks of each software.
Shall we start with article Top 20 Best Open Source Email Servers for Windows / Linux?
Top 20 Best Open Source Email Servers for Windows / Linux
1. Postfix
Postfix, an open-source mail transfer agent (MTA). Notably, Postfix is known for its prioritization of security, ensuring confidentiality, integrity, and protection of emails. Overall, Postfix is a reliable email server that gives access to extensive configuration options.
Pros of Postfix
- Secures your email with spam filtering, TLS encryption, and a variety of authentication mechanisms.
- Allows you to handle large volumes of email traffic and adapt to growing demand.
- Vibrant and active community of users and developers.
- Customize it to meet your needs.
- Excellent email filtering options.
Cons of Postfix
- The email filtering processes is memory hungry.
- Lack of a GUI.
2. Zimbra
Zimbra, an open-source email and collaboration software. Comes with a wide selection of communication and productivity tools. Get an email, calendar, contacts, file sharing, tasks, and other collaboration features in one package. Moreover, Zimbra works with Linux and Windows and offers a web, mobile, and desktop interface. As a result, access your emails from anywhere, using any device.
Pros of Zimbra
- Wide selection of tools that enhance productivity and simplify communication.
- Access Zimbra from anywhere with a variety of platforms and devices.
- Comes with a modern user interface.
- Use Zimbra for both small organizations and large ones. It grows with your team.
- Opt for high-availability configurations that guarantee continuous access to emails and other tools.
- Comes with spam and virus filtering, encryption, and two-factor authentication to keep emails secure.
Cons of Zimbra
- Need technical expertise to set up Zimbra.
- Limitations when you want to integrate third-party tools or customize the functionality.
3. iRedMail
iRedMail is designed to simplify the process of deploying a feature-rich email system on Linux. In the package, you get a complete suite of reliable and widely-used software components for managing your email. Also, you get to choose where you store mail accounts between OpenLDAP, MySQL, MariaDB, and PostgreSQL. Owing to its versatility, you tailor the email system to your specific needs and preferences.
Pros of iRedMail
- Setting up a complete mail server is a straightforward process.
- Integrations with other mail server software components is seamless.
- iRedMail comes with a web-based admin panel to manage email configurations.
- Your email is secured with spam filtering, antivirus scanning, and support for SSL/TLS encryption.
Cons of iRedMail
- Customization options are limited.
- Limited official support options.
- Updates may be an issue since iRedMail depends on a bundle of various open-source tools whose updates aren’t synchronized.
- iRedMail is not built for scalability.
4. Modoboa
Designed for Linux, Modoboa provides a web based interface for managing multiple email domains, users, aliases, and other features. Additionally, it’s easy to integrate Modoboa with popular software like Dovecot and Postfix. In conclusion, Modoboa harnesses the power of Python and employs an SQL database to integrate all these components.
Pros of Modoboa
- Rich set of features, including support for multiple domains, user roles, integrated webmail, and advanced filtering capabilities.
- Clean and user-friendly web based interface.
Cons of Modoboa
- Relatively new, so it has a smaller user community than the competition.
- Lacks proper documentation.
5. Roundcube
Another choice of Top 20 Best Open Source Email Servers for Windows / Linux is Roundcube. Designed to offer a seamless and intuitive email experience through a web browser. Read, compose, and organize emails efficiently, making it a versatile solution for both personal and professional use. Supports multiple email protocols, including IMAP and SMTP, allowing you to connect to various email servers. Although Roundcube is primarily developed for Linux, install and configure it to work on Windows as well.
Pros of Roundcube
- Enables you to compose emails with HTML formatting.
- With built-in spell check, Roundcube helps ensure your emails are free from spelling errors.
- Offers a convenient drag-and-drop feature, making it easy to organize your emails into folders and categories.
- Extend the functionality through third-party plugins.
- Simplifies message composition with email templates.
Cons of Roundcube
- Limited search functionality, allowing you to search for only one item at a time.
- Occasionally, Roundcube’s address book may experience occasional crashes.
- You may experience timeout issues with large mail folders.
6. Citadel
Developed with simplicity and efficiency in mind, Citadel offers a user-friendly interface and powerful features to enhance your email experience. This open-source email server runs primarily on Linux and provides a “Web 2.0” interface along with SMTP, IMAP, POP3, and GroupDAV access to its content. Compose, send, receive, and organize emails effortlessly, making communication a breeze.
Pros of Citadel
- Regular backups of documents.
- Comes with antivirus and antispam features to keep your emails and documents secure.
- User-friendly interface that makes it easier for your to manage your email.
- Good documentation.
Cons of Citadel
- Complex configuration.
- Clunky user interface.
7. SquirrelMail
SquirrelMail, one of the most renowned Linux mail servers, supports both the IMAP and SMTP protocols. Developed in PHP and released under GNU, it provides a user-friendly interface and a simple setup process. With its reliability, scalability, and efficient performance in handling large mail volumes, SquirrelMail is an ideal choice if you need a straightforward tool. It prioritizes security through features like SSL encryption and spam filtering, while seamlessly integrating with popular web hosts and platforms such as WordPress.
Pros of SquirrelMail
- Acts as an IMAP protocol proxy server, facilitating seamless email access and retrieval.
- Search and flag emails.
- SquirrelMail includes a built-in spell checker.
- User friendly interface for easy email management.
- Store and manage your email addresses in SquirrelMail’s address book feature.
Cons of SquirrelMail
- Lacks support for HTML composition.
- The user interface often gets buggy.
- No security updates since 2013.
8. Apache James
Apache James, also known as Java Apache Mail Enterprise Server, works seamlessly on both Linux and Windows environments. Its modular architecture and modern components make it a robust platform for efficient email management. Supports multiple protocols such as SMTP, POP3, LMTP, IMAP, and ManageSieve. Easy to integrate with third party systems. Other additional features are: Mailbox API, command-line admin, and extendable email processing agents, providing you with enhanced flexibility and customization options.
Pros of Apache James
- Easy to integrate with various mail clients and systems.
- Allows for flexibility and customization to meet specific email server requirements.
- Designed to run on a wide range of popular operating systems, including Windows, macOS, and Linux.
- Designed to handle high volumes of email traffic efficiently, ensuring smooth operation even in demanding environments.
Cons of Apache James
- You may find the documentation less comprehensive or organized.
9. Mail-in-a-Box
Mail-in-a-Box is designed for individuals and small businesses who want full control over their email hosting. With Mail-in-a-Box, handle everything from sending and receiving emails to robust spam filtering and convenient webmail access. Some of its core features include automatic DNS configuration, spam filtering, grey listing, backups to Amazon S3, static website hosting, and simple SSL certificate installation.
Pros of Mail-in-a-Box
- Straightforward installation process, easy for users with limited technical knowledge.
- Offers the convenience of obtaining free TLS (SSL) certificates from Let’s Encrypt.
Cons of Mail-in-a-Box
- The user interface of Mail-in-a-Box might be considered outdated or lacking modern design elements.
10. hMailServer
hMailServer is a popular open source email server software designed for Windows and Linux. It provides a robust and feature-rich solution for managing email accounts, domains, and messaging services. It supports popular protocols like POP3, IMAP, and SMTP ensuring compatibility with various email clients. Plus, hMail Server provides essential features such as spam protection, virus scanning, and customizable email processing rules.
Setup hMail server on Azure
Setup hMailServer on AWS
Setup hMail Server on GCP
Pros of hMailServer
- Intuitive admin interface that makes it easy to set up, configure, and manage email accounts and domains.
- Comes with a flexible native rules builder to create custom rules for customizing how hMail handles your mail.
- Compatible with a wide range of email clients.
- In-built spam protection and antivirus scanning.
Cons of hMailServer
- Setting up proper security measures requires advanced knowledge and experience in email server administration.
11. Axigen
Axigen is a comprehensive email platform Linux and Windows based. Intuitive web-based interface allows you to manage emails, calendars, contacts, tasks, and more. Even better, you do all this from any device. Whether you’re a small business or a large enterprise, Axigen offers scalability and flexibility to adapt to your growing needs. AEnjoy advanced features like integrated antivirus and antispam protection, SSL/TLS encryption, and seamless collaboration. With Axigen’s robust administration capabilities, you have full control over users, domains, and server settings.
Pros of Axigen
- Simple setup and user-friendly interface make it easy to use.
- Comes with a convenient address book for easy contact management.
- Highly configurable platform suitable for customization.
Cons of Axigen
- Availability and responsiveness of support may vary depending on the chosen support package or subscription level.
- No subscription fees depending on your plan.
12. Exim
Exim is great for a reliable, flexible, and scalable mail transfer agent (MTA). It’s widely recognized for its versatility and is commonly used on UNIX-like systems, including Linux, as the default MTA. With Exim, you have access to a wide range of advanced features and configuration options. This makes it suitable for both small-scale and large-scale email systems. Exim supports various protocols like SMTP and offers robust security measures such as access controls, TLS encryption, and spam filtering. The extensive documentation and active community support make Exim an excellent option for those seeking a customizable and powerful email server.
Pros of Exim
- Exim is a reliable, consistent, and efficient email server.
- Extensive config and customization options.
- Suitable for both small and large-scale email systems with in-built scalability.
- Comes with robust security features.
Cons of Exim
- No graphical interface for admin so you have to rely on command-line tools.
13. Dovecot
Another on our list of Top 20 Best Open Source Email Servers for Windows / Linux is Dovecot. It comes with an impressive array of features that enhance email management. With support for both IMAP and POP3 protocols, users access their emails from various devices and email clients. Dovecot supports multiple mailbox storage formats, including mbox and Maildir. Fast and efficient indexing enables quick searching and retrieval of emails, even with large archives. The integration of SSL/TLS encryption ensures secure email communication, while seamless integration with anti-spam and anti-virus software enhances security and protects against malicious threats.
Pros of Dovecot
- Easy extensibility through plugins.
- Security features, including encryption, authentication, and SSL/TLS protocols.
- Handles a large number of mailboxes and seamlessly scales to meet the growing needs of your organization.
Cons of Dovecot
- Dovecot lacks an extensive built-in web interface for admin and management.
- For webmail, Dovecot requires integration with other software or services, which may add complexity to the setup.
14. Open-Xchange
Open-Xchange is a collaborative software suite combining email, calendar, contacts, and other productivity tools into a unified platform. It enhances teamwork and communication and provides a seamless and integrated environment for managing and sharing information. Works with both Linux and Windows.
Pros of Open-Xchange
- The integrated calendar feature allows you to schedule appointments, set reminders, and share your availability with colleagues.
- Supports synchronization with mobile devices to access emails on the go.
- Intuitive and user-friendly interface.
- Integration with other tools to enhance functionality is seamless.
Cons of Open-Xchange
- Limited customization options for email settings and configurations.
- Relies on other software components, such as a mail transfer agent (MTA) like Dovecot, to handle the actual email delivery and retrieval.
- Lacks advanced functionalities such as setting complex email rules or specific email filtering options.
15. MailCow
Mailcow (also known as “mailcow: dockerized”) is an open-source, self hosted mail server. It utilizes Docker containers to provide a modular and scalable architecture that allows you to deploy and maintain an email server environment. Mailcow uses tools such as Postfix, Dovecot, SpamAssassin, and Roundcube, among others, to handle various aspects of email processing, storage, spam filtering, and webmail interface.
Pros of MailCow
- Simplified setup and management due to the Dockerized architecture.
- Docker’s scalability allows Mailcow to scale seamlessly.
- Includes essential mail server components like Postfix, Dovecot, SpamAssassin, and Roundcube.
- User friendly web interface.
Cons of MailCow
- Docker introduces an additional layer of abstraction, which may impact the performance of the Mailcow containers.
- Relies on various components and dependencies, such as database systems and web servers, which need to be properly configured and compatible with the Mailcow containers.
16. Mailu
Mailu is an open-source, self-hosted email server solution that offers a simplified and flexible approach to managing your email infrastructure. Focuses on security and runs on Linux-based systems, Mailu comes with features like SMTP, IMAP, POP3, webmail access, spam filtering, and more.
Pros of Mailu
- Straightforward setup process and intuitive web interface.
- Customize various aspects of their email server, including spam filtering, antivirus settings, authentication mechanisms, and more.
- Prioritizes security and privacy, incorporating features like SSL/TLS encryption, DKIM signing, SPF validation, and advanced spam filtering.
Cons of Mailu
- Mailu’s web interface focuses on functionality rather than visual aesthetics.
- Limited out-of-the-box integrations with third-party services and applications.
- Setting up and configuring Mailu is challenging for users with limited experience.
17. Haraka
Haraka is an open source and highly scalable email server software running on Unix systems (Linux and macOS). Harnessing the power of JavaScript, Haraka delivers exceptional performance, making it an ideal choice for handling large volumes of email. With its modular design and extensive plugin support, you customize and enhance Haraka to meet your specific email server needs. Enjoy features like spam filtering, TLS encryption, and support for various protocols.
Pros of Haraka
- Exceptional speed and scalability. Suitable for high-volume email environments.
- Easy customization and extension with plugins.
- Lightweight architecture ensures efficient email processing, optimizing resource usage and delivering fast performance.
- Supports various email protocols such as SMTP, ESMTP, and LMTP, ensuring compatibility with different email clients and systems.
Cons of Haraka
- You might need JavaScript programming experience to set up Haraka.
- The extensibility of Haraka heavily relies on plugins.
- Focuses on command-line interaction so you won’t have access to a GUI.
18. Poste.io
Poste.io combines all the essential email server components, from SMTP to webmail, into a cohesive, easy-to-use package. Easily configure and manage multiple domains and users. Also, get access to advanced features like spam filtering, antivirus protection, and secure communication through TLS encryption.
Pros of Poste.io
- Spam filtering and antivirus scanning capabilities.
- Provides secure communication through TLS encryption.
Cons of Poste.io
- May not scale as efficiently for large-scale email environments or organizations with significant email traffic.
- No command-line or advanced configuration options.
19. SOGo
SOGo, short for Scalable OpenGroupware.org, combines email, calendar, contacts, and task management into a comprehensive email suite for Linux. With support for industry-standard protocols like CalDAV, CardDAV, and IMAP, SOGo seamlessly integrates with your favourite email clients and devices. Access your emails, schedules, and contacts from anywhere through its intuitive web-based interface.
Pros of SOGo
- SOGo is scalable, allowing it to accommodate the growing needs of organizations.
- Seamless integration with Mozilla Thunderbird and Lightning using the SOGo Connector and SOGo Integrator.
- Offers ActiveSync compatibility, allowing synchronization of email, contacts, calendars, and tasks with mobile devices.
- Modular and extensible architecture to add custom features and integrate with external systems through APIs.
Cons of SOGo
- SOGo can be resource-intensive.
- Limited out-of-the-box integrations with third-party applications.
20. Mailpiler
Mailpiler is a Linux-based email archiving and retrieval software that facilitates secure storage, indexing, and easy access to email messages. Easily locate and retrieve specific email messages, saving you valuable time and effort. Even better, you have access to advanced features like comprehensive search capabilities, tamper-proof storage, and deduplication. As a result, enforce retention policies, comply with legal requirements, and efficiently handle e-discovery requests.
Pros of Mailpiler
- Offers fast and responsive email archiving and retrieval.
- Handles large volumes of email data, providing scalability as your email archives grow.
- Advanced search features enable precise and quick retrieval of specific emails based on various criteria.
- Helps you ensure compliance with data retention laws and data privacy and protection regulations.
Cons of Mailpiler
- Configuring Mailpiler may require technical expertise.
- Customization options are limited, restricting the ability to tailor it to unique organizational needs.
Thank you for reading Top 20 Best Open Source Email Servers for Windows / Linux. We shall conclude the article.
Top 20 Best Open Source Email Servers for Windows / Linux Conclusion
Choosing the right email server for your organization is crucial for efficient communication and productivity. In our comprehensive post, we have highlighted the pros and cons of each email server, giving you valuable insights to make an informed decision. Whether you prioritize reliability, scalability, security, user-friendliness, or specific functionalities, there is an open-source email server that aligns with your requirements.
hMailServer
hMailServer is an open source email server for Microsoft Windows.
This page describes how to compile and run hMailServer in debug.
For other information about hMailServer, please go to http://www.hmailserver.com
No active development
hMailServer is no longer being actively developed or maintained. The latest major version was released several years ago. hMailServer relies on algorithms which are considered insecure by modern standards, such as SHA1 and outdated versions of OpenSSL. For that reason, it’s recommended that you migrate to an alternative software or service.
Building hMailServer
Branches
-
The master branch contains the latest development version of hMailServer. This version is typically not yet released for production usage. If you want to add new features to hMailServer, use this branch.
-
The x.y.z (for example 5.6.2) contains the code for the version with the same name as the branch. For example, branch 5.6.1 contains hMailServer version 5.6.1. These branches are typically only used for bugfixes or minor features.
Environment set up
Required software
- An installed version of hMailServer 5.7 (configured with a database)
- Visual Studio 2019 Community edition
- InnoSetup 5.5.4a (non-unicode version)
- Perl ActiveState ActivePerl Community Edition 32 bit works fine
NOTE
You should not be compiling hMailServer on a computer which already runs a production version of hMailServer. When compiling hMailServer, the compilation will stop any already running version of hMailServer, and will register the compiled version as the hMailServer version on the machine (configuring the Windows service). This means that if you are running a production version of hMailServer on the machine, this version will stop running if you compile hMailServer. If this happens, the easiest path is to reinstall the production version.
Installing Visual Studio 2019 Community edition
- Download Visual Studio 2019 and launch the installation.
- Select the following Workloads
- .NET desktop development
- Desktop development with C++
- Select the following Individual components
- C++ ATL for latest v142 build tools (x86 & x64)
- Windows 10 SDK (10.0.18362.0)
3rd party libraries
Some 3rd party libraries which hMailServer relies on are large and updated frequently. Rather than including these large libraries into the hMailServer git repository, they have to be downloaded and built, currently manually. When you build hMailServer, Visual Studio will use a system environment variable, named hMailServerLibs, to locate these libraries.
Create an environment variable named hMailServerLibs pointing at a folder where you will store hMailServer libraries, such as C:\Dev\hMailLibs.
Building OpenSSL
-
Download OpenSSL 1.1.1* from http://www.openssl.org/source/ and put it into %hMailServerLibs%<OpenSSL-Version>.
You should now have a folder named %hMailServerLibs%<OpenSSL-version>, for example C:\Dev\hMailLibs\openssl-1.1.1s -
Start a x64 Native Tools Command Prompt for VS2019.
-
Change dir to %hMailServerLibs%<OpenSSL-version>.
-
Run the following commands:
Perl Configure no-asm VC-WIN64A --prefix=%cd%\out64 --openssldir=%cd%\out64 -D_WIN32_WINNT=0x600 nmake clean nmake install_sw
Building Boost
-
Download Boost 1.72.0 from http://www.boost.org/ and put it into %hMailServerLibs%<Boost-Version>.
You should now have a folder named %hMailServerLibs%<Boost-Version>, for example C:\Dev\hMailLibs\boost_1_72_0 -
Start a x64 Native Tools Command Prompt for VS2019.
-
Change dir to %hMailServerLibs%<Boost-Version>.
-
Run the following commands:
NOTE: Change the -j parameter from 4 to the number of cores on your computer. The parameter specifies the number of parallel compilations will be done.
bootstrap b2 debug release threading=multi --build-type=complete --toolset=msvc address-model=64 stage --build-dir=out64 -j 4
Building hMailServer
Visual Studio 2019 must be started with Run as Administrator.
- Download the source code from this Git repository.
- Compile the solution hmailserver\source\Server\hMailServer\hMailServer.sln.
This will build the hMailServer server-part (hMailServer.exe) - Compile the solution hmailserver\source\Tools\hMailServer Tools.sln.
This will build hMailServer related tools, such as hMailServer Administrator and hMailServer DB Setup. - Compile hmailserver\installation\hMailServer.iss (using InnoSetup)
This will build the hMailServer installation program.
Running in Debug
If you want to run hMailServer in debug mode in Visual Studio, add the command argument /debug. You find this setting in the Project properties, under Configuration Properties -> Debugging.
Running tests
hMailServer source code contains a number of automated tests which excercises the basic functionality. When adding new features or fixing bugs, corresponding tests should be added. hMailServer tests are implemented using NUnit. To run them in Visual Studio, follow these steps:
NOTE: When running tests, your local hMailServer installation will be updated with test accounts. Existing domains and accounts are deleted. Each tests prepares the server configuration in different ways. In other words, do not run the automated tests in an environment where you need to preserve hMailServer data.
- Make sure hMailServer.exe is built and can be run. The tests will launch the service.
- Open the test solution,
\hmailserver\test\hMailServer Tests.sln
- In Visual Studio, select Test Explorer from the View-menu.
- Locate a test to run under «RegressionTests»
- Right-click on a test or test category and select «Run».
You can also navigate to the source code for a test, right-click anywhere and select «Run Test(s)» to run it.
Releasing hMailServer
Without finding any serious issues:
- Run all integration tests on supported versions of Windows and the different supported databases.
- Run all server stress tests
- Enable Gflags (gflags /p /enable hmailserver.exe) and run all integration tests to check for memory issues
- Run for at least 1 week in production for hMailServer.com
- Wait for at least 500 downloads of the beta version
Table of Content
Mail Servers is a software which handles incoming and outgoing mail messages. It often uses SMTP protocol to send and handle outgoing messages and IMAP and POP3 protocols to receive messages.
Although, we have a dozen of open-source mail servers for Linux servers, we don’t have enough mail server packages for Windows. So, here we bring you the best one for Windows systems.
hMailServer is an open-source free mail server for Windows systems.
It natively supports SMTP, IMAP and POP3 protocols, and can easily seamlessly be integrated with other systems.
hMailServer comes with a built-in anti-spam protection features which include:
- SPF
- SURBL
It also can be integrated with third-party anti-spam solutions like SpamAssassin and ASSP. It also offers a ClamAV integration which is an open-source Antivirus system.
It plays well with the open-source Web admin panel: PHPWebAdmin and other open-source server dashboards.
Unlike many other mail servers servers, You can install it on a dynamic IP address or a static IP.
Features
- Self-hosted
- Multi-accounts
- Installation wizard
- Simple configuration
- Webmail
- Port management
- Integrates with other software
- Supports POP3, SMTP and IMAP
- Virtual domain support
- SSL encryption
- Routing
- Anti-virus
- Anti-spam
- Multi-languages support
- SQL backend
- Web admin
- MX Backup
- Scripting
- Multihoming
- Built-in backup
- Domain management
- Logging
- IP Range
- Auto-ban
- Grey listing
- Rules manager
- Whitelisting
- COM API support
- Full documented
- pre-configured security
- Works smoothly with webmail and desktop mail clients
License
hMailServer is licensed under AGPLv3, which means you can use it for free, personal or commercial projects.
Resources
- https://www.hmailserver.com/
- https://github.com/hmailserver/hmailserver/
- https://medevel.com/list-os-mail-server/
Informative, Mailing Solution
Comparison of Best Open Source Email Server Platform | Windows & Linux
Approved By Sameer Yadav
Published On
September 19th, 2022
Reading Time 8 Minutes Reading
If you want an answer to the free open source email server, then your search will stop here. This blog gives you details about the best 11 open source email server software for Windows & Linux.
Ask For Open Source Server
With a click of the ‘Send’ button, you can send an email from one point to another in a second. But have you ever think about how it has to be done?
The answer is straightforward; it is done with the help of a Mail Server, also known as an Email server.
So, how mail server works?
Long story in short, when users click on the Send button via mail client. The mail server works like a post office that categorized all the addresses and sent the right mail to the designated place.
And if we analyzed the mail servers’ discipline, there are many open source email servers with outstanding potentials in the past few years.
Today in this blog, we will discuss some of the best Open Source Email Server software that you can go for it. As well as, the questions that are trending on the internet related to open source email software;
- List of Open-source email servers with webmail.
- List of best Open-source email servers for windows.
- List of free Open-source email servers for Linux.
- List of Open-source email software support ActiveSync.
The people who don’t about What is Open Source?
So the term open source means something people can modify and share because it is designed and develop for publicly accessible.
Let’s dive into the comparison of the top open-source webmail server.
#11 Open Source Secure Email Server Platform
Here we have listed the popular email server which peaks the open-source market.
- ZIMBRA
- OPEN – XCHANGE
- HORDE
- MODOBOA
- SQUIRRELMAIL
- KOLAB
- ZENTYAL
- ZARAFA
- APACHE JAMES
- SENDMAIL
- hMAIL
#Server 1: Open Source Zimbra Mail Server
While searching for the best free open source email server, you will come across with name – Zimbra Collaboration Suite. It is one of the most popular mail servers because;
Ask for Zimbra Server Ask From Experts About Zimbra
1. Being an open-source server, all the documentation and innovation has been created and tested by their open source community.
2. Enterprise-compatible email server and client solution.
3. Facilitates features like Task Management System, Document Management System, Calendar Management System, Search Option that provides an ease to search all core applications.
4. It is cross-platform and supports all the major Operating Systems.
5. Also known as the most secure open-source email server as it has integrated antivirus malware protection.
6. Zimbra is available in two modes – one offers an open-source, and the second is a commercially supported version. You can check the comparison between these in this write-up – Difference Between Zimbra Open Source & Network Edition.
7. Zimbra is considered as the Best Zoho Alternative , Open-Xchange Alternative , Xeams Alternative , G Suite Alternative , Horde Groupware Alternative , Lotus Notes Database Alternative, Apache James Alternative, iMail Server Alternative, mDaemon Alternative, iRedMail Alternatives, hMail Server Alternative, Amazon WorkMail Alternative, Qmail Alternative, kerio Connect Alternative, Axigen Mail Server Alternative, Zarafa Alternative, Icewarp Alternative , Agorum Core Competitor & Exchange Server Alternative email solution.
If you are looking for Zimbra open-source hosting, then NetForChoice is the best place for you. We are the leading Tier-4 Data center Company in India. Our impeccable, flexible Zimbra Linux Mail Server is efficient and provides a secure & smooth email communication Flow.
#Server 2: Open – Xchange
Open – Xchange is a feature-rich email server that is available in two different variants. First, the subscription-based paid version, and the second one is the free community version.
This mail server has features like Open – Xchange app suite, Data Center, OX data, inbuilt privacy, and security options. In addition, it has a customizable dashboard that gives users an interactive UI. OX open-source email server is available for both Android and iOS.
# Server 3: Horde Webmail Server
It is a free open source enterprise-level, browser-based communication suite. With the help of this open-source email server, users can easily send, read, and organize emails message also manage and share calendars, contacts, and notes beyond their network.
Being an open-source free email server, it provides various features such as IMAP and POP3 webmail client, Messages Filter, Spell check, built-in Attachment viewer, Graphical emoticons, and the option to download attachments in a ZIP file, and many others.
#Server 4: Modoboa
In the lineup of the open-source email servers, Modoboa is a well-known name. However, it is coming for a Linux platform with additional features such as built-in monitoring, administrator panel, built-in calendar, along with standard protocols like DKIM or DMARC.
Modoboa is designed and developed in Python with the help of Django, jQuery, and Bootstrap framework. It also offers SSL and TLS certificates for safe and secure email service.
#Server 5: SquirrelMail Server
It is also an open-source web-based email client and proxy server for the IMAP protocol.
The best part about Squirrel Mail is that it has very few requirements and is easy to configure. Therefore, it is best for small-sized organizations that are interested in an email server.
It comes with all the features that any users want in any email client, including strong MIME support, contacts, and folder manipulation.
#Server 6: Kolab
It is a free & open-source Groupware suite. It comprises the Server and Client components.
The Kolab Client includes KDE PIM-Suite Kontact, Roundcube web frontend, Mozilla Thunderbird, and Mozilla Lightning with SyncKolab extension and Microsoft Outlook with proprietary Kolab-Connector Plugins.
It uses IMAP protocol for email messages, contact, and calendar entries.
#Server 7: Zentyal
An open-source email and groupware solution created on the foundation of Ubuntu Linux.
Supported Email & Groupware protocols – ActiveSync, SMTP, POP, IMAP, CalDAV, CardDAV, and Active Directory.
– It is available in two variants;
- Zentyal Server for SMBs
- Zentyal Cloud for Hosting Providers.
Offer compatibility with Microsoft Exchange Server, support for MS Outlook 2007, 2010, inbuilt Antivirus and Antispam, and much more.
#Server 8: Zarafa
An open-source groupware application. It provided email storage on the server’s side and facilitated the Ajax-based mail client WebAccess and an HTML5-based WebApp.
The SOAP technology is used to communicate between the email server and the client.
Kopano has replaced Zarafa.
#Server 9: Apache James
Apache James is also known as Java Apache Mail Enterprise Server.
It is an open-source SMTP & POP3 mail transfer agent and purely NNTP news server written in JAVA.
#Server 10: Sendmail
A well-known free and open-source software, engineered for the internetwork email routing.
Support SMTP protocol. It is available in the form of free software and proprietary software.
The stable release of Sendmail is 8.16.1 and supports Cross-platform.
#Server 11: hMail
A free email server for Windows platform developed by Martin Knafve.
Support IMAP, POP3, and SMTP email protocols. The email messages are stored in the MIME format on a raw disk.
Facilitate features like multiple-domain support, aliases, basic mailing lists, built-in SpamAssassin Integration, SquirrelMail & Roundcube for webmail.
Open Source Email Server with Webmail
It is the best thing when the mail server also has its client. Numerous open-source email servers facilitates webmail. The most common are listed in the table.
Open Source Mail Server | Webmail Support |
---|---|
Zarafa | Yes |
Zimbra | Yes |
Zentyal | Yes |
Open-Xchange | Yes |
Agorum Core | Yes |
Citadel | Yes |
Courier Mail Server | Yes |
hMail Server | Yes |
Kolab | Yes |
Table 1.1 – List of Open-Source Mail Server With Webmail
Open Source ActiveSync Mail Server
Before getting the list, first, have a brief about ActiveSync and Z-Push protocol.
What is Active Sync?
– A mobile data synchronization app engineered by Microsoft.
– Enables a mobile device (PDA , Windows mobile, Windows CE, BlackBerry, iPhone, Palm OS, Symbian platforms) to be synchronized with either a computer system or a server running a compatible product.
What is Z-Push?
– Z-push is an open-source application.
– Develop to synchronize ActiveSync compatible devices such as mobile phones tablets, and Microsoft Outlook 2013.
Open Source Mail Software | ActiveSync / z-Push Support |
---|---|
Axigen [Free Mail Server Available] | ActiveSync |
Kolab | ActiveSync |
Open-Xchange | ActiveSync |
Zentyal | ActiveSync |
Zimbra | ActiveSync |
Zarafa | z-push |
Kopano | z-push |
Table 1.2 – Open Source Email Servers Support ActiveSync / z-Push List
Final Say on Open Source Email Server
If you seek the most secure open-source email server for your organization, this blog will help you in various ways. Here we have discussed the best 11 open source email servers for Windows & Linux platforms and their features. In addition, the list of open-source email clients and open source email server support ActiveSync are also mentioned for a clear view. So read this blog thoroughly before choosing any open-source mail server. Moreover, if you are still confused about the email server and client, send your questions to us. Our expert will reply as earliest as possible – Query Form.