I'm in the process of setting up a postfix server on an EC2 instance to send / receive email.
I'm running into a series of problems, which I believe are mostly caused by incorrect DNS records.
I currently have my MX records setup with GoDaddy as follows
[A record, Host: mail, Points to: Elastic IP address]
[A record, Host: @, Points to: Elastic IP address]
[MX record, Priority: 10, Host: @, Points to: mail.mydomain.com]
However, when I send an email to firstname.lastname@example.org, I receive the following delivery error:
Technical details of temporary failure:
DNS Error: Domain name not found
I've setup a Unix user "test", but my guess is that the outbound mail isn't even resolving the mydomain.com domain name.
Any help debugging this DNS record issue would be appreciated.