INBOUND throttling by default on port 25?

0

I have been trying to set up an email server to RECEIVE mail on an EC2 instance for weeks without any success. I am well aware that there is throttling on port 25 for OUTBOUND connections and I understand the reasons for it. But why is it closed INBOUND and how to resolve it?

eliazar
asked 18 days ago149 views
3 Answers
0

Were you able to Telnet to port 25 with a HELO test to verify if the mail service is listening? Also have you had your MX record set up so that the internet knows where to route the email to? You can use the EC2's IP to do a simple test here https://mxtoolbox.com/diagnostic.aspx.

profile pictureAWS
EXPERT
answered 18 days ago
  • That's the thing, I can telnet on port 587 and receive a response from the mail server but 25 is silent. There must be something else limiting inbound connectivity that I don't know of. Security group is configured to allow traffic. Any other ideas?

  • Were you able to Telnet to 25 to the instance from another instance that is in the same vpc\subnet?

0

Ensure that the inbound traffic on port 25 is allowed in the security group associated with your EC2 instance to enable receiving mail.

profile picture
EXPERT
answered 18 days ago
  • Yes, this is done. Any other ideas?

0

Things you need to receive email on an EC2 (assuming Amazon Linux, public ip and subnet for the scenario)

  1. Security group open for port 25
  2. smtpd listening on the instance on port 25 (postfix would be my choose)
  3. smtpd configured to receive emails for your domain
  4. MX record pointing to your server in Route53 (or other DNS setup)

If you want to read the mails remotely, then add a pop/imap configuration. Or just use mutt on Linux.

xanthic
answered 18 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions