Setting up SMTP on top of Postfix for 2 websites on the same server
I have a website running on a droplet on DO (ubuntu). I’d like to implement virtual hosts, and setup another website on the same droplet.
So i wondered how can i set the SMTP credentials for this new website. Currently, i have my sendgrid credentials in /etc/postfix/sasl_passwd , and configured in /etc/postfix/main.cf
But those are for just one account. Is there a way that i can use another SMTP account for the second website? Or create a sub-account so the transactional emails can go through for the 2nd website?
Any help is appreciated, thanks