Amazon EC2 mail limit reached while using external smtp server to send emails

后端 未结 4 1347
难免孤独
难免孤独 2021-01-03 08:43

Hi
I am sending lots of emails from and Amazon EC2 linux instance using grails MailSender Service(Uses Java Mail API underneath). I have configured the Mail API to use

相关标签:
4条回答
  • 2021-01-03 09:24

    By the way, if you're sending large volumes of E-mail from AWS infrastructure, you might be interested in this new service: Amazon Simple Email Service.

    0 讨论(0)
  • 2021-01-03 09:29

    They probably restrict the number of total connections on port 25, and as you used that port to connect to the external server, it would be the same as sending the email directly from the server.

    0 讨论(0)
  • 2021-01-03 09:35

    There's a limit on outbound emails to stop spamming (I presume). You can request to override this: https://aws-portal.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request

    0 讨论(0)
  • 2021-01-03 09:39

    My suggestion will be until amazon removes your smtp limit, connect to your email server using VPN. I had a similar issue using phpmailer with tls and sasl authentication on port 25. Because we are hosting our email server I was able to use the VPN to connect on the email server and send emails out.

    0 讨论(0)
提交回复
热议问题