0014.html 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install and Setup hMailServer E-Mail Server</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="E-Mail,Server,hMailServer,Tutorial,Free,Local E-Mail,How To,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install and Setup hMailServer E-Mail Server">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript" src="includes/js/steps.js"></script>
  13. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <div id="gridContainer">
  17. <div class="topMargin"></div>
  18. <div id="listName" class="topMargin">
  19. <h1>Install and Setup hMailServer E-Mail Server</h1>
  20. </div>
  21. <div></div>
  22. <div id="content">
  23. <p>This video tutorial will cover the basic installation and setup for hMailServer in it&#39;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.</p>
  24. <h2>Install and Basic Inbox Setup</h2>
  25. <ol>
  26. <li>If installing to a newer Windows OS, run the following commands as an administrator to enable .NET 2
  27. <div class="codeBlock">dism /online /enable-feature /featurename:NetFx3ServerFeatures /Source:D:\sources\sxs<br />
  28. dism /online /enable-feature /featurename:NetFx3 /Source:D:\sources\sxs</div>
  29. </li>
  30. <li>Download hMailServer <a href="https://www.hmailserver.com/download" target="_blank">Download</a></li>
  31. <li>Setup DNS entries for smtp. and imap.
  32. <ol start="1" style="list-style-type: lower-alpha;">
  33. <li>For Windows DNS, go to Start &gt; Windows Administrative Tools &gt; DNS</li>
  34. <li>Expand the DNS server and domain name</li>
  35. <li>Right Click &gt; New Host (A or AAAA)</li>
  36. <li>Type the dns name and target IP address &gt; Click OK</li>
  37. </ol>
  38. </li>
  39. <li>Run the hMailServer installer, accepting the default values</li>
  40. <li>Set the administrative password, re-type to confirm</li>
  41. <li>Click Install</li>
  42. <li>After the installation completes, Open the Start Menu &gt; hMailServer &gt; hMailServer Administrator</li>
  43. <li>Select localhost &gt; Click Connect</li>
  44. <li>Login with the password set during the installation</li>
  45. <li>Click Add domain...</li>
  46. <li>Enter the domain name to be used for the e-mail addresses &gt; Click Save</li>
  47. <li>Click on the Accounts folder</li>
  48. <li>Click the Add... button</li>
  49. <li>Enter an e-mail address and a password for the inbox</li>
  50. <li>Click the Save button</li>
  51. <li>Expand Settings &gt; Advanced &gt; IP Ranges
  52. <ol>
  53. <li>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</li>
  54. </ol>
  55. </li>
  56. <li>Click the Add... button</li>
  57. <li>Enter the name LAN and fill in the appropriate lower and upper IP for your subnet</li>
  58. <li>Review the available options, to make this a LAN only e-mail server only allow local to local e-mail addresses</li>
  59. <li>Click Save</li>
  60. </ol>
  61. <h2>Setting Up An E-Mail Client</h2>
  62. <ol>
  63. <li>Download Mozilla Thunderbird Portable <a href="https://portableapps.com/apps/internet/thunderbird_portable" target="_blank">Download</a></li>
  64. <li>Run the downloaded paf.exe file and extract it to any location</li>
  65. <li>Check the Run box and click Finish</li>
  66. <li>Fill out Your name, Email address and Password for the account created earlier</li>
  67. <li>Click Manual config</li>
  68. <li>For Incoming, enter imap.<youremaildomain></youremaildomain></li>
  69. <li>For Outgoing, enter smtp.<youremaildomain></youremaildomain></li>
  70. <li>Click the Re-test button, Thunderbird should set some additional values</li>
  71. <li>Click Done</li>
  72. <li>Select I understand the risks &gt; Done</li>
  73. </ol>
  74. <h2>Testing Your New E-Mail Server</h2>
  75. <ol>
  76. <li>In hMailServer Administrator, Expand Utilities &gt; Server sendout</li>
  77. <li>Select Specific domain and select the domain created earlier from the dropdown</li>
  78. <li>Fill out the form to send a test e-mail &gt; Click Send</li>
  79. <li>Back in Thunderbird, click the Get Messages button</li>
  80. <li>You should receive the test e-mail</li>
  81. </ol>
  82. </div>
  83. </div>
  84. </body>
  85. </html>