I have some websites on AWS (Windows Server 2012 R2), and I'm trying setup a mail server. I have installed hMailServer, and in the guide say I need configure the DNS records for mail. I never needed setup email server from zero like now, then I'm a bit confused about the DNS records needed for this.
I read in some guide I will need A, MX and PTR records for this. Currently, my registar has only this records:
mydomain.com A 126.96.36.199 www.mydomain.com A 188.8.131.52
Now, I think I will need create that records:
mail.mydomain.com A 184.108.40.206 mail.mydomain.com MX 10 mail.mydomain.com
- Am I doing correctly?
- What about the PTR record? I needed?
- I will/can use this "mail.mydomain.com" like above in SMTP, POP and IMAP? Or I will need create different DNS records for this?
- How can I do/know if I did correctly? I was using mxtoolbox, but even there I dont understand if I need inform "mydomain.com" or "mail.mydomain.com" on the tests.