By default, Zimbra will not get the problem if we try to change the IP Address. The problem will only occured if the replace IP have a different netmask with the previous one.
If we tried to change Zimbra mail server IP Address from a set of IP, eg : 192.168.0.1 into 192.168.0.101 and both of them are within same net mask, it will not get any problem. Zimbra mail server version 5.x.x will automatically change LDAP setting to proper configuration.
As described above, the problem will only occurred if current IP Address have different net mask, eg : change IP from 192.168.0.1 into 192.168.5.1 or into 10.0.0.101. Below is an example of the error message :
Error: This message could not be sent. Subject: Sending test message To: firstname.lastname@example.org Note: Soap Fault. Please recreate and resend the message. Details below: Error Code: mail.SEND_ABORTED_ADDRESS_FAILURE Error Text: Invalid address: email@example.com
and then another message :
Message not sent; one or more addresses were not accepted. Rejected addresses: firstname.lastname@example.org
The problem occurred because Zimbra have different TrustedNetwork Setting in Postfix configuration within Zimbra configuration. Zimbra used Postfix as MTA engine and while it’s first initial install, trustednetwork setting will be filled out with existing IP Address format. To ensure if this is the main problem, checked current configuration at terminal / konsole and type in :
su - zimbra $ postconf mynetworks mynetworks = 127.0.0.0/8 192.168.0.0/24
And another check : Zimbra LDAP configuration :
zmprov getServer zimbra.example.com | grep zimbraMtaMyNetworks
If the setting display different IP set compared to current configuration, change the setting with zmprov modifyserver as noticed below :
zmprov modifyServer hostname.domainname.tld zimbraMtaMyNetworks '127.0.0.0/8 your.server.ip.address'
zmprov modifyServer mail.vavai.com zimbraMtaMyNetworks '127.0.0.0/8 192.168.0.0/24'
After change the proper setting, reload and restart your Zimbra server :
su - zimbra postfix reload zmcontrol stop zmcontrol start
Another resource : ZimbraMTAMyNetworks