Hi Marcio, >>> If I set 'BackendCombined' it complains about php-mapi missing and apache >>> throws a 500 error. How did you manage it?
In the /backend/combined/config.php file you should find the GetBackendCombinedConfig() function and comment out the lines that refer to backends other than IMAP, CardDAV and CalDAV: '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', ), ), 'delimiter' => '/', --- Then you should select the right backend for each function: //force one type of folder to one backend //it must match one of the above defined backends '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 => 'i', SYNC_FOLDER_TYPE_JOURNAL => 'i', 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 => 'i', SYNC_FOLDER_TYPE_USER_NOTE => 'i', SYNC_FOLDER_TYPE_UNKNOWN => 'i', ), //creating a new folder in the root folder should create a folder in one backend 'rootcreatefolderbackend' => 'i', ---- I agree that the filesystem layout in PHP-push-2 is quite confusing, as there are multiple config files scattered around and they also have similar names. My advice is to install the latest PHP-Push-Contrib (https://github.com/fmbiete/Z-Push-contrib/), which is a fork of the original PHP-Push, too, but thanks to the effort of the developer is working quite well with our SOGo installation. Don't forget to set CARDDAV_SUPPORTS_SYNC = false in /backend/carddav/config.php, otherwise the addressbook won't work with a SOGo backend. Hope this helps. Best, Corrado Fiore
smime.p7s
Description: S/MIME cryptographic signature