내용으로 건너뛰기

SMTP Limitation

0

I have an EC2 instance that will not allow outbound SMTP. The instance ID is i-0dd7cef6cc050a06c. Can I get this restriction lifted?

Thanks.

  • You can consider using AWS SES service as an alternative. Much easier and highly available by default.

질문됨 6달 전136회 조회
2개 답변
0

Yes, it's possible to have the SMTP restriction lifted for your EC2 instance, but it requires a specific process:

By default, Amazon EC2 throttles outbound traffic on port 25 (the standard SMTP port) for all instances to prevent potential spam. This restriction applies to all EC2 instances and Lambda functions that aren't on an allow list.

To remove this restriction, you need to submit a request to AWS. Here's what you should do:

  1. Use the AWS support form specifically designed for this purpose.
  2. Provide a detailed explanation of why you need port 25 opened and how you plan to prevent spam or abuse.
  3. Include your EC2 instance ID (i-0dd7cef6cc050a06c) in the request.
  4. Submit the form and wait for AWS to process your request. This can take up to 48 hours.
  5. If approved, you'll receive an email notification that the port 25 restriction has been removed.

It's important to note that AWS may deny requests to open port 25, especially for testing purposes. As alternatives, consider using AWS Simple Email Service (SES) or ports 587 or 465 for SMTP connections, which are generally more secure and don't require special permission.

While waiting for a response, ensure that your EC2 security group allows outbound traffic on port 25, and check that your Network ACLs permit this traffic as well. Also, verify that your instance's operating system firewall isn't blocking port 25.

If you don't receive a response within 48 hours, you may want to open a support ticket with AWS for further assistance.
Sources
Not able to send mail from EC2 | AWS re:Post
how to open port 25 in cloudshell | AWS re:Post
Lift Port 25 Outbound restrictions on our EC2's | AWS re:Post

답변함 6달 전
전문가
검토됨 6달 전
AWS
전문가
검토됨 6달 전
0

NVM. Someone suggested SES, which I've since implemented. This seems to work well as our volume is low. We just needed a way to email alerts to our techs.

답변함 6달 전

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

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

관련 콘텐츠