Configure Postfix to use Amazon SES

Install postfix with

Update postfix config with


Add to end of the file

In the above, replace SMTP_SERVER_NAME with your Amazon SES mail server, for example “”, you can see it in your Amazon SES console.


Replace SMTP_SERVER_NAME, SMTP_USERNAME and SMTP_PASSWORD with your actual credentials.

Now run

Restart postfix

You can test mail working with

Amazon SES