<?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>songshu.org &#187; zimbra</title>
	<atom:link href="http://www.songshu.org/index.php/category/zimbra/feed" rel="self" type="application/rss+xml" />
	<link>http://www.songshu.org</link>
	<description>Just another collection of nuts</description>
	<lastBuildDate>Mon, 22 Mar 2010 13:16:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>zimbra in a linux Vserver</title>
		<link>http://www.songshu.org/index.php/zimbra-in-a-linux-vserver</link>
		<comments>http://www.songshu.org/index.php/zimbra-in-a-linux-vserver#comments</comments>
		<pubDate>Sun, 15 Feb 2009 12:56:34 +0000</pubDate>
		<dc:creator>randall</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[all posts]]></category>
		<category><![CDATA[zimbra]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[vserver]]></category>

		<guid isPermaLink="false">http://www.songshu.org/?p=522</guid>
		<description><![CDATA[&#60;div id=“dw”&#62; mailro.songshu.org (192.168.1.86) Installation newvserver --vsroot /VSERVERS --hostname mailro --domain songshu.org --ip 192.168.1.86/24 --dist etch --arch i386 --mirror http://192.168.1.12:3142/debian.apt-get.eu/debian --interface dummy0 Your current time zone is set to Unknown Do you want to change that? [n]: Enter for default Enable shadow passwords? &#38;lt;Yes&#38;gt; enter the root password Create a normal user account now? &#38;lt;No&#38;gt; Choose software to install: &#38;lt;Ok&#38;gt; Change the size of /tmp from 16m to 128m nano /etc/vservers/mailro/fstab none /proc proc defaults 0 0 none /tmp tmpfs size=128m,mode=1777 0 0 none /dev/pts devpts gid=5,mode=620 0 0 vserver mailro start vserver mailro enter nano /etc/apt/sources.list deb http://192.168.1.12:3142/security.debian.org/ etch/updates main contrib deb http://192.168.1.12:3142/ftp.nl.debian.org/debian/ etch main contrib non-free apt-get update apt-get upgrade apt-get install libgetopt-mixed-perl file libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libxml2 libstdc++6 openssl libexpat1 libpcre3 libltdl3 libtie-ixhash-perl libperl5.8 ssh cd /usr/src wget http://h.yimg.com/lo/downloads/5.0.9_GA/zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219.tgz tar xvfz zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219.tgz cd zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219 We made a 32bit server on a 64bit host and install the 32bit zimbra version, nevertheless we need to override or the installer will refuse ./install.sh --platform-override Press Return to continue Install zimbra-ldap [Y] y Install zimbra-logger [Y] y Install zimbra-mta [Y] y Install zimbra-snmp [Y] y Install zimbra-store [Y] y Install zimbra-apache [Y] y Install zimbra-spell [Y] y Install [...]]]></description>
			<content:encoded><![CDATA[<p><!-- begin Dokuwiki generated code--></p>
<div class="dokuwiki">
<p>&lt;div id=“dw”&gt;</p>
<h1><a name="mailro.songshu.org_192.168.1.86" id="mailro.songshu.org_192.168.1.86">mailro.songshu.org (192.168.1.86)</a></h1>
<div class="level1">
</div>
<h4><a name="installation" id="installation">Installation</a></h4>
<div class="level4">
<pre class="code">newvserver --vsroot /VSERVERS --hostname mailro --domain songshu.org --ip 192.168.1.86/24 --dist etch --arch i386 --mirror http://192.168.1.12:3142/debian.apt-get.eu/debian  --interface dummy0 </pre>
<pre class="code">Your current time zone is set to Unknown
Do you want to change that? [n]:

Enter for default</pre>
<pre class="code"> Enable shadow passwords?
&amp;lt;Yes&amp;gt; </pre>
<pre class="code">enter the root password</pre>
<pre class="code">Create a normal user account now?
 &amp;lt;No&amp;gt;    </pre>
<pre class="code">Choose software to install:
&amp;lt;Ok&amp;gt; </pre>
<p>
Change the size of /tmp from 16m to 128m</p>
<pre class="code">nano /etc/vservers/mailro/fstab
none    /proc           proc    defaults                0 0
none    /tmp            tmpfs   size=128m,mode=1777     0 0
none    /dev/pts        devpts  gid=5,mode=620          0 0</pre>
<pre class="code">vserver mailro start
vserver mailro enter</pre>
<pre class="code">nano /etc/apt/sources.list
deb http://192.168.1.12:3142/security.debian.org/ etch/updates main contrib
deb http://192.168.1.12:3142/ftp.nl.debian.org/debian/ etch main contrib non-free</pre>
<pre class="code">apt-get update
apt-get upgrade</pre>
<pre class="code">apt-get install libgetopt-mixed-perl file libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libxml2 libstdc++6 openssl libexpat1 libpcre3 libltdl3 libtie-ixhash-perl libperl5.8 ssh</pre>
<pre class="code">cd /usr/src
wget http://h.yimg.com/lo/downloads/5.0.9_GA/zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219.tgz</pre>
<pre class="code">tar xvfz zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219.tgz
cd zcs-5.0.9_GA_2533.DEBIAN4.0.20080815215219</pre>
<p>We made a 32bit server on a 64bit host and install the 32bit zimbra version, nevertheless we need to override or the installer will refuse</p>
<pre class="code">./install.sh --platform-override</pre>
<p>
Press Return to continue</p>
<pre class="code">Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-proxy [N] n</pre>
<pre class="code">This platform is DEBIAN4.0_64
Packages found: DEBIAN4.0

Install anyway? [N] Y</pre>
<pre class="code">The system will be modified.  Continue? [N] Y</pre>
<pre class="code">DNS ERROR resolving MX for mailro.songshu.org
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] No</pre>
<pre class="code">Address unconfigured (**) items  (? - help) 3
Select, or &#039;r&#039; for previous menu [r] 4
set the password *******
*** CONFIGURATION COMPLETE - press &#039;a&#039; to apply
Select from menu, or press &#039;a&#039; to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.19658]
The system will be modified - continue? [No] Yes
Notify Zimbra of your installation? [Yes] no</pre>
<p>
The installation should be done by now, we still need to do some modification for the Vserver to listen to its RFC 1918 IP instead of 127.0.0.1
</p>
<pre class="code">cd /opt/zimbra/conf &amp;amp;&amp;amp; mkdir bak new &amp;amp;&amp;amp; cp * bak &amp;amp;&amp;amp; for i in *; do sed &#039;s/127\.0\.0\.1/192.168.1.86/g&#039;  $i &amp;gt; new/$i; done &amp;amp;&amp;amp; mv new/* . &amp;amp;&amp;amp; rmdir new</pre>
<pre class="code">su zimbra</pre>
<pre class="code">zmprov modifyServer mailro.songshu.org zimbraMtaMyNetworks &#039;10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12,  192.168.1.86&#039;</pre>
<pre class="code">exit</pre>
<pre class="code">nano /opt/zimbra/postfix/conf/master.cf
192.168.1.86:10025 inet n  -       n       -       -  smtpd
 -o mynetworks=127.0.0.1/8,192.168.1.86</pre>
<pre class="code">nano /opt/zimbra/amavisd/sbin/amavisd
@inet_acl   = qw( 127.0.0.1 192.168.1.86 [::1] );  # allow SMTP access only from localhost
$inet_socket_bind = &#039;192.168.1.86&#039;;  # limit socket bind to loopback interface
$notify_method  = &#039;smtp:[192.168.1.86]:10025&#039;;
$forward_method = &#039;smtp:[192.168.1.86]:10025&#039;;</pre>
<pre class="code">nano /opt/zimbra/conf/amavisd.conf
$archive_quarantine_method = &#039;smtp:[192.168.1.86]:10025&#039;;
\&amp;amp;ask_daemon, [&quot;CONTSCAN {}\n&quot;, &#039;192.168.1.86:3310&#039;],</pre>
<pre class="code">nano /opt/zimbra/conf/dspam.conf
LocalMX 192.168.1.86</pre>
<p>
<a href="http://www.songshu.org/wp-content/plugins/wp-dokuwiki/lib/exe/fetch.php?id=&amp;cache=cache&amp;media=page_funambol.cipar.net_firstseconly_footer" class="media mediafile mf_" title="page_funambol.cipar.net_firstseconly_footer">page_funambol.cipar.net_firstseconly_footer</a><br />
&lt;/div&gt;
</p>
</div>
</div>
<p><!-- end Dokuwiki generated code--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.songshu.org/index.php/zimbra-in-a-linux-vserver/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sync zimbra contacts with funambol</title>
		<link>http://www.songshu.org/index.php/sync-zimbra-contacts-with-funambol</link>
		<comments>http://www.songshu.org/index.php/sync-zimbra-contacts-with-funambol#comments</comments>
		<pubDate>Sun, 15 Feb 2009 12:52:54 +0000</pubDate>
		<dc:creator>randall</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[all posts]]></category>
		<category><![CDATA[zimbra]]></category>
		<category><![CDATA[adressbook]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[funambol]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[vserver]]></category>

		<guid isPermaLink="false">http://www.songshu.org/?p=520</guid>
		<description><![CDATA[&#60;div id=“dw”&#62; Funambol Lets try to hook up funambol.cipar.net with the zimbra installation at mailro.songshu.org so that we can sync the calendars and contact lists with e-mail clients like thunderbird and mobile devices blackberrys and such. Installation you can get it to run on 64bit i guess but you will have to change some paths for java, well not really in to the effort right now so i&#039;ll install the 32 bit OS this time. newvserver --vsroot /VSERVERS --hostname funambol --domain cipar.net --ip 192.168.1.18/24 --dist etch --arch i386 --mirror http://192.168.1.12:3142/debian.apt-get.eu/debian --interface dummy0 Your current time zone is set to Unknown Do you want to change that? [n]: Enter for default Enable shadow passwords? &#38;lt;Yes&#38;gt; enter the root password Create a normal user account now? &#38;lt;No&#38;gt; Choose software to install: &#38;lt;Ok&#38;gt; vserver funambol start vserver funambol enter nano /etc/apt/sources.list deb http://192.168.1.12:3142/security.debian.org/ etch/updates main contrib deb http://192.168.1.12:3142/ftp.nl.debian.org/debian/ etch main contrib non-free apt-get update apt-get upgrade cd /usr/src/ wget http://download.forge.objectweb.org/sync4j/funambol-7.0.6.bin sh funambol-7.0.6.bin and prepare for a long scroll. Do you agree to the above license terms? [yes or no] yes /opt always seems to be a nice place Directory to extract Funambol [/opt] &#38;lt;return to accept&#38;gt;? Do you want to start the server? [...]]]></description>
			<content:encoded><![CDATA[<p><!-- begin Dokuwiki generated code--></p>
<div class="dokuwiki">
<p>&lt;div id=“dw”&gt;</p>
<h1><a name="funambol" id="funambol">Funambol</a></h1>
<div class="level1">
<p>Lets try to hook up funambol.cipar.net with the zimbra installation at mailro.songshu.org so that we can sync the calendars and contact lists with e-mail clients like thunderbird and mobile devices blackberrys and such.
</p>
</div>
<h4><a name="installation" id="installation">Installation</a></h4>
<div class="level4">
<p>you can get it to run on 64bit i guess but you will have to change some paths for java, well not really in to the effort right now so i&#039;ll install the 32 bit <acronym title="Operating System">OS</acronym> this time.</p>
<pre class="code">newvserver --vsroot /VSERVERS --hostname funambol --domain cipar.net --ip 192.168.1.18/24 --dist etch --arch i386 --mirror http://192.168.1.12:3142/debian.apt-get.eu/debian --interface dummy0</pre>
<pre class="code">Your current time zone is set to Unknown
Do you want to change that? [n]:

Enter for default</pre>
<pre class="code"> Enable shadow passwords?
&amp;lt;Yes&amp;gt; </pre>
<pre class="code">enter the root password</pre>
<pre class="code">Create a normal user account now?
 &amp;lt;No&amp;gt;    </pre>
<pre class="code">Choose software to install:
&amp;lt;Ok&amp;gt; </pre>
<pre class="code">vserver funambol start
vserver funambol enter</pre>
<pre class="code">nano /etc/apt/sources.list
deb http://192.168.1.12:3142/security.debian.org/ etch/updates main contrib
deb http://192.168.1.12:3142/ftp.nl.debian.org/debian/ etch main contrib non-free</pre>
<pre class="code">apt-get update
apt-get upgrade</pre>
<pre class="code">cd /usr/src/</pre>
<pre class="code">wget http://download.forge.objectweb.org/sync4j/funambol-7.0.6.bin</pre>
<pre class="code">sh funambol-7.0.6.bin</pre>
<p>and prepare for a long scroll.
</p>
<pre class="code">Do you agree to the above license terms? [yes or no]
yes</pre>
<p>/opt always seems to be a nice place</p>
<pre class="code">Directory to extract Funambol [/opt] &amp;lt;return to accept&amp;gt;? </pre>
<pre class="code">Do you want to start the server? [yes or no]
yes</pre>
<pre class="code">cp /opt/Funambol/bin/funambol /etc/init.d/</pre>
<pre class="code">ln -s /etc/init.d/funambol /etc/rc3.d/S30funambol</pre>
<pre class="code">nano /etc/init.d/funambol</pre>
<p>change funambol home to the following</p>
<pre class="code">FUNAMBOL_HOME=`(cd /opt/Funambol ; pwd)</pre>
<pre class="code">cd /usr/src</pre>
<pre class="code">wget http://downloads.sourceforge.net/zimbrafunambol/ZimbraConnector_0.5.01.s4j?modtime=1219875982&amp;amp;big_mirror=0</pre>
<pre class="code">cp ZimbraConnector_0.5.01.s4j ZimbraConnector.s4j</pre>
<pre class="code">cp ZimbraConnector.s4j /opt/Funambol/ds-server/modules</pre>
<pre class="code">mkdir /opt/Funambol/config/connector</pre>
<pre class="code">nano /opt/Funambol/config/connector/ZimbraConnector.xml</pre>
<pre class="code">&amp;lt;java version=&quot;1.5.0&quot; class=&quot;java.beans.XMLDecoder&quot;&amp;gt;
&amp;lt;object class=&quot;ru.korusconsulting.connector.config.ConnectorConfig&quot;&amp;gt;
  &amp;lt;void property=&quot;dataSource&quot;&amp;gt;
    &amp;lt;string&amp;gt;jdbc/fnblds&amp;lt;/string&amp;gt; &lt;!--The funambol datasource--&gt;
  &amp;lt;/void&amp;gt;
&amp;lt;/object&amp;gt;
&amp;lt;/java&amp;gt;</pre>
<pre class="code">nano /opt/Funambol/ds-server/install.properties</pre>
<p>and add our module to the modules to install</p>
<pre class="code">ZimbraConnector</pre>
<pre class="code">/opt/Funambol/bin/install-modules</pre>
<p>This will ask you to install the modules listed in install.properties.
</p>
<p>
We&#039;re not running funambol on a desktop machine so do the basic install on your desktop client and issue.</p>
<pre class="code">/opt/Funambol/admin/bin/funamboladmin</pre>
<p>to start the admin tool and login to 192.168.1.18.
</p>
<p>
In the admin tool remove the following items</p>
<pre class="code">PIM Calendar SyncSource -- cal; event; scal; stask; task

PIM Contact SyncSource  -- card; scard</pre>
<p>
add new SyncSources to FunambolZimbraConnector.<br />
Modules &gt; zimbra &gt; FunambolZimbraConnector&gt;CalendarSyncSource</p>
<pre class="code">Source URI    = cal,event,scal,stask,task

Name          = cal,event,scal,stask,task

Zimbra URL    = http://mailro.songshu.org/service/soap/
</pre>
<p>
Modules &gt; zimbra &gt; FunambolZimbraConnector&gt;ContactSyncSource</p>
<pre class="code">Source URI    = card, scard

Name          = card, scard

Zimbra URL    = http://mailro.songshu.org/service/soap/
</pre>
<p>
done.<br />
&lt;/div&gt;
</p>
</div>
</div>
<p><!-- end Dokuwiki generated code--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.songshu.org/index.php/sync-zimbra-contacts-with-funambol/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Set an &#8220;out of office&#8221; reply</title>
		<link>http://www.songshu.org/index.php/set-an-out-of-office-reply</link>
		<comments>http://www.songshu.org/index.php/set-an-out-of-office-reply#comments</comments>
		<pubDate>Fri, 23 Jan 2009 13:18:49 +0000</pubDate>
		<dc:creator>randall</dc:creator>
				<category><![CDATA[about]]></category>
		<category><![CDATA[manuals]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://www.songshu.org/?p=393</guid>
		<description><![CDATA[Let people know when you are on a holiday. To set up the auto-reply we go to the Zimbra webmail and login with our account details. When the mailbox opens we go to the &#8220;preferences&#8221; tab on the right top of the screen. Under &#8220;preferences&#8221; we select the &#8220;mail&#8221; tab. We scroll down a little and select &#8220;send auto-reply message:&#8221; and then we can fill in the message we want to be send below. Below the message you can select the &#8220;start date&#8221; and &#8220;end date&#8221;, the auto-reply will only be sent when messages arrive between these dates. There are more options to choose from, for example you could choose to have a copy send to your best friend for every e-mail that arrives in the time you are not there. Always SAVE after making changes&#8230;&#8230;]]></description>
			<content:encoded><![CDATA[<p>Let people know when you are on a holiday.</p>
<p>To set up the auto-reply we go to the Zimbra webmail and login with our account details.</p>
<p><span id="more-393"></span></p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot3.png"><img class="aligncenter size-full wp-image-318" title="screenshot3" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot3.png" alt="" width="740" height="525" /></a></p>
<p>When the mailbox opens we go to the &#8220;preferences&#8221; tab on the right top of the screen.</p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-16.png"><img class="aligncenter size-full wp-image-319" title="screenshot-16" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-16.png" alt="" width="740" height="525" /></a></p>
<p>Under &#8220;preferences&#8221; we select the &#8220;mail&#8221; tab.</p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-23.png"><img class="aligncenter size-full wp-image-320" title="screenshot-23" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-23.png" alt="" width="740" height="525" /></a></p>
<p>We scroll down a little and select &#8220;send auto-reply message:&#8221; and then we can fill in the message we want to be send below.</p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-33.png"><img class="aligncenter size-full wp-image-322" title="screenshot-33" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-33.png" alt="" width="740" height="525" /></a></p>
<p>Below the message you can select the &#8220;start date&#8221; and &#8220;end date&#8221;, the auto-reply will only be sent when messages arrive between these dates.</p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-43.png"><img class="aligncenter size-full wp-image-323" title="screenshot-43" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-43.png" alt="" width="740" height="525" /></a></p>
<p>There are more options to choose from, for example you could choose to have a copy send to your best friend for every e-mail that arrives in the time you are not there.</p>
<p><a href="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-53.png"><img class="aligncenter size-full wp-image-324" title="screenshot-53" src="http://www.songshu.org/wp-content/uploads/2008/10/screenshot-53.png" alt="" width="740" height="525" /></a></p>
<p>Always SAVE after making changes&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songshu.org/index.php/set-an-out-of-office-reply/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
