<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pario TechnoBlob &#187; imapsync</title>
	<atom:link href="http://pario.no/tag/imapsync/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 26 Apr 2012 08:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Installing Zimbra on Debian 4.0 (Etch)</title>
		<link>http://pario.no/2008/01/30/installing-zimbra-on-debian-40-etch/</link>
		<comments>http://pario.no/2008/01/30/installing-zimbra-on-debian-40-etch/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 19:29:20 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[imapsync]]></category>
		<category><![CDATA[mysql zmprov]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[zmcontrol]]></category>

		<guid isPermaLink="false">http://pario.no/2008/01/30/installing-zimbra-on-debian-40-etch/</guid>
		<description><![CDATA[This post describes most of the steps I did to make a clean install of the open source edition of Zimbra on a little Debian test server including importing e-mail from a Dovecot IMAP-server. Downloaded the Debian 4 installer from the Open Source Edition Downloads page. Unpacked it and started the installer as root tar [...]]]></description>
			<content:encoded><![CDATA[<p>This post describes most of the steps I did to make a clean install of the open source edition of <a href="http://zimbra.com">Zimbra</a> on a little Debian test server including importing e-mail from a Dovecot IMAP-server.</p>
<p>Downloaded the Debian 4 <a href="http://files.zimbra.com/downloads/5.0.0_GA/zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz">installer</a> from the <a href="http://www.zimbra.com/community/downloads.html">Open Source Edition Downloads page</a>.<br />
Unpacked it and started the installer as root</p>
<pre>
tar xfz zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz
cd zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820
./install.sh</pre>
<p>The Zimbra installer checked my system to see if there was an existing installation.<br />
Then it checked for prerequisites and reported the following packages was missing</p>
<pre>
NPTL...FOUND
sudo...FOUND
libidn1l...FOUND
fetchmail...MISSING
libgmp3c2...MISSING
libxml2...FOUND
libstdc++6...FOUND
openssl...FOUND
libltdl3...MISSING</pre>
<p>The installation was cancelled and I had to install the needed packages to continue</p>
<pre>
apt-get install fetchmail libgmp3c2 libltdl3</pre>
<p>Started the install again and now all prerequisites was found.<br />
The installer showed med the following installable packages</p>
<pre>
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-smtp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy</pre>
<p>I chose to install all but the zimbra-proxy package.<br />
The installer crashed because the curl package was missing on my system. Installed it</p>
<pre>
apt-get install curl</pre>
<p>and restarted the installer. The installer finished the without further problems.</p>
<p>Importing e-mail messages from my old IMAP server running Dovecot<br />
To import from my old IMAp server I downloaded the imapsync script from http://www.linux-france.org/prj/imapsync/ unpacked it and typed in</p>
<pre>
./imapsync --syncinternaldates --ssl1 --user1 myOldUser --password1 mySecretPassword --host1 fromMailServer --authmech1 PLAIN --ssl2 --user2 myNedUser@example.com --password2 MyNewSecretpassword --host2 toMailServer.com   --authmech2 LOGIN</pre>
<p>I had to install the following packages to run the imapsync script</p>
<pre>
apt-get install libmail-imapclient-perl
apt-get install libdate-manip-perl</pre>
<p>This enabled import of my mail using SSL connection from port 993 on my old mail server to my Zimbra mail server.</p>
<p>I had some problems importing bil mail so I had to increase the mailsize limit from 10MB to 50MB to import all messages. Doing this as user zimbra</p>
<pre>
zmprov mcf zimbraFileUploadMaxSize 50000000</pre>
<p>The Zimbra Administration console is only available from the server itself, that&#8217;s why I couldn&#8217;t see port 7071 from the Internet. The console is available from https://example.com:7071/zimbraAdmin</p>
<p>Basic usage<br />
These commands can be run as the zimbra user<br />
Stop zimbra</p>
<pre>
su - zimbra
zmcontrol stop</pre>
<p>Start zimbra</p>
<pre>
zmcontrol start</pre>
<p>Running zimbra apache on another port than port 80.<br />
As zimbra user</p>
<pre>
zmprov ms <servername> zimbraMailPort 8080</servername></pre>
<p>This makes it possible to run my own Apache server for my virtual domains.</p>
<p>Running another mysql server<br />
I&#8217;ve changed the socket configuration for mysql to have another instance of it running.<br />
Command to login to the mysql console</p>
<pre>
mysql -p -S /var/run/mysqld/mysqld2.sock</pre>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/zimbra.com","http:\/\/files.zimbra.com\/downloads\/5.0.0_GA\/zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz","http:\/\/www.zimbra.com\/community\/downloads.html"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDEvMzAvaW5zdGFsbGluZy16aW1icmEtb24tZGViaWFuLTQwLWV0Y2gvPHdwdGI%2BSW5zdGFsbGluZyBaaW1icmEgb24gRGViaWFuIDQuMCAoRXRjaCk8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/01/30/installing-zimbra-on-debian-40-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

