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
已提問 1 個月前檢視次數 162 次
3 個答案
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
專家
已回答 1 個月前
  • 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
專家
已回答 1 個月前
  • 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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南