Note: Before doing it, Kindly check the Exim version. At the time of writing this article, Exim Version 4.94 is having bugs. So we have downgraded the Exim version from 4.94 to 4.93. You can get the details in this ticket link:


We will edit the Exim configuration to relay SMTP via Amazon SES.


amazon ses smtp credentials


Now, login to the VestaCP panel, and configure Exim.


vestacp amazon ses configure


Find “begin routers” in Exim configuration.


begin routers exim configuration


After the begin routers line, add the following.

driver = manualroute
domains = ! +local_domains
transport = ses_smtp
route_list = *;

Replace with your amazon ses account’s region.

Find “begin transports” in Exim configuration.


begin transports exim relay configuration

After the begin transports line, add the following.

driver = smtp
port = 587
hosts_require_auth = *
hosts_require_tls = *

Find “begin authenticators” in Exim configuration.


begin authenticators exim relay configuration


After the begin authenticators line, add the following.

driver = plaintext
public_name = LOGIN
client_send = : USERNAME : PASSWORD

Replace USERNAME with your SMTP username, and PASSWORD with your SMTP password obtained from your Amazon SES account panel.


amazon ses smtp credentials


Save and restart Exim in the VestaCP panel.


save and restart exim


VestaCP Exim configuration done.

Remember: Amazon SES requires domain verification. So, you should verify each domain added in your VestaCP to the Amazon SES panel. Without verifying in Amazon SES the domain cannot send an email.

verify domain in amazon ses