Windows > Plesk

Change Qmail mail server outgoing IP

(1/1)

Chetan Singh:
Hi All,

You wish to changed your Qmail mail server's outgoing IP address with these following steps:

Suppose that  the qmail IP address is 10.01.10.2 and we want to change it to 10.10.10.3.  Please note the gateway IP address should not be changed.

==============>>>
root#/sbin/ip route
x.x.x.x/16 dev eth0  scope link  metric 1002
x.x.x.x/8 dev eth0  proto kernel  scope link  src 10.10.10.2
default via 10.10.10.1 dev eth0  proto static
----------------------------

Run this command to change the mail server IP:

 # /sbin/ip route change default via 10.10.10.1 dev venet0:1 src 10.10.10.3
----------------------------

Done, you have successfully changed the mail server IP.

Enjoy!~

Navigation

[0] Message Index

Go to full version