RSS

How to change IP Address of Zimbra Mail Server

11 Oct

1. Check out the current value of 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

2. If you don’t want to allow relaying for the network, but only for the zimbra server itself, configure the server like this:

[zimbra@mail /]$ hostname
mail.server.lan
[zimbra@mail /]$ zmprov ms mail.server.lan zimbraMtaMyNetworks ‘127.0.0.1/8 192.168.1.200/24’
[zimbra@mail /]$ postfix reload
[zimbra@mail /]$ postconf mynetworks
mynetworks = 127.0.0.1/8 192.168.1.200/24

 
Leave a comment

Posted by on October 11, 2016 in Security, Zimbra

 

Leave a comment