PowerMTA route mails through another SMTP server for a domain
Written by Yujin Boby
Edit in WordPressIf you want to route emils from PowerMTA though another SMTP server, you can use following config.
In this example, all outgoing emails to @outlook.com domain will get routed through Amazon SES.
Edit PowerMTA config file
vi /etc/pmta/config
Add folowing
queue-to amazon-ses.route auth-username USER_NAME_HERE auth-password PASSWORD_HERE route email-smtp.us-west-2.amazonaws.com:587 use-starttls yes require-starttls yes
Restart PowerMTA
systemctl restart pmta
See PowerMTA
