Re: [SOGo] Active Sync support in SOGo

2013-09-19 Thread Rémi Letot
Jeroen Dekkers jer...@dekkers.ch writes:

 At Thu, 19 Sep 2013 10:10:24 +0200,
 Rémi Letot wrote:
 
 Ludovic Marcotte lmarco...@inverse.ca
 writes:
 
  1. create an Active Sync bundle in SOGo for synchronization
  2. license it under a free but non-GPL (BSD, for example)
  3. distribute it for free
 
  We can't use the GPL because of patents
  restrictions. Z-Push/OPush/Synchotron are all using patented
  technologies without a license and Microsoft currently does not
  license to GPL implementations - so using these is not an option.
 
 Don't forget that software patents are invalid in big parts of the
 world, so these technologies are not infringing anything there.
 
  Since the addition of Active Sync support in SOGo would be a
  server-side implementation, there would be a per-mailbox fee to use
  it. That fee, would have to be paid to Microsoft directly. On our end,
  everything would be free of use.
 
 Again, that fee would only apply where software patents are valid, which
 is great news for European users like me :-)

 I would advise anyone who is going to professionally run an ActiveSync
 service to not just think software patents are invalid in Europe and
 at least ask for legal advice.

 The situation is unfortunately a lot more complex than software being
 patentable or not. In Europe software as such is not patentable and
 what as such exactly means isn't really clear. The EPO
 interpretation is very narrow and the EPO has granted a lot of
 software patents. 

Which does not mean that these patents would hold in court. But I agree:
defending oneself could be prohibitively expensive, and hasardeous.

 I'm not following all the things going on in software patent world
 anymore, but as far as I remeber a UK court did invalidate a patent
 because it was on software as such. On the other hand a Dutch court
 enforced a software patent from Apple on the photo gallery of some
 Samsung phones. I don't know if Samsung had tried to get the patent
 invalidated on the basis that is a patent on software as such, 

AFAIK, it was not on software «as such», but on the way the user
interracts with the interface (which itself is implemented in software),
which is a whole different thing.

 but I think we can't just disregard all microsoft patents on the basis
 that software patents aren't valid in Europe.

Of course not, but software patents and patents on protocols or
interfaces are completely out of scope in Europe (despite the EPO
granting them). I can't see what in the active sync protocol could be
considered patentable in Europe, there is no interraction with «the
forces of nature» that I'm aware of.

Microsoft could still try to defend it's patents in court, which would
be a definitive blow to any European small business, but I really don't
think they would risk confirmation of the invalidity of their patents
for any small business scale operation. 

Now of course IANAL, this is only IMHO and all :-)

Thanks,
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo and EAS?

2013-07-02 Thread Rémi Letot
Michael Vogel ica...@dabo.de writes:

 Am 02.07.2013 17:35, schrieb André Schild:
 Hello Michael,

 look for Sogosync, it provides the activesync stuff

 Thanks!

 Do you know if LDAP is mandantory? In the config it seems like this:

 https://github.com/dupondje/PHP-Push-2/blob/master/config.inc.php

It's not, just activate and use the combined backend.

Now, if you manage to make it work reliably, I'm *very* interrested in
your configuration :-) 

I keep having duplicate events, and contacts do not work so I'm using
carddav-sync for them.

Thanks,
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGo v2.0.0

2012-09-29 Thread Rémi Letot
Ludovic Marcotte lmarco...@inverse.ca
writes:


  * Excellent native integration with Apple software (OSX and iOS) and
 Android-based devices

Have I missed something ? Native integration in android ? Can you
elaborate a bit ?

Anyway, thanks a lot for this great piece of infrastructure,
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] sogosync issues - beginners trouble :)

2012-09-22 Thread Rémi Letot
Christian Rößner c...@roessner-network-solutions.com writes:

 I am playing around with sogosync for the first time. Therefor I cloned the 
 current git and modified all config files as described in the online 
 documentation.
 
 So far I get some conversation between my iPhone 4S and the sogosync stuff.
 
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net]  Start
 16/09/2012 11:42:09 [27472] [ INFO]
 [de10...@srvint.net] Version='SVN
 checkout' method='POST' from='5.43.170.134' cmd='FolderSync'
 getUser='de10...@srvint.net'
 devId='ApplDNQGN393DTDF' devType='iPhone'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Used timezone 
 'Europe/Berlin'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
 file: '/var/www/sogosync/backend/combined/combined.php'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
 file: '/var/www/sogosync/backend/caldav.php'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
 file: '/var/www/sogosync/backend/carddav.php'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
 file: '/var/www/sogosync/backend/imap.php'
 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] Combined 3 
 backends loaded.
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] 
 Request::ProcessHeaders() ASVersion: 2.5
 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] 
 AuthenticationRequiredException: Access denied. Please send authorisation 
 information - code: 0
 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] User-agent: 
 'Apple-iPhone4C1/902.206'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] 
 ZPush::PrintZPushLegal()
 16/09/2012 11:42:09 [27472] [ WARN] [de10...@srvint.net] IP: 5.43.170.134 
 failed to authenticate user 'de10...@srvint.net'
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] TopCollector(): 
 Initialized mutexid Resource id #120 and memid Resource id #121.
 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net]  End
 

 I am completely stuck. It is not an TLS issue as I see data in the log files. 
 If the handshake would have fallen, I would see nothing. So the script itself 
 is working.

 I changed my username and added it to the config.php user array. I created 
 the file /var/log/z-push/croessner.log and gave correct permissions (I 
 think). But nothing is written to the log file.

 Even in the z-push.log file itself, I can not see any backend activity. As I 
 looked into the backend php files, shouldn't there be any lines concerning 
 smething like Logon-XYZ or so?

 Can someone help me? What information is required?

Hello,

to test it without the iphone interferring, can you try with a browser ?

https://sogo.mydomain.com/Microsoft-Server-ActiveSync

Your browser should ask for a login/password, and then show a page with
Z-Push - Open Source ActiveSync and the message GET not supported.

In my z-push.log, I see my user authenticating to each backend
separately, and then Combined-Logon() success

Note that I disabled the imap part in the combined backend, so this
might make a difference, but anyway testing with a browser might help
spot the troublemaker.

HTH,
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] sogsync -- activesync for sogo -- read/write support enabled -- please help by testing

2012-05-06 Thread Rémi Letot
David Cure s...@cure.nom.fr writes:

   Hello,

 Le Sat, May 05, 2012 at 01:22:32PM +0200, Rémi Letot ecrivait :
 
 Other than that, I use sogosync from an android cm9 device, and the
 events do not appear in the calendar. They are synchronized, because I
 can create an event on the android and it will appear in sogo and in
 lightning, but as soon as I sync it it disappear from the android
 device. And events created in sogo do not appear on the android.

   I don't test this new version but I test the first version and
 have the same behaviour on an Galaxy Nexus with ICS : no events on my
 phone after synchronization.

Tested this on an Asus Transformer, same behaviour: events appear in
SOGo, but disappear from the android device.

Just ask for more info if needed.

Thanks, 
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] sogsync -- activesync for sogo -- read/write support enabled -- please help by testing

2012-05-05 Thread Rémi Letot
mayak-cq ma...@australsat.com writes:

 hi all,

 i just wanted to remind everyone that activesync is working with sogo
 through the use of z-push with a carddav and caldav backend.

 in the first release, calendars and address books were read-only,
 however, the code base has been modified to allow both read and write.

 please do feel free to test and report your results back here.

 and of course, a round of applause to francois lacroix for his php
 programming .

Hello,

thanks a lot for that, it seems very promising an fills a big hole in
sogo's functionnality :-)

One remark: sogosync assumes that the username/password used for sogo
should be valid on the imap server. But in sogo I can configure other
credentials for the imap account, which makes sogosync refuse the sogo
credentials since all backends should authenticate.

Would it be possible to get the imap credentials from sogo (and let's be
bold while asking, including the imap configuration :-), or at least
make an imap authentication error non blocking in sogosync ? In this
latter case, just don't provide the mail service to the device if imap
auth fails.

Other than that, I use sogosync from an android cm9 device, and the
events do not appear in the calendar. They are synchronized, because I
can create an event on the android and it will appear in sogo and in
lightning, but as soon as I sync it it disappear from the android
device. And events created in sogo do not appear on the android.

Tell me if you need more info, or if I can do anything to help.

Thanks a lot,
-- 
Rémi

-- 
users@sogo.nu
https://inverse.ca/sogo/lists