- Newest
- Most votes
- Most comments
It looks like you're experiencing an issue with your WorkMail to SES integration. Let me help troubleshoot this setup.
The error you're receiving (Status: 5.3.0) indicates there's a problem with the SMTP gateway configuration. Here are a few things to check:
-
The gateway address you've entered appears incorrect. Instead of "email-smtp.eu-west-1.api.aws", you should use the full Amazon SES SMTP endpoint, which would be something like "email-smtp.eu-west-1.amazonaws.com". The correct format is essential for the connection to work properly.
-
Port 587 is correct for TLS encryption, which is required by Amazon SES. Your choice to use this port instead of 465 is appropriate since all connections to the Amazon SES SMTP endpoint must be encrypted using TLS.
-
Make sure your SMTP credentials from SES are entered correctly in the WorkMail SMTP gateway configuration. These credentials are different from your regular AWS access keys.
-
Verify that your outbound rule in WorkMail is correctly configured to route all outgoing email through the SMTP gateway you set up.
-
Ensure that your Amazon SES account is out of the sandbox if you're sending to recipients whose email addresses you haven't verified in SES.
For the SMTP gateway in WorkMail, you need to provide:
- A unique gateway name
- The correct gateway address (SES endpoint)
- Port number (587)
- Your SES SMTP username
- Your SES SMTP password
After making these corrections, restart the service if necessary and try sending a test email again.
Sources
Enabling SMTP gateways - Amazon WorkMail
Integrating Amazon SES with your existing email server - Amazon Simple Email Service
Sending email with Amazon SES - Amazon Simple Email Service
Hi,
Does your bounce message include a "Diagnostic-Code:"? WorkMail does not support SES as a SMTP gateway as it already uses SES to send mail so the double send via SES will result in issues with duplicate DKIM-signature headers.
Kind regards, Robin
Relevant content
- asked 6 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago
I have updated the gateway address. I'm using the credentials that I downloaded in the CSV file after creating the SMTP credentials. I have tested the Outbound rule and it shows that it will result in the email being routed to the SMTP Gateway. My Account is out of sandbox, I have a daily sending limit of 50,000 email per 24 hours and a max send rate of 14 emails per second (according to the SES account dashboard.