ZmSetServerName
Changing the zimbra server's hostname
The commands
su - zimbra zmcontrol stop /opt/zimbra/libexec/zmsetservername <NEW_HOSTNAME>
will set the zimbra server's name to the NEW_HOSTNAME
Now update the ip address(es) and host name(s) for the server(s).
Restarting services on all hosts is required after this operation