Home » Zimbra » Change hostname on zimbra mail server

Change hostname on zimbra mail server

We assume that sometime we need to change zimbra server’s hostname, As server hostname by default integrated with many services such as LDAP, POSTFIX MTA etc.. So this tutorial will guide you to Change hostname on Zimbra server by using zmsetservername command.
First of all stop the zimbra service.

#su zimbra
#zmcontrol stop

Then perform the below to change server’s hostname.

#/opt/zimbra/libexec/zmsetservername -n newhostname

After that start zimbra service.

#zmcontrol start

That’s it.


I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

2 thoughts on “Change hostname on zimbra mail server

  1. We can also use zmhostname command to change host-name of zimbra mail server

    1. Gsingh says:

      Yes we can use aforesaid command.

Leave a Reply

Your email address will not be published. Required fields are marked *


Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud