- Newest
- Most votes
- Most comments
Hello.
Are the required communications allowed in the EC2 security group?
By the way, what port number are you communicating with?
If you are trying to use port 25, you will need to remove the restriction as described in the document below.
https://repost.aws/knowledge-center/ec2-port-25-throttle
At this time, SMTP Relay action with no-authentication is only supported for Google Workspaces and Microsoft 356. For all other SMTP Relay destinations, SMTP Authentication is required in order to relay mail to an arbitrary destination.
Apologies, this statement was based on a restriction that was in place prior to Mail Manager being available. The SMTP Relay action with no-authentication requires recipients to be verified identities. The SMTP host that you can connect to has no restrictions.
Relevant content
- asked a year ago
- asked 2 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago

Hi! I'm using port 2525 and I've confirmed that I'm able to establish connection with this setup, so all should be in place.
Can you check the EC2 email log to find out if the communication is interrupted before reaching EC2, or if it reaches EC2 and cannot be processed and an error occurs? If you look at the email log and find that it has not reached EC2, there may be a possibility that communication is being blocked somewhere in AWS.
The EC2 port 25 restriction is required for outbound network connections on port 25. Based on how this question is worded, the EC2 instance will be receiving inbound network connections on port 25. I do not think EC2 has a restriction on incoming connections on port 25, but it would require that the appropriate security group be configured.