On Thursday, March 14, 2013 06:10 PM CDT, Michael <[email protected]> wrote: > Hi, Thanks for this but I really need a single setup on iOS. The reason > is I am migrating users from an exchange environment and any additional > steps required from them to set up their devices would just equal more > work for me. > > Regards, Michael. > > > > On 15/03/2013 12:33 AM, Donny Brooks wrote: > > > > > > > > On Thursday, March 14, 2013 07:43 AM CDT, Michael <[email protected]> > > wrote: > > > >> Dear All, > >> > >> I have been trying for weeks now to get PHP-Push-2 to work on my SOGo > >> system. The thing is, the old sogosync works like a charm, the only > >> problem with sogosync is that it doesn't support HTML email because it > >> has an older merge of z-push. > >> > >> I have a previous thread entitled [SOGo] sogosync and html email but > >> have hit a brick wall. > >> > >> After installing PHP-Push-2, copying the supplied config.php files and > >> following the rest of the instructions etc. I can connect my iOS devices > >> but when I go to check mail I get a password error. A look into the > >> z-push log shows: > >> > >> 14/03/2013 23:26:25 [ 7183] [WARN] [[email protected]] > >> /var/www/PHP-Push-2/backend/caldav.php:34 Use of undefined constant > >> CALDAV_PORT - assumed 'CALDAV_PORT' (8) > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace error: > >> /var/www/PHP-Push-2/include/caldav-client-v2.php:116 Invalid URL: > >> 'https://sogo.example.com:CALDAV_PORT/SOGo/dav/mbonnic$ > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 1:/var/www/PHP-Push-2/include/caldav-client-v2.php:116 - trigger_error() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 2:/var/www/PHP-Push-2/backend/caldav.php:34 - CalDAVClient->__construct() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 3:/var/www/PHP-Push-2/backend/combined/combined.php:114 - > >> BackendCalDAV->Logon() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 4:/var/www/PHP-Push-2/lib/request/requestprocessor.php:77 - > >> BackendCombined->Logon() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 5:/var/www/PHP-Push-2/lib/request/provisioning.php:64 - > >> RequestProcessor::Authenticate() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 6:/var/www/PHP-Push-2/lib/request/requestprocessor.php:127 - > >> Provisioning->Handle() > >> 14/03/2013 23:26:25 [ 7183] [ERROR] [[email protected]] trace: > >> 7:/var/www/PHP-Push-2/index.php:189 - RequestProcessor::HandleRequest() > >> > >> Increasing the LOG level doesn't appear to show anything useful. > >> > >> I have tried defining the CALDAV port manually but then I get similar > >> errors about CARDAV_SERVER and CARDDAV_PATH, again I define these > >> manually in the config.php file but I still get issues and more errors - > >> see previous thread [SOGo] sogosync and html email. > >> > >> It's like the supplied config.php file isnt complete? > >> > >> I am getting super desperate as I need this system to be in production > >> asap! I am getting to the point where I am willing to pay someone a fee > >> to fix it for me if no one has any useful suggestions :( -I can be > >> reached on michael(^at^)los-pollos(^dot^)co . > >> > >> Here is my config.php (comments removed): > >> > >> define('TIMEZONE', 'Australia/Sydney'); > >> > >> > >> define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']). '/'); > >> > >> ini_set('include_path', > >> BASE_PATH. "include/" . PATH_SEPARATOR . > >> BASE_PATH. PATH_SEPARATOR . > >> ini_get('include_path') . PATH_SEPARATOR . > >> "/usr/share/php/" . PATH_SEPARATOR . > >> "/usr/share/php5/" . PATH_SEPARATOR . > >> "/usr/share/pear/" . PATH_SEPARATOR . > >> "/usr/share/awl/inc"); > >> > >> define('SCRIPT_TIMEOUT', 0); > >> define('MAX_EMBEDDED_SIZE', 1048576); > >> > >> define('STATE_DIR', '/var/lib/z-push/'); > >> > >> define('LOGFILEDIR', '/var/log/z-push/'); > >> define('LOGFILE', LOGFILEDIR . 'z-push.log'); > >> define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log'); > >> define('LOGLEVEL', LOGLEVEL_INFO); > >> define('LOGUSERLEVEL', LOGLEVEL_DEVICEID); > >> $specialLogUsers = array(); > >> define('PROVISIONING', true); > >> define('LOOSE_PROVISIONING', false); > >> define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM); > >> define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL); > >> > >> define('PING_INTERVAL', 30); > >> > >> define('SINK_FORCERECHECK', 300); > >> > >> define('BACKEND_PROVIDER', "BackendCombined"); > >> > >> define('MAPI_SERVER', 'file:///var/run/zarafa'); > >> > >> > >> define('IMAP_SERVER', 'sogo.example.com'); > >> define('IMAP_PORT', 143); > >> > >> define('IMAP_OPTIONS', '/notls/norsh'); > >> define('IMAP_DEFAULTFROM', 'username'); > >> > >> define('IMAP_SENTFOLDER', 'Sent'); > >> > >> define('IMAP_INLINE_FORWARD', false); > >> > >> define('IMAP_USE_IMAPMAIL', true); > >> define('MAILDIR_BASE', '/tmp'); > >> define('MAILDIR_SUBDIR', 'Maildir'); > >> > >> define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf'); > >> > >> > >> define('CALDAV_SERVER', 'https://sogo.example.com'); > >> define('CALDAV_PATH', '/SOGo/dav/%u/'); > >> define('CALDAV_PERSONAL', 'personal'); > >> define('CALDAV_URL', 'https://sogo.example.com/SOGo/dav/%u/'); > >> > >> > >> define('CALDAV_READONLY', false); > >> define('CARDDAV_PERSONAL', 'personal'); > >> define('CARDDAV_URL', > >> 'https://sogo.example.com/SOGo/dav/%u/Contacts/'); > >> > >> define('CARDDAV_READONLY', false); > >> define('SEARCH_PROVIDER', ''); > >> define('SEARCH_WAIT', 10); > >> > >> define('SEARCH_MAXRESULTS', 10); > >> > >> $additionalFolders = array( > >> // demo entry for the synchronization of contacts from the > >> public folder. > >> // uncomment (remove '/*' '*/') and fill in the folderid > >> > >> array( > >> 'store' => "SYSTEM", > >> 'folderid' => "", > >> 'name' => "Public Contacts", > >> 'type' => SYNC_FOLDER_TYPE_USER_CONTACT, > >> ), > >> > >> ); > >> > >> ?> > >> > >> Any suggestions are very much appreciated! > >> > >> -- > >> Regards Michael. > >> > >> -- > >> [email protected] > >> https://inverse.ca/sogo/lists > > > > I'm not much help on the PHP-Push-2 as I have never dealt with it. However > > if all you need is the HTML capabilities of z-push, we are using the newest > > z-push successfully with SOGo for email on our users mobile devices. For > > the caldav and carddav we just point straight to the sogo server for them > > since it does it natively. I don't see a reason to put a frontend on it > > unless you just absolutely have to have a single setup on each mobile > > device. > > > > -- > > Regards Michael. > -- > [email protected] > https://inverse.ca/sogo/lists I'm not sure what it would take to merge the latest z-push into sogosync. I had thought about doing that once but quickly decided to just point all the end users to our internal wiki that showed them how to add the different services they wanted. --
Donny B. -- [email protected] https://inverse.ca/sogo/lists
