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
질문됨 한 달 전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
전문가
답변함 한 달 전
  • 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
전문가
답변함 한 달 전
  • 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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠