<div dir="ltr">I've had pretty good success (so far) installing kolab3 following this process. <div><br></div><div>Would appreciate any feedback from anyone else willing to give it a go. Some hackish things done, would also appreciate better solutions where applicable.</div>
<div><br></div><div>The process:<br><br><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;font-size:12px;vertical-align:baseline;background-color:rgb(235,239,242);color:rgb(51,51,51);font-family:Helvetica,Arial,'Lucida Grande',Verdana,sans-serif;line-height:18px">
Remember to do all your work as root or privileged user ;)</p><ul style="margin:1em 0px;padding:0px 0px 0px 2em;border:0px;outline:0px;font-size:12px;vertical-align:baseline;background-color:rgb(235,239,242);list-style-position:initial;color:rgb(51,51,51);font-family:Helvetica,Arial,'Lucida Grande',Verdana,sans-serif;line-height:18px">
<li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">Download the quantal copy of smarty3 (you'll need it for the kolab-webadmin package). You can find it <a href="http://packages.ubuntu.com/quantal/smarty3" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:rgb(34,73,112);text-decoration:none">here</a>(<a href="http://packages.ubuntu.com/quantal/smarty3">http://packages.ubuntu.com/quantal/smarty3</a>).</li>
<li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">configure apt<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">vi /etc/apt/preferences.d/kolab3.pref</code><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
kolab3.pref:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>Package: *<br>Pin: origin <a href="http://mirror.kolabsys.com">mirror.kolabsys.com</a><br>
Pin-Priority: 501<br></code><br>this ensures the kolab sources get priority.</p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">vi /etc/apt/sources.list.d/kolab3.list</code></p>
<p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">kolab3.list:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
deb <a href="http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/">http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/</a> precise development<br>deb-src <a href="http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/">http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/</a> precise development<br>
# Adding wheezy mirror for libmozldap and mozldap-tools; comment out after installing 'em<br>deb <a href="http://mirror.kolabsys.com/pub/debian/kolab-3.0/">http://mirror.kolabsys.com/pub/debian/kolab-3.0/</a> wheezy development<br>
</code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">this adds the kolab package sources. Now we can update apt:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
apt-get update<br></code></p></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">install dependencies:<br>php packages are needed for the smarty3 install, moz ldap packages are from wheezy sources (which we'll remove before kolab install).<br>
<code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>apt-get install php5 php5-common php5-cgi php5-cli mozldap-tools libmozldap-0d<br>dpkg -i /home/<user>/smarty3_3.1.10-2_all.deb<br>
</code><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">(this is the quantal .deb package for smarty3 that you should've downloaded already)</p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
now that the wheezy dependencies are satisfied, we need to remove the sources or we'll create conflicts later on.<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
vi /etc/apt/sources.list.d/kolab3.list<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">kolab3.list:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
deb <a href="http://mirror.knolabsys.com/pub/ubuntu/kolab-3.0/">http://mirror.knolabsys.com/pub/ubuntu/kolab-3.0/</a> precise development<br>deb-src <a href="http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/">http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0/</a> precise development<br>
# Adding wheezy mirror for libmozldap and mozldap-tools; comment out after installing 'em<br># deb <a href="http://mirror.kolabsys.com/pub/debian/kolab-3.0/">http://mirror.kolabsys.com/pub/debian/kolab-3.0/</a> wheezy development<br>
</code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">Update apt again (this time without the wheezy sources)<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
apt-get update<br></code></p></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">Additional preparations<p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Add a couple more packages without the wheezy sources (cyrus-imapd we install so we can create some sym links before kolab install and python-dateutil is required by wallace - but not part of kolab install, go figure, it's a development package)<br>
<code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>apt-get install cyrus-imapd python-dateutil<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Create some symbolic links for cyrus imapd (ubuntu uses 'cyrus' where kolab use 'imap' in the directory structure; my hack to simply link them. Not pretty, but works)<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
ln -s /var/lib/cyrus /var/lib/imap<br>ln -s /var/spool/cyrus /var/spool/imap<br>ln -s /usr/lib/cyrus /usr/lib/imap<br></code></p></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
NOW we can install kolab!<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>apt-get install kolab<br></code></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Do the recommended manual configs<p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">You may have noticed some errors concerning kolabformat, etc. We just have to do these bits manually.<br>
<code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>rm /var/lib/dpkg/info/php-kolabformat.postinst /var/lib/dpkg/info/php-kolabformat.postrm /var/lib/dpkg/info/php-kolab.postrm /var/lib/dpkg/info/php-kolab.postinst<br>
ln -s /usr/share/php5/kolab/kolabformat.ini /etc/php5/conf.d/<br>ln -s /usr/share/php5/kolab/kolab.ini /etc/php5/conf.d/<br></code></p></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Now we can install the kolab-webadmin package<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>apt-get install kolab-webadmin<br></code></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Run the setup<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>setup-kolab<br></code></li><li style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Finally, some post setup configuration<p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">We need to add some users to groups:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
vi /etc/group<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">group (changes to ssl-cert and mail):<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>
# cyrus goes in ssl-cert group<br>ssl-cert:x:xxx:cyrus<br># postfix goes in mail group<br>mail:x:xxx:postfix<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
Use the Ubuntu snakeoil cert/key:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>vi /etc/imapd.conf<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">
imapd.conf (changes):<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>tls_cert_file: /etc/ssl/certs/ssl-cert-snakeoil.pem<br>tls_key_file: /etc/ssl/private/ssl-cert-snakeoil.key<br>
tls_ca_file: /etc/ssl/certs/ssl-cert-snakeoil.pem<br></code></p><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent">Make sure ptloader has a place to put its socket:<br>
<code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>mkdir /var/lib/imap/ptclient<br>chown cyrus:mail /var/lib/imap/ptclient<br></code></p></li></ul><p style="margin:1em 0px;padding:0px;border:0px;outline:0px;font-size:12px;vertical-align:baseline;background-color:rgb(235,239,242);color:rgb(51,51,51);font-family:Helvetica,Arial,'Lucida Grande',Verdana,sans-serif;line-height:18px">
restart the email services:<br><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><br>service cyrus-imapd restart</code></p></div><div><br></div><div>Cheers,<br clear="all">
<div><br></div>-- <br>Mischa Beitz<br><a href="http://mischa.beitz.org">http://mischa.beitz.org</a>
</div></div>