M masterx Active Member Jun 6, 2020 29 7 43 25 Dec 12, 2022 #1 Hi, I want to configure my PMGs to send all outgoing mails to a smarthost, except for specific domains. Is it possible to have such a configuration? Thanks
Hi, I want to configure my PMGs to send all outgoing mails to a smarthost, except for specific domains. Is it possible to have such a configuration? Thanks
Stoiko Ivanov Proxmox Staff Member Staff member May 2, 2018 9,597 1,785 248 Dec 13, 2022 #2 Not out of the box and through the GUI - but you can most likely adapt the postfix configuration to your needs - check the forum - there were a few threads with similar issues I think https://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps is the relevant parameter for adapting the postfix config in PMG you need to use the templateing system: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
Not out of the box and through the GUI - but you can most likely adapt the postfix configuration to your needs - check the forum - there were a few threads with similar issues I think https://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps is the relevant parameter for adapting the postfix config in PMG you need to use the templateing system: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine