Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Change Qmail mail server outgoing IP  (Read 4039 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnolog√≠as de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
Change Qmail mail server outgoing IP
« on: February 11, 2015, 06:44:54 pm »
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!~
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!