syncroton and roundcube 0.9

Mihai Badici mihai at badici.ro
Thu Oct 11 21:47:17 CEST 2012


On Thursday, October 11, 2012 09:13:43 pm Aleksander Machniak wrote:
> On 10/11/2012 07:16 PM, Mihai Badici wrote:
> > After that, I can register my mobile. As I see, it create some records in
> > SQL tables. I hve folders, folder type etc, at the first look seems ok.
> > 
> > Howewer, In roundcube activesync plugin  "there are no devices
> > registered". My first impression is roundcube is looking  for devices in
> > an imap folder rather than sql.
> 
> Some information about the registered device is stored in private
> annotation /vendor/kolab/activesync. Roundcube's plugin kolab_activesync
> reads this information. As for now it doesn't read any data from
> syncroton_* tables (it's just a cache).

Ok, in syncroton I filtered the imap log with "SETMETADATA":

[11-Oct-2012 22:31:58 +0300]: [D25C] S: * METADATA INBOX 
(/private/vendor/kolab/activesync {"DEVICE":{"SAMSUNG1357332043354261":
{"ID":"82733aaca58e731d8f3d81c137c9cb4956295086","TYPE":"SAMSUNGGTS5660","ALIAS":null}}})
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0009 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0010 SETMETADATA Calendar 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0010 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0011 SETMETADATA aaa 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0011 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0012 SETMETADATA Contacts 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0012 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0013 SETMETADATA alta 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0013 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0014 SETMETADATA Tasks 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0014 OK Completed.
[11-Oct-2012 22:31:58 +0300]: [D25C] C: A0015 SETMETADATA INBOX 
(/private/vendor/kolab/activesync "{\"FOLDER\":{\"SAMSUNG1357332043354261\":
{\"S\":1}}}")
[11-Oct-2012 22:31:58 +0300]: [D25C] S: A0015 OK Completed.

It's look like it set the annotation

But here is a "grep activesync" in  roundcube's IMAP log:

11-Oct-2012 22:28:01 +0300]: [D8F1] C: A0003 GETMETADATA INBOX 
(/private/vendor/kolab/activesync)
[11-Oct-2012 22:28:01 +0300]: [D8F1] S: * METADATA INBOX 
(/private/vendor/kolab/activesync {"FOLDER":{"SAMSUNG1357332043354261":
{"S":1}}})

I don't understood why is a single annotation. It is something wrong with 
backslashes upside?





More information about the users mailing list