0

I'm on CentOS 8 and I kind of set up a server with postfix to relay to AWS SES, and I'm wondering if it would be possible to add more credentials than the one in this guide? Maybe add another line on /etc/postfix/sasl_passwd?

This is the first time I have configured/touched postfix so any tips may help.

  • You can add more lines to sasl_passwd but will need to have some transport logic for postfix to know which to use in each situation. – tater Sep 18 at 6:35
  • I see, is there any way to achieve that? Does that look normally like an if statement? – Gwynn Sep 18 at 8:28
  • Look at the /etc/postfix/transport file. It depends what you are actually trying to do. – tater Sep 18 at 10:49
  • So if I add a line like example.com smtp:email-smtp.us-west-2.amazonaws.com:587 and example2.com smtp:email-smtp.us-east-1.amazonaws.com:587 How will the transport handle the credentials? I was told to use relayhost and postmap to set this up but I'm still getting confused. – Gwynn Sep 20 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.