hMail Server For Email Testing [Development Purpose]



hMailServer is a free, open source, e-mail server for Microsoft Windows. It's used by Internet service providers, companies, governments, schools and enthusiasts in all parts of the world.

It supports the common e-mail protocols (IMAP, SMTP and POP3) and can easily be integrated with many existing web mail systems. It has flexible score-based spam protection and can attach to your virus scanner to scan all incoming and outgoing email.

hMail Server Installation:

  1. Download hMail from https://www.hmailserver.com/download. Choose latest version.
  2. Run the installer.
  3. Click next until select components. Check both options and click next.

  4. Choose "Use built-in database engine (Microsoft SQL Compact) and click next.

  5. Click next until "hMailServer Security". Enter any password you want as long as it is easy to remember and click next. E.g: Passw0rd1

  6. Click Install.

  7. Finish.

hMail Server Configuration:

  1. Open hMailServer Administrator.

  2. Choose the default mail server and most importantly set it to "Automatically connect on-startup".

  3. Enter the password based on the step number 5 at hMailServer Installation.

  4. Go to Settings > Advanced > Auto-ban. Disable the box and save.

  5. Go to Domains and click add.

  6. Enter any name and save.

hMail Create User:

  1. Go to Domains > Your Domains (Eg:testingmail.net) > Accounts.

  2. Add 3 Users (Admin, Requester, Approver). After that, click Save. Make sure after save, go to step 1 again to avoid new account name rewrite existing account.

hMail Host Configuration Setting:

  1. hMail host configuration setting example.


  2. Open notepad as Administrator.

  3. Click File > Open.
  4. Go to C:\Windows\System32\drivers\etc . Change to All Files.

  5. Open hosts.

  6. Copy all configurations setting from number 1 and paste it inside the hosts file.

  7. Change IP in the red box area to your Hmail server IP address and save it.

  8. Please make sure that you copy and paste all hosts inside the server that need to use hMail as email communication. Example inside VM server, hMail server and VM host server.

hMail Test Email:

  1. Make sure your hMail server open.



  2. Install Thunderbird from https://www.thunderbird.net/en-US/ .

  3. Use any 2 email accounts that we have created previously on hMail Server to Thunderbird application.

  4. Chose any available configurations you preferred. For my side, I used POP3.

  5. Check “I Understand the risk“.

  6. Confirm Security Exception.

  7. After that, click Finish.

  8. If you want to put another email, click the red box area.

  9. Now, from first email user, try to send message to second email user.

  10. Click Get messages to get new email.

  11. If it receive, means you have successfully setup your hMail server.

  12. Done.

Comments

Archive

Contact Form

Send