1. Lets start with the installation of hMailServer. which is typical next & next installation :)
2.
3. Now you need to give password for the server and click next to start mail server console.
4. Click on connect to config server .
5. Now we will create mail server domain. lets create test.com as mail server domain.
6.
7. Lets create 2 users as shown in figure.
8. Now go to your network adapter setting and check yours IPV4 address and copy the same.
9. Go to settings --> Anti-virus--> SpamAssassin to gives the same address which you copied in last step.
10. Now go to advanced option and provide there your domain name in default domain and password.
11. Configure yours mail client ens as shown below. I am using Mozilla ThunderBird





















