hMailServer – Part 1 – Create the necessary Records for the hMailServer

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.


  • A domain name with administrative rights
  • A public static IP address
  • A VPS or physical server running Windows
    • Windows 11 | 10 | 8 | 7
    • Windows Server 2022 | 2019 | 2016 | 2012

In this series, hMailServer on Windows

  • Part 1 – Create the Necessary Records (A, MX, PTR, SPF, DMARC) for hMailServer
  • Part 2 – Install and Configure hMailServer on Windows
  • Part 3 – Create Accounts and Setup Email on Email Client : ✍️ updating
  • Part 4 – Install and Configure DKIM for hMailServer: ✍️ updating
  • Part 5 – Install and Configure SSL on hMailServer: ✍️ updating
  • Part 6 – Install and Configure WebAdmin for hMailServer:✍️ updating
  • Part 7 – Install and Integrate SpamAssassin on hMailServer: ✍️ updating
  • Part 8 – Install and Integrate ClamAV on hMailServer: ✍️ updating
  • Part 9 – Install and Configure WebMail with Roundcube for hMailServer: ✍️ updating
  • Part 10 – Configure Multi Domain on hMailServer: ✍️ updating

Throughout the series of articles about hMailServer, we assume the following:

  • My domain:
  • Public static IP Address:
  • A VPS on Vultr: Windows 10

What are the records for hMailServer

The necessary records for the hMailServer are as follows:

✳️ A Record (Address Record): The A record specifies the IP Address of the Mail Server

✳️ PTR Record (Pointer Record): The PTR record is typically used ti establish a reverse relationship, from an IP Address to a Domain name.

Note: – If you are using a Public static IP Address provided by your ISP, you need to contact them to create a PTR record. If you are using a VPS, you can create it directly from the VPS administration page.

✳️ MX Record (Mail Exchanger Record): The MX Record specifies the Mail Server responsible for receiving and handling Email for a specific domain

✳️ SPF Record (Sender Policy Framework): The SPF Record defines a list of authorized servers that are allowed to send email on behalf of the specific domain.

✳️ DMARC Record (Domain-based Message Authentication, Reporting, and Conformance): DMARC helps manage and control email authentication and provides reporting on email activities.

✳️ DKIM Record (DomainKeys Identified Mail): DKIM is a method to verify the authenticity of an email through adding a digital signature to the email header. ( Detail in the Part 4 )


Step by step Create the necessary Records for the hMailServer

Leave a Reply

Your email address will not be published. Required fields are marked *