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

Dec 6, 2021
37
3
13
47
Hello,

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 :
Code:
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/main.cf to bind to a specific address ?
Thanks
 
Last edited: