Hello,
Thanks for all the work on the backend. I have a problem with autodiscovery, some help is appreciated. See my signature for the versions I am running.
My problem: When I set z-push autodiscover with BackendZimbra in /usr/share/z-push/autodiscover/config.php I get this:
22/02/2015 16:53:24 [ 9867] [DEBUG] -------- Start ZPushAutodiscover
22/02/2015 16:53:24 [ 9867] [DEBUG] Including backend file: '/usr/share/z-push/backend/zimbra/zimbra.php'
22/02/2015 16:53:24 [ 9867] [FATAL] FATAL: Zimbra Backend Release 61 only works with z-push 2.n.n - Please verify you have matching z-push and zimbra backend versions
22/02/2015 16:53:24 [ 9867] [FATAL] FatalMisconfigurationException: Backend provider 'BackendZimbra' can not be loaded. Check configuration! - code: 0
22/02/2015 16:53:24 [ 9867] [ERROR] Unable to complete autodiscover because of ZPushException. Error: Backend provider 'BackendZimbra' can not be loaded. Check configuration!
22/02/2015 16:53:24 [ 9867] [DEBUG] ZPushAutodiscover->sendResponse() sending response...
22/02/2015 16:53:24 [ 9867] [DEBUG] ZPushAutodiscover->sendResponse() response sent.
22/02/2015 16:53:24 [ 9867] [DEBUG] -------- End ZPushAutodiscover
When I change autodiscover/config.php to use BackendIMAP everything works properly.
Contents of my backend zimbra config.php are:
define('ZIMBRA_URL', '
https://mail.icolo.io');
define('ZIMBRA_USER_DIR', 'zimbra');
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',false);
define('ZIMBRA_HTML',true);
define('ZIMBRA_TIMEZONE', 'Africa/Nairobi');
define('ZIMBRA_ENFORCE_VALID_EMAIL', true);
define('ZIMBRA_SMART_FOLDERS',true);
define('ZIMBRA_RETRIES_ON_HOST_CONNECT_ERROR',5);
define('ZIMBRA_LOCAL_CACHE', true);
define('ZIMBRA_DEBUG',false);
define('MBSTRING_OVERLOAD', (extension_loaded('mbstring') ? ini_get('mbstring.func_overload') : false));
Any help is much appreciated.
Best,
Alex