3 Answers
- Newest
- Most votes
- Most comments
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.
0
Ensure that the inbound traffic on port 25 is allowed in the security group associated with your EC2 instance to enable receiving mail.
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)
- Security group open for port 25
- smtpd listening on the instance on port 25 (postfix would be my choose)
- smtpd configured to receive emails for your domain
- 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.
answered a year ago
Relevant content
- asked 4 months ago
- asked 6 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year 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?