Re: [SOGo] ActiveSync question
You may be correct with your guess regarding the licensing situation, if for that reason such a project has to stay outside the base SOGo distribution it will be ok. My intention was not to grumble about something, I just wanted to bring some attention to this problem. It seems to me that over the last years several trials of implementing ActiveSync have been started by community members, which after some time more or less stopped their experiments (at least correct for my trial some years ago). Good to know that there is even another project as mentioned by Corrado Fiore in this thread, I will give this also a try. Another question is: Have these projects all to be based on z-push? What if hordes ActiveSync interface also could be used as starting point? Or with Openchange: can z-push directly access the MAPI stores as it does when used with zarafa (I can be completely wrong here)? But again it shows the need for better collaboration between ActiveSync interested SOGo users. Best regards, Albrecht Am 03.09.2013 um 14:20 schrieb Martin Rabl : > I think, the problem is ActiveSync itself, because it is not a free solution. > We are able to implement it, because of thousand pages of documentation, but > have to license using our implementation by Microsoft - theoretically. > SOGo sets only on free interfaces like CALDAV etc. And it integrates the free > Openchange (which implements the IMHO non-free MAPI from Microsoft). > > Ok, it would be nice to have a built-in ActiveSync solution in SOGo. But IMHO > the better way is to set on third party software, when there are > CALDAV-Interfaces (or SMTP/IMAP ...) available. > > So, PHP-Push2 seems for me the only way for integrating AS with SOGo, but its > not a Inverse project, so they are not responsible for it. > > The problem of PHP-Push is the big "less": > - less developers > - less testing users (!!!) > - less money > > I'm sure, with more developer and more testing users it will do a step > forward making ActiveSync usable. And THAT would be for me a solution - > instead of grumbling to Inverse. > > > Greetings, > Martin > > Am 03.09.13 12:54, schrieb Jan-Frode Myklebust: >> On Tue, Sep 03, 2013 at 10:54:52AM +0200, alge wrote: >>> >>> I'm not sure if my situation with ActiveSync beeing a show stopper for >>> deploying SOGo is generalizable enough, what do other people think of >>> it? Did I miss something? >> >> I completely agree (except we didn't let it stop the show). Configuring >> mobile clients without ActiveSync is too cumbersome, and my little >> exposure to z-push didn't convince me it was production ready.. >> >> Is there anything we can do to get Inverse to focus on ActiveSync >> support? Does it need funding? Is it a big difficult feature, or ..? >> >> >> >> -jf >> > > -- > users@sogo.nu > https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ActiveSync question
Jan-Frode Myklebust schrieb: > ... > mobile clients without ActiveSync is too cumbersome, and my little > exposure to z-push didn't convince me it was production ready.. but only the SOGo specific derived z-push variants, z-push combined with zarafa is production ready. Albrecht -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] SOGoSync
Kevin C. Smith schrieb: > On Tue, Mar 29, 2011 at 08:01:42AM -0500, Donny Brooks wrote: > >> On 3/27/2011 6:54 PM, Ludovic Marcotte wrote: >> >>> On 11-03-25 10:16 PM, Kevin C. Smith wrote: >>> I saw a few posts about this project,http://geekworld.dk/sogosync/. I'm wondering how it's progressing? I would be nice if the code was hosted somewhere. >>> We're still waiting for some license clarifications on some files >>> and then, we'll import it in our Monotone repo. >>> >>> Regards, >>> >>> >> That is good to hear. I have tried emailing Bo directly and via this >> list quite a few times to no avail. Glad to hear it is still being >> developed. Although last I heard before Christmas Bo had a newer >> version that fixed alot of the problems I was having. I have not >> seen anything newer than 121210. Has anyone seen anything newer? The >> main problem I was having was no matter the platform emails were >> coming from they would show as apa...@machine.domain.tld rather than >> u...@domain.tld even though I have set the preferences in the >> settings file. >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists >> > > That's why I expressed a wish for a public repo. If we can access it we > can keep up and maybe help. > > I just wanted to remind that at least two modifications are also out there, one from Fabrice Durand at http://oeufdure.free.fr/download/sogo/ and one from me based on Fabrices version at http://www.algepop.net/users/alge/sogo/z-push , both only experimental, not working correctly. Best regards Albrecht -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ActiveSync for SOGo
... continuation of my experiment: I continued to try to use the z-push/SOGo setup for one more week with my everyday-use account. The result stays the same, it is currently not usable (at least for my setup), most work seems to be necessary in the caldav part, as events either get lost, doubled, time-shifted or otherwise corrupted when synced from and to SOGo (from several mobile devices). It also often timed out and broke the whole sync. Events entered in SOGos webfrontend often never occured on the synced devices. The carddav interface is more stable (but also lesser stressed in everyday use, at least I could watch some character coding problems like a "," beeing replaced by a "\,"), the IMAP gateway also has some glitches (not showing new mails on some device while showing it at the same time on another one). Now I moved back to z-push (of course another version) and zarafa which works without problems with the same devices and running on the same server. One big difference between z-push/zarafa and z-push/SOGo is also the server load: Sometimes I had to stop/start my apache to get rid of almost endless cycling PHP processes (mostly in the caldav module which did GetMessageList aka "ls" on SOGos caldav share over and over again, while the originating client already had timed out). Albrecht Albrecht Gebhardt schrieb: > Hi > > I just want to tell that I recently did some experiments with z-push > based on the work of Bo and Fabrice. > > It's still not working correctly but nevertheless I want to share it > here, a patch is attached and should be applied to Fabrices z-push.zip > file from http://oeufdure.free.fr/download/sogo/ > > I did some succesful tests with Windows Mobile 6.0/6.1 devices with a > rather empty test account, > but when I tried to switch to my real life account with ~150 contacts, > ~50 events and a rather full IMAP tree things stopped working reliably. > > Success was also varying for different devices (WebOS, iOS4, Symbian, > Maemo5, Android 2.1). But my first tests were not systematically > enough to report them here (errors are doubled events, time-shifted > events, removed reminders and so on, contacts are ok, but sometimes > need several syncs before everything is synced, ...) > > So meanwhile I have to stay with Zarafa (because there is no reliable > sync between WebOS or Maemo5 and SOGo that I know of) before I can > switch back to SOGo, Funambol and hopefully some future working > version of z-push for SOGo. > > For details of my changes please look through the attached patch file. > > The files are also available at > http://www.algepop.net/users/alge/sogo/z-push/ > > > Best wishes > Albrecht > > > Fabrice Durand schrieb: >> Hi Bo, >> >> It seems that i have got a problem with reminders, but it doesn't >> broken sync. ... > -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ActiveSync for SOGo
Hi I just want to tell that I recently did some experiments with z-push based on the work of Bo and Fabrice. It's still not working correctly but nevertheless I want to share it here, a patch is attached and should be applied to Fabrices z-push.zip file from http://oeufdure.free.fr/download/sogo/ I did some succesful tests with Windows Mobile 6.0/6.1 devices with a rather empty test account, but when I tried to switch to my real life account with ~150 contacts, ~50 events and a rather full IMAP tree things stopped working reliably. Success was also varying for different devices (WebOS, iOS4, Symbian, Maemo5, Android 2.1). But my first tests were not systematically enough to report them here (errors are doubled events, time-shifted events, removed reminders and so on, contacts are ok, but sometimes need several syncs before everything is synced, ...) So meanwhile I have to stay with Zarafa (because there is no reliable sync between WebOS or Maemo5 and SOGo that I know of) before I can switch back to SOGo, Funambol and hopefully some future working version of z-push for SOGo. For details of my changes please look through the attached patch file. The files are also available at http://www.algepop.net/users/alge/sogo/z-push/ Best wishes Albrecht Fabrice Durand schrieb: Hi Bo, It seems that i have got a problem with reminders, but it doesn't broken sync. ... -- users@sogo.nu https://inverse.ca/sogo/listsdiff -uNrw --exclude='*RCS*' --exclude='*state*' z-push-free.fr/autodiscover.php z-push/autodiscover.php --- z-push-free.fr/autodiscover.php 1970-01-01 01:00:00.0 +0100 +++ z-push/autodiscover.php 2011-01-31 17:20:07.0 +0100 @@ -0,0 +1,30 @@ +(.*?)\<\/EMailAddress\>/", $data, $matches); + //set Content-Typeheader("Content-Type: application/xml");?> +'; ?> +http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006";> +http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006";> +en:en + + + + + + + +MobileSync +http://YOUR_SERVER_NAME/Microsoft-Server-ActiveSync +http://YOUR_SERVER_NAME/Microsoft-Server-ActiveSync + + + + + + diff -uNrw --exclude='*RCS*' --exclude='*state*' z-push-free.fr/backend/caldav.php z-push/backend/caldav.php --- z-push-free.fr/backend/caldav.php 2010-12-26 11:09:12.0 +0100 +++ z-push/backend/caldav.php 2011-01-31 17:22:29.0 +0100 @@ -18,6 +18,8 @@ var $_devid; var $_protocolversion; var $_path; +var $_dir; +var $_messages=array(); @@ -53,6 +55,12 @@ return false; } $this->_path = $caldav_path; +// alge: cache wdc->ls output in $this->_dir to reduce system load +$this->_dir = $this->wdc->ls($this->_path); +if(!($this->_dir)) { +debugLog('CalDAV::Logon: '.$this->_path.' contains no dir'); +return false; +} debugLog('CalDAV::Successful Logon To WebDAV Server'); return true; @@ -97,20 +105,19 @@ */ function GetMessageList($folderid, $cutoffdate) { debugLog('CalDAV::GetMessageList('.$folderid.')'); +// alge: cche output in $this->_messages to reduce system load +if(count($this->_messages)==0){ if ($folderid != "calendar" && $folderid != "tasks") return false; $messages = array(); -$dir = $this->wdc->ls($this->_path); -if(!$dir) { -debugLog('CalDAV::GetMessageList '.$this->_path.' not dir'); +if(!($this->_dir)) return false; -} -foreach($dir as $e) { +foreach($this->_dir as $e) { $e['href'] = substr($e['href'], strlen($this->_path)); - $test = split('/', $e['href']); + $test = preg_split('/\//', $e['href']); $last=array_pop($test); if (trim($last) != "") { $message = $this->StatMessage($folderid, $last); @@ -118,7 +125,11 @@ } } debugLog('CalDAV::GetMessageList length'.count($messages)); +$this->_messages=$messages; return $messages; +} else { +return $this->_messages; +} } function GetFolderList() { @@ -180,20 +191,22 @@ if(trim($id == "")) return false; -$dir = $this->wdc->ls($this->_path); -if(!$dir) +if(!($this->_dir)){ +debugLog("CalDAV::StatMessage: !_dir " ); return false; +} -foreach($dir as $e) { +foreach($this->_dir as $e) { debugLog('CalDAV::href '.$e['href']); - $test = split('/', $e['href']); + $test = preg_split('/\//', $e['href']); $last=array_pop($test); $e['href'] = substr($e['href'], strlen($this->_path)); debugLog('CalDAV::href2 '.$last); debugLog('CalDAV::href3 '.$this->_path.$last); if ($last == $id) { $event = $this->isevent($this->_path.$last);