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

bougatoyta

Member
Jun 8, 2021
71
7
13
34
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!