Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Take your Zimbra with you!
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by liverpoolfcfan »

Please don't use this thread for troubleshooting questions as it is already huge. Use the support forum Z-Push Zimbra Backend / Support Requests instead.

Z-Push Zimbra Backend / Support Requests
As regards the WARNing messages - you can fix them quite easily by changing either the "Public service host name" for the domain in the admin console to remove the :443, or changing the zimbra_url in the config.php file to add :443.
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by liverpoolfcfan »

Release 58 of the z-push zimbra backend has been uploaded to SourceForge https://sourceforge.net/projects/zimbrabackend/
As always - please read the full Release Notes before upgrading

Changes Made To Revision 58:
These changes are for the z-push-2 version ONLY

The z-push-1 and as12.1 versions are still at Revision 54
- Fix Logoff to only call EndSessionRequest if session was _connected and

also add try/catch to ensure no exceptions are throw back to index.php

- Change flagged memory amount to 10M in ReportMemoryUsage

- Filter out Content-Transfer-Encoding header in SendMail

- Fix content-transfer-encoding substring length (change from 13 to 26)

- Add authToken back into SoapRequest header as it seems that passing it as

a cookie does not suffice in all scenarios

- Implement Flags support to sync set/unset flags both ways. Also sends

updated LastVerbExecuted

- Removed default value "=false" from $contentParameters parameter on

functions MoveMessage, ChangeMessage, DeleteMessage and SetReadFlag

- Change GetDocumentLibrary to use exact filename given (remove str_replace)

valles
Posts: 8
Joined: Sat Sep 13, 2014 2:39 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by valles »

@liverpoolfcfan

Thanks for the wonderful work.
Just want to let you know that I was getting curl_exec error 35 for a while in z-push-error.log. I finally got around to look into it and I added CURLOPT_SSLVERSION, 3 and the error went away. My box is Ubuntu 10.04 with PHP 5.3.
UPDATE: Oops. Spoke too soon. It's still there Zimbra->SoapRequest(): ERROR: curl_exec - (35) Unknown SSL protocol error in connection to host.domain.com:443
UPDATE2: Ok, instead of disabling ciphers, I added curl_setopt CURLOPT_CIPHER_LIST and make it AES256-SHA. No more errors.
anudeep@itopstube.com
Posts: 29
Joined: Sat Sep 13, 2014 3:02 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by anudeep@itopstube.com »

Really great. .
Thanks for doing this z-push..
I am looking for this type of open source plug in for past few years. .
-- Sent from my smart phone
drdre
Outstanding Member
Outstanding Member
Posts: 411
Joined: Fri Sep 12, 2014 10:43 pm

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by drdre »

Z-push works great and liverpoolfcfan has been great help with any issues i have had with it over the 2 years we been using it.
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by liverpoolfcfan »

Release 59 of the z-push zimbra backend has been uploaded to SourceForge https://sourceforge.net/projects/zimbrabackend/
As always - please read the full Release Notes before upgrading

Changes Made To Revision 59:
These changes are for the z-push-2 version ONLY

The z-push-1 and as12.1 versions are still at Revision 54
- Add folders to local cache to reduce server load on Logon, especially on

initial sync where the device will repeatedly connect to request more data

while at the same time few if any changes will be made to the server content

- Added setting CURLOPT_SSLVERSION, 3 to avoid errors on some platforms

- Improved publicURL matching and reduced associated logging

- Changed RowCmp() fix in diffstate.php to allow testing for presence of fix

- Added test for RowCmp() fix to Logon() function. If the fix is not detected

an error is logged to z-push-error.log

- Fix adding appointment to shared calendar

- Fix changes to shared calendars notified on linkid instead of zimbrafolderid

Note zimbra considers these non-critical so does not notify immediately. The

notification will be returned when the current ChangesSink expires

- Remove restriction on moving items between personal/shared folders as

fix for notifications in this release solves the issue

- Make sure dayofweek/dayofmonth values are set before outputting appointments

- Make sure exceptions arrays exist before foreach in ChangeMessage (APPT)

- Added loop to check for changes to both folders and links in ChangesSink

- Added User Agent string to soap context headers

- Removed .z-push-2 extension from revision as other versions are deprecated

- Added extra checks for notify block in ChangesSink to catch some previously

missed notifications, and to identify item Moves

- Set default timeout to 60 seconds on ChangesSink

- Various code clean-ups

amayamartin82
Posts: 8
Joined: Sat Sep 13, 2014 3:31 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by amayamartin82 »

[quote user="mmorse"]Cool, email shouldn't be hard: Open Source Mobile Push Mail - Zimbra :: Wiki (The current z-push if you want to expand that to document how contacts work.)


The funambol one: Open Source Mobile Calendar and Contact Synchronization - Zimbra :: Wiki

(Should probably rename those sometime / keep each product to a page - it was back when funambol was for cal/contacts & z-push was just mail.)[/QUOTE]
Hey I wasn't able to find a thanks button so sending you a text. Thanks...
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by phoenix »

[quote user="amayamartin82"]Hey I wasn't able to find a thanks button so sending you a text. Thanks...[/QUOTE]There are four little symbols at the bottom left of each post, the second from the left (hover your cursor over it) is "Add to this user's reputation" - click on it.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by liverpoolfcfan »

Release 60 of the z-push zimbra backend has been uploaded to SourceForge https://sourceforge.net/projects/zimbrabackend/
As always - please read the full Release Notes before upgrading
Changes Made To Revision 60:
These changes are for the z-push-2 version ONLY

The z-push-1 and as12.1 versions are still at Revision 54
- Save folder owner at Setup for shared folders, and use folder owner as

organizer when creating appointments in a shared calendar folder

- Add new function isZimbraObjectInSyncInterval() to check if an item being

changed/deleted by a device is within the devices sync window.

- Assign default of 'Unavailable' to _changeToken if it is not already set

- Initialise _cacheChangeToken to 'NotSet' if cache is not used

- Do not use absFolderPath for shared folder as it is path in other mailbox

- Rename _deviceAgent to _ua

- Add 'Android/4.4' as a multi-folder capable _ua string

- Removed uninitialized variable _num_soap_calls from function SoapRequest()

- Add authToken to header for NoOpRequest() calls for Nginx traversal

- Don't call isZimbraObjectInSyncInterval() from ChangeMessage if id is blank

- Add check for parentid '0' in GetFolder() before identifying it as a

special folder - Inbox, Sent, Trash, Drafts, Outbox

- Change the eol in SendMail from "
" to "
" as Outlook 2013 was unable

to display Sent Items correctly with "
"
drdre
Outstanding Member
Outstanding Member
Posts: 411
Joined: Fri Sep 12, 2014 10:43 pm

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Post by drdre »

Would upgrading from Ubuntu 12.04 lts to 14.04 lts break my z-push 2.0 install ?
Post Reply