Z-Push Kopano Debian Buster Packages not syncing
-
Dear All,
To replace a SOHO Microsoft Exchange Setup, I did install Kopano based on current Debain Buster packages. Everything seems to work fine, except for Z-Push integration. In general, I am able to connect IMAP-Clients (such as Evolution) to Kopano. Therefore I assume, that Z-Push should also be able to connect localhost port 143 without encryption as well. In Z-Push, I can connect and disconnect Android devices (9.0 - lineageos 16 without Google services) devices (which I do traditionally connect to my Exchange installation). What does not work, however, is syncing folders. Android does think that syncing works, but folders are incorrectly shown as empty. When creating something in a folder on a mobile device, webapp and IMAP do not see it. If someone wants to take a look, I am glad to post configuration files and logs.
The logs do contain the following suspicious items:
error log:
23/12/2019 00:03:27 [ 6318] [WARN] […] Searchtype ‘GAL’ is not supported.
23/12/2019 00:03:27 [ 6318] [FATAL] […] Fatal error: Unknown:0 - Module ‘mapi’ already loaded (32)
23/12/2019 00:03:27 [ 6318] [FATAL] […] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION commandlog:
23/12/2019 00:17:08 [ 6110] [DEBUG] […] BackendIMAP->close_connection(): IMAP said: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
23/12/2019 00:17:08 [ 6110] [DEBUG] […] BackendIMAP->close_connection(): disconnected from IMAP serverCan someone please be so kind to point me to the right direction?
Regards,
Michael Schefczyk
-
@michaelschefczyk said in Z-Push Kopano Debian Buster Packages not syncing:
BackendIMAP->close_connection(): disconnected from IMAP server
When connecting z-push to Kopano you should use the Kopano backend, and not the imap backend. The Kopano backend us normally the default in z-push, but the Debian developers decided to change this default to IMAP.
-
Dear Felix,
Thank you very much. It seems to work with
define('BACKEND_PROVIDER', 'BackendKopano');
in z-push.conf.php
and
define('MAPI_SERVER', 'http://localhost:236/kopano');
in kopano.conf.php in /etc/z-push.
It might be ideal to provide a sample configuration for z-push.conf.php in the documentation. That way, you would not officially need to support debian package users. But still, people would not get trapped at this point.
Regards,
Michael