- Newest
- Most votes
- Most comments
I assume you have implemented the measures listed at How do I remove the restriction on port 25 from my Amazon EC2 instance or Lambda function?.
As per the error message
Error: 550 5.7.1 Unfortunately, messages from [my_IP_address] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3140).
You EC2 IP is being blocked by receiving email server. Some companies may block emails from all EC2 IP addresses at part of their corporate security policy. Hence, changing of EC2 IP does not help. You will have to reach out to the organisation's security team to allow-list your EC2 IP.
Alternatively, you can explore using Amazon SES to send email. It supports SMTP interface. Under Pricing page, it states Free tier customers receive up to 3,000 message charges free each month for the first 12 months after you start using SES.
Do check Free Tier page for any updates on SES usage
This is not an answer, but it is a commiseration. I'm having the same problem. I've hosted my own mail server on AWS for years with the same fixed IP address, and I don't want to use SES. My DKIM and SPF configuration are all good, and my IP address doesn't show on any blacklist test sites, yet MSN says I'm blacklisted and to contact my ISP to resolve. I can't find a 'free' way to contact AWS to resolve a problem with their range of IPs being blacklisted that is not my fault (It's not my fault, because I never send spam). I only have problems sending to MSN/Hotmail/Outlook accounts where they tell me I'm on a blacklist. How do you get AWS to get their IP addresses unblacklisted with MSN without getting charged for it, when the 'blacklisting' is no fault of my own?
Relevant content
- asked 3 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
Good thanks for your answer, but with the aws SES service I can't do the mail forwarding without verifying the account that sends me the mail and this is necessary for my business. So I need to get outlook to verify my account.
Thanks for the information. Since SES supports SMTP, perhaps add SES as additional profile to your Outlook. Receive email in your Outlook, and use SES profile to send out the email. Alternatively, you may want to consider using Amazon WorkMail for hosting your email.