Binding PMG to a specific IP on a multi-IP interface (OVH "Additional IP")

Dec 6, 2021

We have a VM with two IPs.

One that can theoritally change if the VM is restored somewhere else.
And another that is rented as a product itself, and will ever change.

Obviously we want to use the second IP to have reputation continuity as a sender.

Both are on the same interface.
The interface shows up as follows :
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    inet REDACTED_STATIC_IP/32 scope global ens3
       valid_lft forever preferred_lft forever
    inet REDACTED_DYNAMIC_IP/32 metric 100 scope global dynamic ens3
       valid_lft 81986sec preferred_lft 81986sec

PMG Shows

Screenshot from 2023-09-26 15-50-44.png

Is there a way to configure that in PMG or should I modify /etc/postfix/ to bind to a specific address ?
Last edited:
Using smtp_bind_address = X.X.X.X in /etc/postfix/ works but gets removed (supposedly by PMG) after a reboot.


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!