Wednesday, January 3, 2018

Change IP Address Of Zimbra Mail Server

How to Change IP Address Of Zimbra Mail Server:
  •  Check current IP address configuration in postconf
[root@mail /]# su zimbra
[zimbra@mail /]$ postconf mynetworks
mynetworks = 127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64
[zimbra@mail /]$
  • In this case our postfix will reply for all machines with 192.168.1.X serious all IP address
  • Change or Modify IP address using below:
[zimbra@mail /]$ hostname
mail.server.local
[zimbra@mail /]$ zmprov ms mail.server.local zimbraMtaMyNetworks ‘127.0.0.1/8 192.168.1.200/24’
[zimbra@mail /]$ postfix reload
  •  Verify configuration after changes
[zimbra@mail /]$ postconf mynetworks

mynetworks = 127.0.0.1/8 192.168.1.200/24

No comments:

Post a Comment