<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Bluish Coder: zimbra</title>
 <link href="http://bluishcoder.co.nz/tag/zimbra/atom.xml" rel="self"/>
 <link href="http://bluishcoder.co.nz/"/>
 <updated>2020-07-10T16:25:05+12:00</updated>
 <id>http://bluishcoder.co.nz/</id>
 <author>
   <name>Bluishcoder</name>
   <email>admin@bluishcoder.co.nz</email>
 </author>

 
 <entry>
   <title>Installing Zimbra on Ubuntu 6.10</title>
   <link href="http://bluishcoder.co.nz/2007/02/08/installing-zimbra-on-ubuntu-610.html"/>
   <updated>2007-02-08T06:20:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2007/02/08/installing-zimbra-on-ubuntu-610</id>
   <content type="html">&lt;p&gt;&lt;a href=&quot;http://www.zimbra.com/&quot;&gt;Zimbra&lt;/a&gt; is an open source email server. It does email, calendar, contacts, and various other useful things that software like &lt;a href=&quot;http://www.microsoft.com/exchange/default.mspx&quot;&gt;Microsoft Exchange&lt;/a&gt; does.&lt;/p&gt;

&lt;p&gt;Zimbra has some very nice web based tools that make it operate very much like a desktop application. Some &lt;a href=&quot;http://wildbill.nulldevice.net/wordpress/?p=185&quot;&gt;screenshots from Wild Bill&#39;s blogdom are here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Zimbra is open source. They have a commercial version with extra features and support. And an open source version with limited support through the forums. You can apparently build from source but the process is a little painful and not well documented. The problem is that Zimbra has a number of dependencies on other open source projects and they don&#39;t provide direct downloads for those dependencies.&lt;/p&gt;

&lt;p&gt;This means you spend a lot of time tracking down what software is needed (OpenLDAP, MySQL, etc) and need to get the specific versions required by Zimbra. These versions are listed in a &#39;howto build from cvs&#39; document but that is out of date. So you need to trawl through the Makefiles for each of the Zimbra third party requirements to find the version numbers and track down where these can be found. Even after all that I was unable to get things to build so for now I&#39;m sticking to their binary release until I can find out what the problem is.&lt;/p&gt;

&lt;p&gt;The binary release for Ubuntu was also a bit tricky to install. After installation it  wouldn&#39;t start OpenLDAP, giving this error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Initializing ldap...TLS: error:02001002:
system library:fopen:No such file or directory bss_file.c:352
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It turns out that this is the result of Ubuntu 6.10 not using &#39;bash&#39; as its primary shell. &#39;/bin/sh&#39; is symbolically linked to &#39;/bin/dash&#39;, a lightweight bash-alike. It doesn&#39;t have &#39;source&#39; which is required by most of the Zimbra scripts (&#39;source&#39; is the same as &#39;.&#39; which Zimbra could also have used). Changing Ubuntu to use &#39;/bin/bash&#39; for &#39;bin/sh&#39; fixes the problem and Zimbra installed fine.&lt;/p&gt;

&lt;p&gt;Here are the basic steps I did to get Zimbra installed on Ubuntu 6.10 under VMWare Server:&lt;ol&gt;&lt;li&gt;Install Ubuntu 6.10&lt;/li&gt;&lt;li&gt;relink &#39;/bin/sh&#39; to point to &#39;/bin/bash&#39;&lt;/li&gt;&lt;li&gt;sudo apt-get install curl openssl libxml2 libexpat1 libgmp3c2 libpcre3 fetchmail libidn11 openssh-server&lt;/li&gt;&lt;li&gt;Setup DNS A and MX records for the server&lt;/li&gt;&lt;li&gt;Download and unpack the Zimbra Ubuntu open source binary&lt;/li&gt;&lt;li&gt;Run the installer&lt;/li&gt;&lt;/ol&gt;
The key part is changing the &#39;bin/sh&#39; link.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Zimbra Development with Eclipse</title>
   <link href="http://bluishcoder.co.nz/2007/01/27/zimbra-development-with-eclipse.html"/>
   <updated>2007-01-27T00:54:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2007/01/27/zimbra-development-with-eclipse</id>
   <content type="html">&lt;p&gt;Following on from my &lt;a href=&quot;http://bluishcoder.co.nz/2007/01/installing-zimbra-on-ubuntu-610.html&quot;&gt;earlier post about installing Zimbra&lt;/a&gt;, I wanted to setup a development environment so I could work on the source code. My development system is currently a Windows XP machine and I documented the steps I went through in this article: &lt;a href=&quot;http://bluishcoder.co.nz/articles/zimbra-eclipse.html&quot;&gt;Zimbra Development with Eclipse&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now I can use Eclipse to edit the code and deploy it on Tomcat for testing, using the Zimbra subversion repository code.&lt;/p&gt;
</content>
 </entry>
 
 
</feed>
