Strategy ONE
Configure Your SMTP Server
- Create SES SMTP username and password via Amazon SES console.
- Log into the machine for which you want to change the Postfix configuration.
- Upload new certificates which verify the Amazon SES server (<your certificate path>/xxx.ct).
- Modify /etc/postfix/sasl_passwd with the new endpoint name, username, and password.
-
Generate a hashmap database file:
Copysudo postmap hash:/etc/postfix/sasl_passwd
sudo chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
sudo chmod 0600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db - Tell Postfix where to find the proper certificates:
-
Restart Postfix:
Copysudo postfix stop
sudo postfix start
Copy
sudo postconf -e 'smtp_tls_CAfile = <your certificate path>/xxx.ct'