Code in this video: hMailServer – Part 1 – Create the Necessary Records (A, MX, PTR, SPF, DMARC) for hMailServer

Code in this video: hMailServer – Part 1 – Create the Necessary Records (A, MX, PTR, SPF, DMARC) for hMailServer.

📌 We assume the following:
Hostname: mail
FQDN: mail.Your-Domain

📌 On Domain
✳️ Record A
     Type: A
     Host: @
     Value: IP-Server
✳️ Record A for Hostname
     Type: A
     Host: mail
     Value: IP-Server
✳️ Record SPF
     Type: TXT
     Host: @
     Value: v=spf1 a mx ip4:IP-Server ?all
✳️ Record DMARC
     Type: TXT
     Host: _dmarc
     Value: v=DMARC1; p=reject; rua=mailto:postmaster@Your-Domain
✳️ Record MX
     Type: MX
     Host: @
     Value: mail.Your-Domain

📌 On VPS or ISP
✳️ Record PTR
     Value: mail.Your-Domain