Install and Setup hMailServer E Mail Server
#hMailServer #EmailServer #SMTP
Full steps can be found at https://i12bretro.github.io/tutorials/0014.html
This video tutorial will cover the basic installation and setup for hMailServer in it's simplest form. In future videos we will create and apply SSL certificates, enable Active Directory authentication for email accounts and setup the mail server for use with PHP.
--------------------------------------------------------------------
Install and Basic Inbox Setup
--------------------------------------------------------------------
01. If installing to a newer Windows OS, run the following commands as an administrator to enable .NET 2
dism /online /enable-feature /featurename:NetFx3ServerFeatures /Source:D:\sources\sxs
dism /online /enable-feature /featurename:NetFx3 /Source:D:\sources\sxs
02. Download hMailServer https://www.hmailserver.com/download
03. Setup DNS entries for smtp. and imap.
a. For Windows DNS, go to Start ≫ Windows Administrative Tools ≫ DNS
b. Expand the DNS server and domain name
c. Right Click ≫ New Host (A or AAAA)
d. Type the dns name and target IP address ≫ Click OK
08. Run the hMailServer installer, accepting the default values
09. Set the administrative password, re-type to confirm
10. Click Install
11. After the installation completes, Open the Start Menu ≫ hMailServer ≫ hMailServer Administrator
12. Select localhost ≫ Click Connect
13. Login with the password set during the installation
14. Click Add domain...
15. Enter the domain name to be used for the e-mail addresses ≫ Click Save
16. Click on the Accounts folder
17. Click the Add... button
18. Enter an e-mail address and a password for the inbox
19. Click the Save button
20. Expand Settings ≫ Advanced ≫ IP Ranges
a. NOTE: To disable the ability to send e-mail outside the local network, delete the Internet IP Range by Right Clicking on it and selecting Remove
22. Click the Add... button
23. Enter the name LAN and fill in the appropriate lower and upper IP for your subnet
24. Review the available options, to make this a LAN only e-mail server only allow local to local e-mail addresses
25. Click Save
--------------------------------------------------------------------
Setting Up An E-Mail Client
--------------------------------------------------------------------
01. Download Mozilla Thunderbird Portable https://portableapps.com/apps/internet/thunderbird_portable
02. Run the downloaded paf.exe file and extract it to any location
03. Check the Run box and click Finish
04. Fill out Your name, Email address and Password for the account created earlier
05. Click Manual config
06. For Incoming, enter imap.
07. For Outgoing, enter smtp.
08. Click the Re-test button, Thunderbird should set some additional values
09. Click Done
10. Select I understand the risks ≫ Done
--------------------------------------------------------------------
Testing Your New E-Mail Server
--------------------------------------------------------------------
01. In hMailServer Administrator, Expand Utilities ≫ Server sendout
02. Select Specific domain and select the domain created earlier from the dropdown
03. Fill out the form to send a test e-mail ≫ Click Send
04. Back in Thunderbird, click the Get Messages button
05. You should receive the test e-mail
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro