Em 10-10-2013 03:41, mayak escreveu:
https://github.com/fmbiete/Z-Push-contrib # up2date no install howto --
this appears to be most recent
This is the one that works for me. There is an INSTALL there though.

so i grabbed https://github.com/fmbiete/Z-Push-contrib, however, there
is absolutely no indication of how to install it. i copied the contents
of the backend directory to the z-push backend, but alas, it doesn't work.
I don't think its necessary. It comes with z-push already.

i have z-push z-push-2.1.0-1750 working perfectly with imap, but realluy
need contacts and calendar.
has anyone managed to get z-push-contrib running?
I did. Take a look at the existing docs:
https://github.com/fmbiete/Z-Push-contrib/blob/master/INSTALL
https://github.com/fmbiete/Z-Push-contrib/blob/master/README.md

If you plan to use it with SOGo, then you have to use the combined backend and the trick is what to put on its config file https://github.com/fmbiete/Z-Push-contrib/blob/master/backend/combined/config.php:

'backends' => array(
                'i' => array(
                    'name' => 'BackendIMAP',
                ),
                // 'z' => array(
                //     'name' => 'BackendZarafa',
                // ),
                // 'm' => array(
                //     'name' => 'BackendMaildir',
                // ),
                // 'v' => array(
                //     'name' => 'BackendVCardDir',
                // ),
                'c' => array(
                    'name' => 'BackendCalDAV',
                ),
                // 'l' => array(
                //     'name' => 'BackendLDAP',
                // ),
                'd' => array(
                    'name' => 'BackendCardDAV',
                ),
            ),

and just following:

'folderbackend' => array(
                SYNC_FOLDER_TYPE_INBOX => 'i',
                SYNC_FOLDER_TYPE_DRAFTS => 'i',
                SYNC_FOLDER_TYPE_WASTEBASKET => 'i',
                SYNC_FOLDER_TYPE_SENTMAIL => 'i',
                SYNC_FOLDER_TYPE_OUTBOX => 'i',
                SYNC_FOLDER_TYPE_TASK => 'c',
                SYNC_FOLDER_TYPE_APPOINTMENT => 'c',
                SYNC_FOLDER_TYPE_CONTACT => 'd',
                SYNC_FOLDER_TYPE_NOTE => 'c',
                SYNC_FOLDER_TYPE_JOURNAL => 'c',
                SYNC_FOLDER_TYPE_OTHER => 'i',
                SYNC_FOLDER_TYPE_USER_MAIL => 'i',
                SYNC_FOLDER_TYPE_USER_APPOINTMENT => 'c',
                SYNC_FOLDER_TYPE_USER_CONTACT => 'd',
                SYNC_FOLDER_TYPE_USER_TASK => 'c',
                SYNC_FOLDER_TYPE_USER_JOURNAL => 'c',
                SYNC_FOLDER_TYPE_USER_NOTE => 'c',
                SYNC_FOLDER_TYPE_UNKNOWN => 'i',
            ),

This is the tricky undocumented part. Don't forget to set each enabled backend (backends array above) config also.

Best regardes.

--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:    +55 41 9689-0036

http://www.a1.ind.br/ <http://www.a1.ind.br>
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to