[SOLVED] Send mail from a specific domain with a specific IP

bougatoyta

Member
Jun 8, 2021
71
7
13
35
Hi,

I'm managing a PMG with 5 domains,

One of these domain need to have he's own IP for mail sending and reception.

So domain a,b,c,d would send mail with IP 1

And domain E with IP 2

Is this directly possible in PMG web interface or do I need to go in the postfix conf files ?

Regards,
 
Is this directly possible in PMG web interface or do I need to go in the postfix conf files ?
This needs to be done via the postfix configuration (alternatively you can setup 2 PMG instances (even put them in a cluster if you want to share the configuration), and relay domain E via one instance and the rest via the other)

Adapting the postfix configuration in PMG needs to happen via the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

I hope this helps!