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

Take your Zimbra with you!
dld75
Posts: 5
Joined: Sat Sep 13, 2014 3:21 am

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

Postby dld75 » Mon Oct 14, 2013 1:28 pm

[quote user="liverpoolfcfan"]The z-push zimbra backend does not use PHP-MAPI
I suspect you still have the original z-push config.php setting
define('BACKEND_PROVIDER', "BackendZarafa");
You need to change that to
define('BACKEND_PROVIDER', "BackendZimbra");
to use the Zimbra backend[/QUOTE]


Thanks for the reply,
After setting Backend Zimbra 56.1 now I can access from a PC :

But">http://correo.dominio.com/Microsoft-Server-ActiveSync
But after entering a username and password the message :
Z-Push - Open Source ActiveSync

Version 2.1.0-1750

GET not supported

This is the Z-Push location and can only be accessed by Microsoft ActiveSync-capable devices

I could add my own Mail to Cell, however when starting the sync displays the message:
waiting synchronization

Your email will appear soon

It's been several hours and does not end.
cat /var/log/z-push/access.log
aaa.bbb.ccc.ddd - - [14/Oct/2013:13:11:05 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

vvv.xxx.yyy.zzz - nombre.apellido [14/Oct/2013:13:11:05 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=nombre.apellido&DeviceId=androidc2014342115&DeviceType=LGE612g HTTP/1.1" 200 63 "-" "LGE612g/4.0.3-EAS-1.3"


cat /var/log/z-push/error.log
[Mon Oct 14 13:16:44 2013] [error] [client mmm.nnn.ooo.ppp] File does not exist: /var/www/html/service
cat /var/log/z-push/z-push.log
14/10/2013 13:19:10 [15395] [INFO] [nombre.apellido] Version='2.1.0-1750' method='POST' from='aaa.eee.ooo.uuu' cmd='FolderSync' getUser='nombre.apellido' devId='androidc2014342115' devType='LGEg'

14/10/2013 13:19:10 [15395] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryAddressbook (8)

14/10/2013 13:19:10 [15395] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryCalendar (8)

14/10/2013 13:19:10 [15395] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryTask (8)

14/10/2013 13:19:10 [15395] [INFO] [nombre.apellido] ExportChangesDiff->InitializeExporter(): Found '0' changes


That I can do to correct the problem?

I await your kind help, thanks.


dld75
Posts: 5
Joined: Sat Sep 13, 2014 3:21 am

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

Postby dld75 » Wed Oct 16, 2013 10:38 am

Thanks for the reply liverpoolfcfan.
Install and configure Zimbra Backend 56.1
But when I access from a PC to the URL:

After">http://correo.dominio.com/Microsoft-Server-ActiveSync
After entering the username and password displays the error message:
Z-Push - Open Source ActiveSync

Version 2.1.0-1750

GET not supported

This is the Z-Push location and can only be accessed by Microsoft ActiveSync-capable devices

cat /var/log/z-push/access.log
aaa.bbb.ccc.ddd - nombre.apellido [16/Oct/2013:09:39:19 -0500] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 200 948 "-" "Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0"
cat /var/log/z-push/error.log
[Wed Oct 16 09:38:37 2013] [error] [client aaa.bbb.ccc.ddd] Directory index forbidden by Options directive: /var/www/html/

[Wed Oct 16 09:38:37 2013] [error] [client aaa.bbb.ccc.ddd] File does not exist: /var/www/html/favicon.ico

[Wed Oct 16 09:39:19 2013] [error] [client eee.ffff.ggg.hhh] File does not exist: /var/www/html/service

[Wed Oct 16 09:39:19 2013] [error] [client eee.ffff.ggg.hhh] File does not exist: /var/www/html/service


cat /var/log/z-push/z-push.log
16/10/2013 09:38:45 [15394] [INFO] [unknown] Version='2.1.0-1750' method='GET' from='aaa.bbb.ccc.ddd' cmd='' getUser='unknown' devId='' devType=''

16/10/2013 09:38:45 [15394] [INFO] [unknown] AuthenticationRequiredException: Access denied. Please send authorisation information - code: 0

16/10/2013 09:38:45 [15394] [INFO] [unknown] User-agent: 'Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0'

16/10/2013 09:39:19 [15389] [INFO] [nombre.apellido] Version='2.1.0-1750' method='GET' from='aaa.bbb.ccc.ddd' cmd='' getUser='nombre.apellido' devId='' devType=''

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryAddressbook (8)

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryCalendar (8)

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryTask (8)

16/10/2013 09:39:19 [15389] [INFO] [nombre.apellido] User-agent: 'Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0'

Add an account Microsoft Exchange ActiveSync to cell starts the synchronization process.

After several hours this process does not end.
cat /var/log/z-push/access.log
eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

vvv.xxx.yyy.zzz - nombre.apellido [16/Oct/2013:10:19:34 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=daniel.lopez&DeviceId=and roidc2014342115&DeviceType=LGE612g HTTP/1.1" 200 63 "-" "LGE612g/4.0.3-EAS-1.3"


cat /var/log/z-push/error.log
[Wed Oct 16 10:23:52 2013] [error] [client eee.fff.ggg.hhh] File does not exist: /var/www/html/service
cat /var/log/z-push/z-push.log
16/10/2013 10:23:52 [15389] [INFO] [nombre.apellido] Version='2.1.0-1750' method='POST' from='vvv.xxx.yyy.zzz' cmd='FolderSync' getUser='nombre.apellido' devId='androidc2014342115' devType='LGEg'

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryAddressbook (8)

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryCalendar (8)

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryTask (8)

16/10/2013 10:23:52 [15389] [INFO] [nombre.apellido] ExportChangesDiff->InitializeExporter(): Found '0' changes


I ask for your help to identify where the problem originates.
Thanks
mofog
Posts: 5
Joined: Sat Sep 13, 2014 1:19 am

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

Postby mofog » Wed Oct 23, 2013 2:26 am

Hello again!
I've been testing the backend module and and it works very well so far. However, I might have discovered an issue with reoccurring events. Assume this:
I create a reoccurring event starting in week 1. That new event will be synchronized correctly to all devices via CalDAV and z-push. Now, I use iCal (CardDAV) to delete one item in a subsequent week, e.g., the second week. That change is immediately visible in the web UI, too. However, the deleted item remains on the devices synchronized via z-push. That behavior is pretty "unexpected", isn't it? Any ideas on that? Do you need further details or log files? I'd like to help.
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 909
Joined: Sat Sep 13, 2014 12:47 am

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

Postby liverpoolfcfan » Wed Oct 23, 2013 4:01 am

[quote user="mofog"]Hello again!
I've been testing the backend module and and it works very well so far. However, I might have discovered an issue with reoccurring events. Assume this:
I create a reoccurring event starting in week 1. That new event will be synchronized correctly to all devices via CalDAV and z-push. Now, I use iCal (CardDAV) to delete one item in a subsequent week, e.g., the second week. That change is immediately visible in the web UI, too. However, the deleted item remains on the devices synchronized via z-push. That behavior is pretty "unexpected", isn't it? Any ideas on that? Do you need further details or log files? I'd like to help.[/QUOTE]

I have never used CalDAV but - having just set it up on Thunderbird/Lightening to test - this is indeed an interesting one. For some reason the zimbra CalDAV implementation rewrites the exceptions on appointments in a completely different way in the backend. I have never seen that format used before. It gets even more interesting if you subsequently remove another single appointment using the GUI - then you get 2 different sets of exceptions reported on the calendar item. I will take a look to see if I can handle it.
7224jobe
Advanced member
Advanced member
Posts: 103
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.6.0_GA_1153.RHEL6_64

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

Postby 7224jobe » Wed Oct 23, 2013 8:30 am

Hi everybody! I am experiencing an issue with ZIMBRA_DISABLE_MULTI_CALENDARS directive: even if it is set it true, on my iPhone I am still able to see shared calendars...am I missing something? I am using Z-push 2.0.7 and backend version 56.
Here is my /srv/www/htdocs/z-push/backend/zimbra/config.php:
    // **********************    //  BackendZimbra settings    // **********************

define('ZIMBRA_URL', 'http://mail.xxx.com');

define('ZIMBRA_USER_DIR', 'users');

define('ZIMBRA_SYNC_CONTACT_PICTURES', false);

define('ZIMBRA_VIRTUAL_CONTACTS',false);

define('ZIMBRA_VIRTUAL_APPOINTMENTS',false);

define('ZIMBRA_VIRTUAL_TASKS',false);

define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);

define('ZIMBRA_HTML',true);
define('ZIMBRA_DISABLE_MULTI_CALENDARS',true);

define('ZIMBRA_DISABLE_MULTI_TASK_LISTS',true);
// define('ZIMBRA_TIMEZONE', 'Europe/Dublin');

define('ZIMBRA_ENFORCE_VALID_EMAIL', true);

define('ZIMBRA_SMART_FOLDERS',false);

define('ZIMBRA_RETRIES_ON_HOST_CONNECT_ERROR',5);

define('ZIMBRA_LOCAL_CACHE', true);

// define('ZIMBRA_MB_DETECT_ORDER', 'ASCII, UTF-8, ISO-8859-1, ISO-8859-15' );

define('ZIMBRA_DEBUG',true);

// define('ZIMBRA_DEBUG','setup');

// define('ZIMBRA_DEBUG','username');
// In case Function Overload is being detect for mbstring functions we set the define

// to the overload level so that we can handle binary data propper...

define('MBSTRING_OVERLOAD', (extension_loaded('mbstring') ? ini_get('mbstring.func_overload') : false));




And here is the log of the first sync (I used an iPhone 5):


14:43:30 [26684] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='OPTIONS' from='10.232.16.99' cmd='' getUser='test2@xxx.com' devId='' devType=''

14:43:30 [26684] [INFO] [test2@xxx.com] Options request

14:43:31 [26682] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='OPTIONS' from='10.232.16.99' cmd='' getUser='test2@xxx.com' devId='' devType=''

14:43:31 [26682] [INFO] [test2@xxx.com] Options request

14:43:32 [26681] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='FolderSync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:32 [26681] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '14' changes

14:43:33 [26681] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Settings' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:33 [26680] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='OPTIONS' from='10.232.16.99' cmd='' getUser='test2@xxx.com' devId='' devType=''

14:43:33 [26687] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:33 [26680] [INFO] [test2@xxx.com] Options request

14:43:33 [26687] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:33 [26690] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:33 [26681] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:33 [26690] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:33 [26681] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:34 [26681] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:34 [26690] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:34 [26681] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:34 [26690] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:34 [26681] [WARN] [test2@xxx.com] SyncAppointment->Check(): Parameter 'organizername' and 'organizeremail' should be set for a meeting request

14:43:34 [26681] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:34 [26681] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:34 [26681] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:35 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:35 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '7' changes

14:43:35 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:36 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '4' changes

14:43:36 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:36 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '7' changes

14:43:36 [26691] [WARN] [test2@xxx.com] SyncAppointment->Check(): Parameter 'organizername' and 'organizeremail' should be set for a meeting request

14:43:36 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:37 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '4' changes

14:43:37 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:37 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:37 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:37 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:38 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '4' changes

14:43:38 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:38 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:38 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:38 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '4' changes

14:43:38 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:39 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:39 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '3' changes

14:43:39 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:39 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:40 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '3' changes

14:43:40 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:40 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:40 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '2' changes

14:43:40 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:40 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:41 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '2' changes

14:43:41 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:41 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:41 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:41 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:41 [26691] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Sync' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:42 [26691] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '1' changes

14:43:42 [26691] [WARN] [test2@xxx.com] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

14:43:42 [26682] [INFO] [test2@xxx.com] Version='2.0.7-1690' method='POST' from='10.232.16.99' cmd='Ping' getUser='test2@xxx.com' devId='Applxxx' devType='iPhone'

14:43:42 [26682] [INFO] [test2@xxx.com] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 900 seconds)

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

14:43:42 [26682] [INFO] [test2@xxx.com] ExportChangesDiff->InitializeExporter(): Found '0' changes

I also have logs after enabling debug level in z-push (which I am not posting here because they are about 3000 lines), but there neither I found the line that says that Multi-calendars are disabled ('Multi-Calendar synching is disabled - Normal "virtual" rules will apply').

Do you have any clue?
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 909
Joined: Sat Sep 13, 2014 12:47 am

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

Postby liverpoolfcfan » Wed Oct 23, 2013 9:40 am

[QUOTE]Hi everybody! I am experiencing an issue with ZIMBRA_DISABLE_MULTI_CALENDARS directive: even if it is set it true, on my iPhone I am still able to see shared calendars...am I missing something? I am using Z-push 2.0.7 and backend version 56.[/QUOTE]

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.
dld75
Posts: 5
Joined: Sat Sep 13, 2014 3:21 am

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

Postby dld75 » Fri Oct 25, 2013 6:23 pm

[quote user="liverpoolfcfan"]The z-push zimbra backend does not use PHP-MAPI
I suspect you still have the original z-push config.php setting
define('BACKEND_PROVIDER', "BackendZarafa");
You need to change that to
define('BACKEND_PROVIDER', "BackendZimbra");
to use the Zimbra backend[/QUOTE]
Thanks for the reply liverpoolfcfan.
Install and configure Zimbra Backend 56.1
But when I access from a PC to the URL:

After">http://correo.dominio.com/Microsoft-Server-ActiveSync
After entering the username and password displays the error message:
Z-Push - Open Source ActiveSync

Version 2.1.0-1750

GET not supported

This is the Z-Push location and can only be accessed by Microsoft ActiveSync-capable devices

cat /var/log/z-push/access.log
aaa.bbb.ccc.ddd - nombre.apellido [16/Oct/2013:09:39:19 -0500] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 200 948 "-" "Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0"
cat /var/log/z-push/error.log
[Wed Oct 16 09:38:37 2013] [error] [client aaa.bbb.ccc.ddd] Directory index forbidden by Options directive: /var/www/html/

[Wed Oct 16 09:38:37 2013] [error] [client aaa.bbb.ccc.ddd] File does not exist: /var/www/html/favicon.ico

[Wed Oct 16 09:39:19 2013] [error] [client eee.ffff.ggg.hhh] File does not exist: /var/www/html/service

[Wed Oct 16 09:39:19 2013] [error] [client eee.ffff.ggg.hhh] File does not exist: /var/www/html/service


cat /var/log/z-push/z-push.log
16/10/2013 09:38:45 [15394] [INFO] [unknown] Version='2.1.0-1750' method='GET' from='aaa.bbb.ccc.ddd' cmd='' getUser='unknown' devId='' devType=''

16/10/2013 09:38:45 [15394] [INFO] [unknown] AuthenticationRequiredException: Access denied. Please send authorisation information - code: 0

16/10/2013 09:38:45 [15394] [INFO] [unknown] User-agent: 'Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0'

16/10/2013 09:39:19 [15389] [INFO] [nombre.apellido] Version='2.1.0-1750' method='GET' from='aaa.bbb.ccc.ddd' cmd='' getUser='nombre.apellido' devId='' devType=''

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryAddressbook (8)

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryCalendar (8)

16/10/2013 09:39:19 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryTask (8)

16/10/2013 09:39:19 [15389] [INFO] [nombre.apellido] User-agent: 'Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0'

Add an account Microsoft Exchange ActiveSync to cell starts the synchronization process.

After several hours this process does not end.
cat /var/log/z-push/access.log
eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

eee.fff.ggg.hhh - - [16/Oct/2013:10:19:34 -0500] "POST /service/soap HTTP/1.1" 404 293 "-" "-"

vvv.xxx.yyy.zzz - nombre.apellido [16/Oct/2013:10:19:34 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=daniel.lopez&DeviceId=and roidc2014342115&DeviceType=LGE612g HTTP/1.1" 200 63 "-" "LGE612g/4.0.3-EAS-1.3"


cat /var/log/z-push/error.log
[Wed Oct 16 10:23:52 2013] [error] [client eee.fff.ggg.hhh] File does not exist: /var/www/html/service
cat /var/log/z-push/z-push.log
16/10/2013 10:23:52 [15389] [INFO] [nombre.apellido] Version='2.1.0-1750' method='POST' from='vvv.xxx.yyy.zzz' cmd='FolderSync' getUser='nombre.apellido' devId='androidc2014342115' devType='LGEg'

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryAddressbook (8)

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryCalendar (8)

16/10/2013 10:23:52 [15389] [WARN] [nombre.apellido] /var/www/html/z-push/backend/zimbra/zimbra.php:1224 Undefined property: BackendZimbra::$_primaryTask (8)

16/10/2013 10:23:52 [15389] [INFO] [nombre.apellido] ExportChangesDiff->InitializeExporter(): Found '0' changes


I ask for your help to identify where the problem originates.
Thanks
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 909
Joined: Sat Sep 13, 2014 12:47 am

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

Postby liverpoolfcfan » Wed Oct 30, 2013 9:26 am

[QUOTE]Thanks for the reply liverpoolfcfan.

......

I ask for your help to identify where the problem originates.
Thanks[/QUOTE]
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.http://sourceforge.net/p/zimbrabackend/support-requests/
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 909
Joined: Sat Sep 13, 2014 12:47 am

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

Postby liverpoolfcfan » Sun Nov 03, 2013 6:21 pm

Release 57 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 57: 
These changes are for the z-push-2 version ONLY

The z-push-1 and as12.1 versions are still at Revision 54
- SmartFolders are now enabled by default - disable them to use XML files

- Changed to pass session ID as CURLOPT_COOKIE for nginx traversal

- Add NoOpRequest to return session ID/session refresh through nginx

- Added support for Syncing StickyNotes from the device to specially named

Tasks folders "Notes" (primary) and "Notes?????" for additional folders

- Streamlined SendMail function to better handle uneditable emails and pass

through all mime headers received from the client

- Added pass-through in SendMail for S/Mime signed and encrypted emails

- Moved From header handling from SendMail to new SendMailSenderFix function

- Added idents to GetInfoRequest, and added lookup of preferred FromName

against the different identities

- Added function GetDocumentLibrarySearchResults to search Briefcase folders

- Added GetLibraryDocument to return contents of Briefcase documents

- Added MaxRange check in each ...SearchResults function

- Check for existence of class SyncResolveRecipientResponse and return a

protocol error response if it is not found. This will prevent errors in the

short term until the Z-Push core code has the appropriate support

- Check publicURL and soapURL returned for user - log warning on differences

- Check for existence of messages in search response before counting them

- Check and remove ", " from $searchquery in GetGALSearchResults

- Added new configuration option ZIMBRA_SERVER_INVITE_REPLY (assumed false)

to control the sending of Calendar Invites/Replies from the zimbra server

as most devices now send these directly. This will avoid duplicate invites/

replies getting sent to invitees/attendees/organizers

- Added SmartFolders directive serverinvitereply to allow overriding the

default ZIMBRA_SERVER_INVITE_REPLY setting on a per device basis

- Removed all references to $folderTypeInactive to simplify code. Now set

folder include parameter to false for any folder whose active setting is

false.

- Check existence of Message Fragment ['fr'] before setting preview

- Added check for Jetty error 'Error 503 Service Unavailable' to SoapRequest

- Fixed MeetingRequest organizer so email forwards/replies do not change it

- Added throw FolderSync Exception if folder not found in index

- Added error handling to file upload in SendMail

- Fixed ChangesSink to detect folder changes in monitored linked folders

- Added set $_userFolderTypeActive based on zimbra prefs in GetInfoRequest

- Added Cleanup expired cachedMessageLists on Logoff.

- Fix QuickAdd yearly appointment - Make type 5 and extract month/dayofmonth

- Fixed DeleteMessage(appt) to call CancelAppointmentRequest if organizer

- Fixed MoveMessage(appt) to call CancelAppointmentRequest if organizer

- Added dynamic rate limiter _soapDelayMicroSeconds to SoapRequest

- Change to not output the Briefcase folders in the Folder List

- Fixed to output recurring appointment exceptions(deletions) from CalDAV

- Reorganized GetMessage (appointment) to minimise data send to device

- Added settings for _deviceMultiFolderSupport for Outlook andWindowsMail

- Fixed interaction between _deviceMultiFolderSupport and Virtual folders

- Tidied up various log messages

8347pan
Posts: 1
Joined: Sat Sep 13, 2014 3:25 am

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

Postby 8347pan » Tue Nov 12, 2013 8:55 am

Hi, I'm running the latest versions of everything: zimbra open source, z-push and zimbra backend.
Zimbra is listening on https, and z-push is configured to use a self-signed certificate.
Everything seems to work fine, and I can get it working on both android and iPhone/iPad.
But, when I configure the android phone (Samsung Galaxy S4) and try to open any email containing an attachment, the server logs an error and the attachments never get downloaded.
The same process works on the iPhone.
This is the log on debug mode from the server.
As a bonus: on the log there are a few warnings that seem superfluous. If the url of the zimbra installation is running 'https' the port should be '443' by default. Why complain about it?:
[QUOTE]

12/11/2013 15:47:26 [ 7972] [ WARN] [ritapavone] Zimbra->GetUserInfo(): ZIMBRA publicURL returned for User Account does NOT match the configured ZIMBRA_URL

12/11/2013 15:47:26 [ 7972] [ WARN] [ritapavone] Zimbra->GetUserInfo(): ZIMBRA_URL [[/url]

12/11/2013 15:47:26 [ 7972] [ WARN] [ritapavone] Zimbra->GetUserInfo(): ZIMBRA publicURL [[/url]

12/11/2013 15:47:26 [ 7972] [ WARN] [ritapavone] Zimbra->GetUserInfo(): Overriding ZIMBRA_URL with ZIMBRA publicURL [[/url]

[/QUOTE]

Return to “Mobility”

Who is online

Users browsing this forum: No registered users and 2 guests