Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:]

Where my is the domain for which I'm editing the DNS zone file. This configuration is based on MX Records help - Godaddy DNS and Ubuntu Postfix email account with forward

However, when I send an email to, 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 domain name.

Any help debugging this DNS record issue would be appreciated.

share|improve this question

I found out that the issue was not with the DNS records but with EC2 firewalls. Depending on the EC2 security group that you've placed your instance in, inbound / outbound traffic may be blocked on several of your ports (including 25, in my case).

I opened port 25 to inbound traffic under the AWS EC2 dashboard and was able to successfully send / receive mail.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.