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

Take your Zimbra with you!
samgreco
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 11:18 pm

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

Post by samgreco »

Well, I am getting closer, but still no go on the phones. I can log on to the system from a browser and I get:
Z-Push - Open Source ActiveSync

Version 1.5.1 (517)

GET not supported

This is the z-push location and can only be accessed by Microsoft ActiveSync-capable devices.
But if I try to sync the Android phone I get the message on the phone - Error renewing subscription: Refresh folder list and try again. And the error.log on the Z-Push server has the following:



[Mon Feb 14 17:25:08 2011] [error] [client 192.168.0.88] File does not exist: /var/www/ews

[Mon Feb 14 17:25:08 2011] [error] [client 192.168.0.88] File does not exist: /var/www/ews



On the iPhone I get "Unable to verify account" and the error.log says:



[Mon Feb 14 17:21:04 2011] [error] [client 127.0.0.1] File does not exist: /var/www/Microsoft-Server-ActiveSync

[Mon Feb 14 17:21:04 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico

[Mon Feb 14 17:21:04 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico


I also noticed that if I use /Microsoft-Server-ActiveSync in a browser, it doesn't work. It needs to have the trailing /. Is that correct?
Any pointers would be greatly appreciated.
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

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

Post by liverpoolfcfan »

[quote user="samgreco"]Well, I am getting closer, but still no go on the phones. I can log on to the system from a browser and I get:

[/QUOTE]
Can you login from a browser on your phone ?
[QUOTE]I also noticed that if I use /Microsoft-Server-ActiveSync in a browser, it doesn't work. It needs to have the trailing /. Is that correct?

[/QUOTE]
That would depend on the Alias directive you put in your apache configuration. It sounds like you put a trailing slash on the ActiveSync directive - which would cause the behaviour you are describing.
It should look like this ...
Alias /Microsoft-Server-ActiveSync /var/www/.../index.php
and NOT like this
Alias /Microsoft-Server-ActiveSync/ /var/www/.../index.php
where /var/www/... is replaced with the correct path to your z-push home directory.
Note that there is no trailing "/" after ActiveSync in the correct directive.


If you still cannot get it working, please give more details of your setup. Is it HTTPS? Self-signed cert ? Are you connecting to Zimbra using HTTP ? etc.
samgreco
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 11:18 pm

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

Post by samgreco »

That was indeed it. I am now syncing. But I have a couple of minor issues.
It is syncing a shared calendar, but not the main one. Also, it is syncing all of me contact folders. Is there any way to specify what folders/items are synced?
samgreco
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 11:18 pm

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

Post by samgreco »

All calendar items and contacts are now syncing. Is there any way to filter contact folders and shared calendars?
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

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

Post by liverpoolfcfan »

[quote user="samgreco"]All calendar items and contacts are now syncing. Is there any way to filter contact folders and shared calendars?[/QUOTE]
The only way to filter them is to use XML files. See the notes at the top of the script for details
samgreco
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 11:18 pm

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

Post by samgreco »

Sorry, I was so focused on getting it communicating, that I completely missed that. Thanks for all of your help.
BTW, this is very nicely done. I have it on my webhosting VPS server pointed at my Zimbra server here at my office and it's fast and completely transparent.
alex_rhys-hurn
Posts: 32
Joined: Sat Sep 13, 2014 12:50 am

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

Post by alex_rhys-hurn »

Hello:
I am using:
Zimbra Release 7.0.0_GA_3077.UBUNTU10_64 UBUNTU10_64 FOSS edition.

Z-Push 1.5.1

Z-Push ZImbra Backend 48

Nokia E72 with Mail for Exchange 3
Z-Push runs on a physically separate ubutnu 8.04 turnkey linux LAMP VM on vsphere 4.1
I have been using the z-push since 1.4.1, backend since 46 and zimbra since 6.0.9 FOSS
Everything works as expected with the exception of the following:
I if open an email and read it, and then choose to forward it to another address, the forwarded content goes missing. The added text that I type is there, e.g. see forwarded mail below, but the forwarded text or attachments disappear.
Why is that?
I have debug.txt enabled but cant see anything in there of note. But then it does generate a HUGE amount of high speed info. Could have missed something.
My config.php is as follows:
$BACKEND_PROVIDER = "BackendZimbra";

// ************************

// BackendZIMBRA settings

// ************************

define('ZIMBRA_URL', 'http://mail.itworx.co.tz');

define('ZIMBRA_USER_DIR', 'zimbra_user');

define('ZIMBRA_SYNC_CONTACT_PICTURES', true);

define('ZIMBRA_VIRTUAL_CONTACTS',true);

define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);

define('ZIMBRA_VIRTUAL_TASKS',true);

define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);

define('ZIMBRA_HTML',false);

define('ZIMBRA_ENFORCE_VALID_EMAIL',true);
//=== Optional Zimbra Specific Debug Information ===

define('ZIMBRA_DEBUG',true);
//=== Optional for Nokia Compatibility ===

define('ZIMBRA_NOKIA_MFE_FIX',true);

define('ZIMBRA_NOKIA_MFE_ALWAYS_OVERWRITE',true);
Any help much appreciated.
Alex
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

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

Post by liverpoolfcfan »

Actually, I'm pretty sure that problem has always been there with Nokia. I have noticed it with my E71 as well using zimbra 1.6, and already have a potential fix for this issue in testing right now. It should be included in release 49.
samgreco
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 11:18 pm

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

Post by samgreco »

Last step for me. User.XML files.
First, if my config.php has this line:



define('ZIMBRA_USER_DIR', 'zimbra');
Then I would think that the folder for the XML file would be Z-Pushzimbra correct?
I have placed a file there but it does not seem to be filtering. Here is the contents of the file:









[ | ... ]

[ ... ]







[ ... ]







[ ... ]







[ ... ]








What am I missing?
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

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

Post by liverpoolfcfan »

You didn't remove the "optional" bits The [ ] signify optional elements
Is your Calendar really called "Calendars" - with an s on the end ?
Try this ...






































Post Reply