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
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.
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.
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
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.