It is pretty straight forward, but you may hit some odd errors. For troubleshooting error messages, scroll past this section.
To start, in Amazon Web Services:
In the Plesk console:
Your Plesk External SMTP server settings should be similar to this, make sure port is 587 and that SMTP server requires encrypted connection is enabled. Clicking apply will reset any previous configuration.
Troubleshooting potential errors and configuration issues
The server did not accept the mail
You may run into issues using the Amazon Simple Email Service (SES) with a Plesk AMI from the store. The reason being that the host address for the Plesk installation defaults to AWS internal DNS name. You need to use a domain that is authorised in the Amazon SES account to send email from. Do you see any of these error messages in the server mail log?
email@example.com firstname.lastname@example.org smtpstatus=554 smtpmsg='554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: email@example.com' errormsg='the server did not accept the mail' exitcode=EX_UNAVAILABLE
- Configure your external host name (ie pleskserver.yourdomain.com)
- Apply the Plesk SMTP External Settings again to use the new host name (a reboot was not enough)
Cannot connect to smtp.servername.com, port 25: Connection timed out
The server sent an empty reply
If your error message contains “errormsg=’cannot connect to email-smtp.eu-west-1.amazonaws.com, port 25: Connection timed out'” or “errormsg=’the server sent an empty reply'” then this is more likely a configuration error. Make sure to use port 587 and “SMTP server requires encrypted connection” is enabled.
Posted by: Ian Brown
Did you appreciate this content? Did you find a typo? Do you have any tips that worked for you? Please leave a comment.