Amazon EC2 mail restriction achieved by using an external smtp server to send emails

Hi
I am sending a lot of emails and an instance of Amazon EC2 linux using the Grails MailSender service (uses the Java Mail API below). I configured the Mail API to use an external smtp server on port 25 to send email, and I could check from the logs of the external email server that the emails were actually sent by them.

But Amazon AWS sent me an email stating that I had reached my email limit for sending from SMTP port 25.

I can’t understand how I reached the limit when I always used an external smtp server to send emails. In addition, I get intermittent connection timeout errors for connecting to an external smtp server from the Java Mail API.

Any help is greatly appreciated.

thank

+3
source share
4 answers

There is a restriction on outgoing emails to stop spam (I suppose). You can request to override this: https://aws-portal.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request

+7
source

By the way, if you send large amounts of email from AWS, you might be interested in this new service: Amazon Simple Email Service .

+5

, 25, , , .

+1

, Amazon smtp, VPN. phpmailer tls sasl authentication 25. , VPN .

0

Source: https://habr.com/ru/post/1794844/


All Articles