The guide how to work with the hMail – Email Server for Windows (IMAP,SMTP, POP3)
Static Ip address – Your virtual machine should have the static IP address, if you want constantly change the domain settings (because if the address is dynamic, after the rebooting of the machine it’ll change to the static one).
The instruction how to change the Azure VM address to the static one https://www.c-sharpcorner.com/article/assign-static-public-ip-address-to-azure-vm/
After creating the machine, it’s possible to get the access to the web-panel either directly through the IP address or by adding to the domain MX records.
The instruction how to do that:
Google Domain – https://support.google.com/a/answer/6248174?hl=en
(For your site, where you’ve bought the domain – please, google “youdomainSeller add mx records” or contact seller customer support)
1. After purchasing and start of the VM you should know its IP address. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
2. You will find the shortcut of the app on the desktop. Click twice to run it.
3. Next you need to click Connect
4. Now you need to enter the password “h3pwdcdkh32”, it is also located in the hmail password file on the desktop.
5. Create a domain
6. After saving we need to create a mail account.
7. After entering account data, we also save
8. Now you can connect to your account.
9. TCP ports (25, 465, 587, 110, 995, 143, 993) need to be open for work.
10. You will find more detailed instructions how to work with hMail server on the developer’s website.