PowerMTA route mails through another SMTP server for a domain

If 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

Advertisement

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
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement