I have running a web application on a hosted web server. The web application needs to send out emails to different client email adresses.
The flow would be :
Local WebApplication -> Local Postfix SMTP Server(Port 25) -> Forward Email to Any Remote SMTP Server depending to the Recipient Email Adreee (via STARTTLS Port 587)
How to configure the local Postfix to receive the local Emails from Web Application (Port 25) and then forward to any SMTP Server. I have already retrieved the certificate via letsencrypt and certbot for my internet host.
regards Sven