I am a bit lost on mail servers, but I have to install a mail proxy (Proxmox Mail Gateway) in front of the actual mail server (ISPConfig, Roundcube, Dovecot, Postfix).
On receiving emails, it uses the mail proxy which then sends the emails to the IMAP/POP server. But when sending emails (from the IMAP/POP server), the mail gateway isn't used, it sends the emails directly.
I kept the configuration files to "default" except for the PMG server which I modified in the Web UI to make the email receiving work.
How do I change the SMTP server for email sending ?