<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Push email, contacts and calendar with Zimbra 6 Opensource &amp; Z-Push &#8211; ActiveSync</title>
	<atom:link href="http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/</link>
	<description>Random geeky rants, that probably go nowhere in particular...</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:51:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Tiago de Aviz</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-43</link>
		<dc:creator>Tiago de Aviz</dc:creator>
		<pubDate>Wed, 19 Oct 2011 19:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-43</guid>
		<description>Just to let you guys know that it works PERFECTLY.

My environment:

Zimbra Server:
SLES 10 SP3
Zimbra OSS 7.0.1 + Godaddy SSL Certs

Z-Push server:
SLES 11 SP1
Z-Push 1.5.5
Z-Push Zimbra Backend Release 51
Apache 2 + php5 + php-curl + Godaddy SSL Certs


The above configuration that needs to be done on the config.php file is perfect, no need to do anything else.

The whole secret is: DO NOT attempt to put Z-Push on the same web server where Zimbra is. It&#039;s not worth it.

Before doing this I was stuck on this error:

problem accessing /service/extension/zimbrasync. reason:
system failure: extension http handler not found at /zimbrasync
powered by jetty://

Now we have Sync&#039;d an iPhone 3GS using iOS 5 and a Samsung Galaxy Tab. Calendar, contact and task sync perfect. Mail comes, mail goes... Can&#039;t see how can this get any better.</description>
		<content:encoded><![CDATA[<p>Just to let you guys know that it works PERFECTLY.</p>
<p>My environment:</p>
<p>Zimbra Server:<br />
SLES 10 SP3<br />
Zimbra OSS 7.0.1 + Godaddy SSL Certs</p>
<p>Z-Push server:<br />
SLES 11 SP1<br />
Z-Push 1.5.5<br />
Z-Push Zimbra Backend Release 51<br />
Apache 2 + php5 + php-curl + Godaddy SSL Certs</p>
<p>The above configuration that needs to be done on the config.php file is perfect, no need to do anything else.</p>
<p>The whole secret is: DO NOT attempt to put Z-Push on the same web server where Zimbra is. It&#8217;s not worth it.</p>
<p>Before doing this I was stuck on this error:</p>
<p>problem accessing /service/extension/zimbrasync. reason:<br />
system failure: extension http handler not found at /zimbrasync<br />
powered by jetty://</p>
<p>Now we have Sync&#8217;d an iPhone 3GS using iOS 5 and a Samsung Galaxy Tab. Calendar, contact and task sync perfect. Mail comes, mail goes&#8230; Can&#8217;t see how can this get any better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul de la Flor</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-42</link>
		<dc:creator>Raul de la Flor</dc:creator>
		<pubDate>Thu, 29 Sep 2011 10:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-42</guid>
		<description>Hi, we have a Zimbra 6 on a Ubuntu LTS 8.04.
Also on DMZ we have an antispam server.
¿Could we install Zpush on the DMZ server or it needs to be installed on the same Zimbra server?

Best regards,
Raul</description>
		<content:encoded><![CDATA[<p>Hi, we have a Zimbra 6 on a Ubuntu LTS 8.04.<br />
Also on DMZ we have an antispam server.<br />
¿Could we install Zpush on the DMZ server or it needs to be installed on the same Zimbra server?</p>
<p>Best regards,<br />
Raul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snib</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-40</link>
		<dc:creator>Snib</dc:creator>
		<pubDate>Tue, 09 Aug 2011 18:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-40</guid>
		<description>sbourdette, 

I had this same problem with revision 50 and found it was in issue in &quot;function SoapRequest&quot; in the zimbra.php file. In revision 50 this is at line 6752 and the code with the issue is at line 6800. The code is attempting to check if the session id has changed during a SOAP request. The error is that during an &quot;ENDSESSIONREQUEST&quot; there is no sessionid token in the SOAP response. All I did was comment out this lines of code as follows:

/*
        $newSessionId =  $this-&gt;ExtractSessionID($response);
        if (!isset($this-&gt;_sessionid)) {
            debugLog( &#039;Session Id - NEW [&#039;.$newSessionId.&#039;]&#039; );
            $this-&gt;_sessionid = $newSessionId;
        } else if ($newSessionId != $this-&gt;_sessionid) {
            debugLog( &#039;Session Id changed - OLD [&#039;.$this-&gt;_sessionid.&#039;] -&gt; NEW [&#039;.$newSessionId.&#039;]&#039; );
            $this-&gt;_sessionid = $newSessionId;
            $this-&gt;_sessionIdChanged = true;
        }

        if (defined(&#039;ZIMBRA_DEBUG&#039;)) {
            if ((ZIMBRA_DEBUG === true) &#124;&#124; (stripos(ZIMBRA_DEBUG, $this-&gt;_username) !== false)) {
                debugLog(&#039;SOAP response: &#039;.$response);
            }
        }
*/


This is a bit of a brute force approach as the code is valid for other SOAP request types so should only be bypassed for the &quot;ENDSESSIONREQUEST&quot;.

Anyway, this will get you round the problem for the moment. I will look at the code again and create a more selective change and post it to the Zimbra BackEnd site.

Regards

Richard</description>
		<content:encoded><![CDATA[<p>sbourdette, </p>
<p>I had this same problem with revision 50 and found it was in issue in &#8220;function SoapRequest&#8221; in the zimbra.php file. In revision 50 this is at line 6752 and the code with the issue is at line 6800. The code is attempting to check if the session id has changed during a SOAP request. The error is that during an &#8220;ENDSESSIONREQUEST&#8221; there is no sessionid token in the SOAP response. All I did was comment out this lines of code as follows:</p>
<p>/*<br />
        $newSessionId =  $this-&gt;ExtractSessionID($response);<br />
        if (!isset($this-&gt;_sessionid)) {<br />
            debugLog( &#8216;Session Id &#8211; NEW ['.$newSessionId.']&#8216; );<br />
            $this-&gt;_sessionid = $newSessionId;<br />
        } else if ($newSessionId != $this-&gt;_sessionid) {<br />
            debugLog( &#8216;Session Id changed &#8211; OLD ['.$this-&gt;_sessionid.'] -&gt; NEW ['.$newSessionId.']&#8216; );<br />
            $this-&gt;_sessionid = $newSessionId;<br />
            $this-&gt;_sessionIdChanged = true;<br />
        }</p>
<p>        if (defined(&#8216;ZIMBRA_DEBUG&#8217;)) {<br />
            if ((ZIMBRA_DEBUG === true) || (stripos(ZIMBRA_DEBUG, $this-&gt;_username) !== false)) {<br />
                debugLog(&#8216;SOAP response: &#8216;.$response);<br />
            }<br />
        }<br />
*/</p>
<p>This is a bit of a brute force approach as the code is valid for other SOAP request types so should only be bypassed for the &#8220;ENDSESSIONREQUEST&#8221;.</p>
<p>Anyway, this will get you round the problem for the moment. I will look at the code again and create a more selective change and post it to the Zimbra BackEnd site.</p>
<p>Regards</p>
<p>Richard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sbourdette</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-38</link>
		<dc:creator>sbourdette</dc:creator>
		<pubDate>Sun, 22 May 2011 20:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-38</guid>
		<description>&lt;a href=&quot;#comment-33&quot; rel=&quot;nofollow&quot;&gt;@Timo Pagel&lt;/a&gt; 

Hello,

I get this message in the debug after loading my folders:
Session Id changed - OLD [1854] -&gt; NEW []

Z-push : 1.5.2
backend : 49

I have never been able to sync !

Help please !</description>
		<content:encoded><![CDATA[<p><a href="#comment-33" rel="nofollow">@Timo Pagel</a> </p>
<p>Hello,</p>
<p>I get this message in the debug after loading my folders:<br />
Session Id changed &#8211; OLD [1854] -&gt; NEW []</p>
<p>Z-push : 1.5.2<br />
backend : 49</p>
<p>I have never been able to sync !</p>
<p>Help please !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zack Myles</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-36</link>
		<dc:creator>Zack Myles</dc:creator>
		<pubDate>Mon, 07 Mar 2011 02:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-36</guid>
		<description>It&#039;s March 2011.  Has there been any progress in getting a proper sync with Zimbra and Z-push?  

I get the error listed above and after researching it.. I keep ending up with;  &quot;if it&#039;s the open source version&quot;  then you&#039;re out of luck.  Buy the network edition. 

The whole purpose of this post is to do this without having to buy the Network Edition.

Anyone have some up to date instructions?

I&#039;m using Debian Squeeze and Zimbra ZCS 6.0 Open Source Edition.

Thanks.
Zack</description>
		<content:encoded><![CDATA[<p>It&#8217;s March 2011.  Has there been any progress in getting a proper sync with Zimbra and Z-push?  </p>
<p>I get the error listed above and after researching it.. I keep ending up with;  &#8220;if it&#8217;s the open source version&#8221;  then you&#8217;re out of luck.  Buy the network edition. </p>
<p>The whole purpose of this post is to do this without having to buy the Network Edition.</p>
<p>Anyone have some up to date instructions?</p>
<p>I&#8217;m using Debian Squeeze and Zimbra ZCS 6.0 Open Source Edition.</p>
<p>Thanks.<br />
Zack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Z-Push Zimbra Backend (Push Email, Contacts, Appointments &#38; Tasks) - Page 45 - Zimbra :: Forums</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-35</link>
		<dc:creator>Z-Push Zimbra Backend (Push Email, Contacts, Appointments &#38; Tasks) - Page 45 - Zimbra :: Forums</dc:creator>
		<pubDate>Wed, 09 Feb 2011 09:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-35</guid>
		<description>[...] Push email, contacts and calendar with Zimbra 6 Opensource &amp; Z-Push &#8211; ActiveSync &#124; slashde...  Think thats been posted a few times - most of it still relavent, few changes, but generally correct; works with Zimbra 7. When i get time ill update it [...]</description>
		<content:encoded><![CDATA[<p>[...] Push email, contacts and calendar with Zimbra 6 Opensource &amp; Z-Push &#8211; ActiveSync | slashde&#8230;  Think thats been posted a few times &#8211; most of it still relavent, few changes, but generally correct; works with Zimbra 7. When i get time ill update it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slav</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-34</link>
		<dc:creator>slav</dc:creator>
		<pubDate>Wed, 19 Jan 2011 12:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-34</guid>
		<description>I&#039;m having truble to get the email attachment on iphone 4 (z-push 1.5, backend 46). Otherwise everything elese is working any idea?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having truble to get the email attachment on iphone 4 (z-push 1.5, backend 46). Otherwise everything elese is working any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo Pagel</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-33</link>
		<dc:creator>Timo Pagel</dc:creator>
		<pubDate>Sun, 28 Nov 2010 19:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-33</guid>
		<description>Hi,

i fixed it by myself with the following codechanges in line 165 of index.php:
// Do the actual request
if ($_SERVER[&quot;REQUEST_METHOD&quot;] == &#039;GET&#039; &amp;&amp; $cmd == &#039;OPTIONS&#039;) {
        header(&quot;MS-Server-ActiveSync: 6.5.7638.1&quot;);
        header(&quot;MS-ASProtocolVersions: 1.0,2.0,2.1,2.5&quot;);
        header(&quot;MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Ping&quot;);
        debugLog(&quot;Options request&quot;);

}
switch($_SERVER[&quot;REQUEST_METHOD&quot;]) {</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i fixed it by myself with the following codechanges in line 165 of index.php:<br />
// Do the actual request<br />
if ($_SERVER["REQUEST_METHOD"] == &#8216;GET&#8217; &amp;&amp; $cmd == &#8216;OPTIONS&#8217;) {<br />
        header(&#8220;MS-Server-ActiveSync: 6.5.7638.1&#8243;);<br />
        header(&#8220;MS-ASProtocolVersions: 1.0,2.0,2.1,2.5&#8243;);<br />
        header(&#8220;MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Ping&#8221;);<br />
        debugLog(&#8220;Options request&#8221;);</p>
<p>}<br />
switch($_SERVER["REQUEST_METHOD"]) {</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-32</link>
		<dc:creator>Timo</dc:creator>
		<pubDate>Sun, 28 Nov 2010 15:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-32</guid>
		<description>Hi,

i allways getting &quot;could not open connection&quot; (German: Die Verbinung zu Server kann nicht geöffnet werden), but i can see the connection in the Apache-Log and in the debug.txt.

I tried the new  Revision      :   46 (11-Nov-2010) and the version descripted in this howto.

I open the connection via WLAN.

My debug.txt:
11/28/10 16:36:15 [23841] Start
11/28/10 16:36:15 [23841] Z-Push version: 1.4.3 486
11/28/10 16:36:15 [23841] Client IP: 86.103.230.168
11/28/10 16:36:15 [23841] Client supports version 2.5
11/28/10 16:36:15 [23841] PHP Version: 5.3.2-1ubuntu4.5 - Zimbra Z-Push Backend Version: 46
11/28/10 16:36:15 [23841] START Logon { username = wursttest; domain = ; password =  }
11/28/10 16:36:15 [23841] Session Id changed - new session [12102]
11/28/10 16:36:15 [23841] END Logon { connected = true; uid = wursttest }
11/28/10 16:36:15 [23841] START Setup { userid = wursttest; devid = droid946684858512; protocolversion = 2.5; useragent = Android/0.3 }
11/28/10 16:36:15 [23841] No XML Profile File [/var/www/z-push/zimbra/wursttest.xml] Found For User - Default Rules Will Apply
11/28/10 16:36:15 [23841] END Setup { 13 Folders Loaded }
11/28/10 16:36:15 [23841] START Logoff
11/28/10 16:36:15 [23841] Session Id changed - new session []
11/28/10 16:36:15 [23841] END Logoff
11/28/10 16:36:15 [23841] end
11/28/10 16:36:15 [23841] --------

If i enable ZIMBRA_DEBUG, i can see my mail-folders.
My config.php:
define(&#039;PROVISIONING&#039;, false);
// ***********************
// Zimbra Backend Settings
// ***********************
$BACKEND_PROVIDER = &quot;BackendZimbra&quot;;
define(&#039;ZIMBRA_USER_DIR&#039;, &#039;zimbra&#039;);
define(&#039;ZIMBRA_URL&#039;, &#039;https://privzimbra.v-server.tng.de&#039;);
define(&#039;ZIMBRA_SYNC_CONTACT_PICTURES&#039;, false);
define(&#039;ZIMBRA_VIRTUAL_CONTACTS&#039;,false);
define(&#039;ZIMBRA_VIRTUAL_APPOINTMENTS&#039;,false);
define(&#039;ZIMBRA_VIRTUAL_TASKS&#039;,false);
define(&#039;ZIMBRA_IGNORE_EMAILED_CONTACTS&#039;,false);
define(&#039;ZIMBRA_HTML&#039;,true);
//define(&#039;ZIMBRA_DEBUG&#039;,true);

Do you have an idear to get z-push working?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i allways getting &#8220;could not open connection&#8221; (German: Die Verbinung zu Server kann nicht geöffnet werden), but i can see the connection in the Apache-Log and in the debug.txt.</p>
<p>I tried the new  Revision      :   46 (11-Nov-2010) and the version descripted in this howto.</p>
<p>I open the connection via WLAN.</p>
<p>My debug.txt:<br />
11/28/10 16:36:15 [23841] Start<br />
11/28/10 16:36:15 [23841] Z-Push version: 1.4.3 486<br />
11/28/10 16:36:15 [23841] Client IP: 86.103.230.168<br />
11/28/10 16:36:15 [23841] Client supports version 2.5<br />
11/28/10 16:36:15 [23841] PHP Version: 5.3.2-1ubuntu4.5 &#8211; Zimbra Z-Push Backend Version: 46<br />
11/28/10 16:36:15 [23841] START Logon { username = wursttest; domain = ; password =  }<br />
11/28/10 16:36:15 [23841] Session Id changed &#8211; new session [12102]<br />
11/28/10 16:36:15 [23841] END Logon { connected = true; uid = wursttest }<br />
11/28/10 16:36:15 [23841] START Setup { userid = wursttest; devid = droid946684858512; protocolversion = 2.5; useragent = Android/0.3 }<br />
11/28/10 16:36:15 [23841] No XML Profile File [/var/www/z-push/zimbra/wursttest.xml] Found For User &#8211; Default Rules Will Apply<br />
11/28/10 16:36:15 [23841] END Setup { 13 Folders Loaded }<br />
11/28/10 16:36:15 [23841] START Logoff<br />
11/28/10 16:36:15 [23841] Session Id changed &#8211; new session []<br />
11/28/10 16:36:15 [23841] END Logoff<br />
11/28/10 16:36:15 [23841] end<br />
11/28/10 16:36:15 [23841] &#8212;&#8212;&#8211;</p>
<p>If i enable ZIMBRA_DEBUG, i can see my mail-folders.<br />
My config.php:<br />
define(&#8216;PROVISIONING&#8217;, false);<br />
// ***********************<br />
// Zimbra Backend Settings<br />
// ***********************<br />
$BACKEND_PROVIDER = &#8220;BackendZimbra&#8221;;<br />
define(&#8216;ZIMBRA_USER_DIR&#8217;, &#8216;zimbra&#8217;);<br />
define(&#8216;ZIMBRA_URL&#8217;, &#8216;https://privzimbra.v-server.tng.de&#8217;);<br />
define(&#8216;ZIMBRA_SYNC_CONTACT_PICTURES&#8217;, false);<br />
define(&#8216;ZIMBRA_VIRTUAL_CONTACTS&#8217;,false);<br />
define(&#8216;ZIMBRA_VIRTUAL_APPOINTMENTS&#8217;,false);<br />
define(&#8216;ZIMBRA_VIRTUAL_TASKS&#8217;,false);<br />
define(&#8216;ZIMBRA_IGNORE_EMAILED_CONTACTS&#8217;,false);<br />
define(&#8216;ZIMBRA_HTML&#8217;,true);<br />
//define(&#8216;ZIMBRA_DEBUG&#8217;,true);</p>
<p>Do you have an idear to get z-push working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tawich</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/comment-page-1/#comment-31</link>
		<dc:creator>tawich</dc:creator>
		<pubDate>Fri, 26 Nov 2010 08:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44#comment-31</guid>
		<description>Hello, this post helpfull me
is Z-push works with Zimbra Opensource 7.0 Helix ?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello, this post helpfull me<br />
is Z-push works with Zimbra Opensource 7.0 Helix ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

