Going along with the webserver update I am doing, I needed to move our company webmail from the main webserver to a different server. now this could have been our existing mail server, but I thought it would be a nice idea to take the chance and play around with Zimbra. So I’m now sitting in our datacentre reinstalling a server with Ubuntu and will then install Zimbra

Going along with the webserver update I am doing, I needed to move our company webmail from the main webserver to a different server. now this could have been our existing mail server, but I thought it would be a nice idea to take the chance and play around with Zimbra. So I’m now sitting in our datacentre reinstalling a server with Ubuntu and will then install Zimbra onto it. so far the Ubuntu install has been painless, and the Zimbra download has finished. now for the unpacking and running, after the Ubuntu system update completes.

One thing to note here. If you are using Ubuntu, make sure you use Dapper and not Feisty or Gutsy as Zimbra does not like Feisty, and probably won’t like Gutsy even more!

For specifics about other distributions, look at the Zimbra site. There are detailed docs on there as to what Distributions work. A point worth noting, they don’t support Gentoo, but there are workarounds with Gentoo, buy installing a copy of Ubuntu or Debian in a chroot.

So now I have the Ubuntu install finished and all updates done, the Zimbra install can start. This is as simple as running the install.sh, but there are a couple off things you should check and do first. First make sure your hosts file is set right.

It must contain you ip, FQDN and hostname or the install will fail. also it needs localhost set up properly (as far as they are concerned).

10.10.10.55 saturn.ctoblog.info saturn
127.0.0.1 localhost.localdomain localhost

you will also need to make sure you have curl, fetchmail, gmp, sudo, libidn installed. here is the apt-get line:

apt-get install fetchmail curl libidn11 libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++5 openssl
(note its wrapped here, it should be all on one line)

You will also need perl and perl-modules if they are not already there.

Now its a simple case of unpacking the tar file you downloaded from Zimbra and then running the install script.

tar xvzf zcs-NETWORK-4.5.5_GA_838.UBUNTU6.tgz

This will create a directory zcs. So change into that directory then, as root run the install script.

cd zcs
sudo ./install.sh

You are now presented with the license for Zimbra, please look through it and make sure you are comfortable with it. Having accepted the license you now need to accept to install each portion of Zimbra and then say Y to continue when asked “The system will be modified. Continue?”

If for any reason the install fails, like if you don’t have the correct perl modules installed then make sure you uninstall by using ./install.sh -u then rm -rf /opt/zimbra to clean up properly. once you have cleaned up you can try the install again.

During the install Zimbra will try to verify the hostname can be found via DNS. If you are putting this into production, you must make sure that the hostname you have used can be found via DNS. If you are just testing then it should be fine.

If Zimbra cannot find the hostname it will prompt you to change it. If you want to change it say yes here.

Similarly, Zimbra will check the MX record for the host configured. Here you should really set it to the public domain name for your company. Or the internal testing domain. Something you can send emails via.

Once installed you will be asked to set a few parameters. The ones you must remember to do are the admin password and the license.

For the admin password press 6, followed by 4. Then enter your password. Caution, it will be echoed onto the screen

Ubuntu Badger Linux

www.badgerlinux.net

http://www.vintagecomputermanuals.com

http://www.g2analyst.com/

 http://www.sellyourmanitobacottage.com

http://www.fishlakemanitobanarrows.com 

Leave a Reply