sander_ec2_port_25_throttle

I’m having trouble sending email over port 25 of my Amazon Elastic Compute Cloud (Amazon EC2) instance, or I’m getting frequent timeout errors. How do I remove the port 25 throttle on my EC2 instance?

Resolution

Amazon EC2 throttles traffic on port 25 of all EC2 instances by default, but you can request for this throttle to be removed.

First, you must create a corresponding DNS A record:

  • If you’re using Amazon Route 53 as your DNS service, either create a new resource record set that includes an A record, or update your existing resource record set to include a new A record.
  • If you’re using a service other than Amazon Route 53, ask your DNS provider to create an A record for you.

Then, request AWS to remove the port 25 blocks on your instance:

  1. Sign in with your AWS account root user credentials, and then open the Request to Remove Email Sending Limitations form.
  2. In the Use Case Description field, provide a description of your use case.
  3. (Optional) Provide the AWS-owned Elastic IP addresses that you use to send outbound email, as well as any reverse DNS records that AWS needs to associate with the Elastic IP addresses. AWS will use this information to help reduce the chance that email sent from the Elastic IP addresses is marked as spam.
  4. Choose Submit.

If your request is approved, you’ll receive email to notify you that the port 25 blocks on your EC2 instances are removed.

Connecting to the Amazon SES SMTP Endpoint