Hi All,

I have a problem that I hope you can help me solve. I have setup a mailserver using Dovecot + postfix and mysql to handle the users. Sogo is also using mysql to handle its users, but in another database.

I have created the users using dovecot imap with the same credentials as with SOGo. This means the username is an email in SOGo and the password is also identical.

Client side I have installed Thunderbird 24.1.0, Lightning plugin 2.6.2 and Inverse SOGo Connector 24.0.0.

I have created my self as a user in both SOGo and dovecot: [email protected]

I have created a remote addressbook with the url:
http://sogo.mnissen.dk/SOGo/[email protected]/Contacts/personal

This generates the following output from sogo:
Nov 04 12:42:18 sogod [16709]: |SOGo| traverse: SOGo => [email protected] => Contacts => personal
Nov 04 12:42:18 sogod [16709]: |SOGo|   do traverse name: 'SOGo'
Nov 04 12:42:18 sogod [16709]: |SOGo|   do traverse name: '[email protected]'
Nov 04 12:42:18 sogod [16709]: |SOGo| traverse miss: [email protected]: i=1,count=4 Nov 04 12:42:18 sogod [16709]: |SOGo| handle miss error: <SoAuthRequiredException: 0x7fe14af553d8> NAME:SoAuthRequired REASON:authentication required 89.184.152.29 - - [04/Nov/2013:12:42:18 GMT] "PROPFIND /SOGo/[email protected]/Contacts/personal/ HTTP/1.1" 200 3917/175 0.010 11845 66% 0


Now if I try to paste the same url into firefox the following debug info is generated: Nov 04 12:44:37 sogod [16709]: |SOGo| traverse(acquire): SOGo => [email protected] => Contacts => personal => view
Nov 04 12:44:37 sogod [16709]: |SOGo|   do traverse name: 'SOGo'
Nov 04 12:44:37 sogod [16709]: |SOGo|   do traverse name: '[email protected]'
Nov 04 12:44:37 sogod [16709]: |SOGo|   do traverse name: 'Contacts'
Nov 04 12:44:37 sogod [16709]: |SOGo|   do traverse name: 'personal'
2013-11-04 12:44:37.589 sogod[16709] <MySQL4Channel[0x0x7fe14af82c38] connection=0x0x7fe14b04d9b0> SQL: SELECT c_path4 FROM sogo_folder_info WHERE c_path2 = '[email protected]' AND c_folder_type = 'Contact'; 2013-11-04 12:44:37.589 sogod[16709] <MySQL4Channel[0x0x7fe14af82c38] connection=0x0x7fe14b04d9b0> query has results, entering fetch-mode.
Nov 04 12:44:37 sogod [16709]: |SOGo|   do traverse name: 'view'
Nov 04 12:44:37 sogod [16709]: |SOGo| set clientObject: <0x4AFEC8E8[SOGoContactGCSFolder]: name=personal container=0x4A93CE08/Contacts ocs=/Users/[email protected]/Contacts/personal> 2013-11-04 12:44:37.590 sogod[16709] <MySQL4Channel[0x0x7fe14af6e7d8] connection=0x0x7fe14b0f0af0> SQL: SELECT c_folder_id, c_path, c_location, c_quick_location, c_acl_location, c_folder_type FROM sogo_folder_info WHERE c_path1 = 'Users' AND c_path2 = '[email protected]' AND c_path3 = 'Contacts' AND c_path4 = 'personal'; 2013-11-04 12:44:37.590 sogod[16709] <MySQL4Channel[0x0x7fe14af6e7d8] connection=0x0x7fe14b0f0af0> query has results, entering fetch-mode. 2013-11-04 12:44:37.590 sogod[16709] <MySQL4Channel[0x0x7fe14af82c38] connection=0x0x7fe14b04d9b0> SQL: SELECT b.c_name,a.c_cn,a.c_givenname,a.c_sn,a.c_screenname,a.c_o,a.c_mail,a.c_telephonenumber,a.c_categories,a.c_component FROM sogoolemniss001159b2c7f_quick a, sogoolemniss001159b2c7f b WHERE a.c_name = b.c_name AND (c_deleted != 1 OR c_deleted IS NULL); 2013-11-04 12:44:37.590 sogod[16709] <MySQL4Channel[0x0x7fe14af82c38] connection=0x0x7fe14b04d9b0> query has results, entering fetch-mode. 89.184.152.29 - - [04/Nov/2013:12:44:37 GMT] "GET /SOGo/[email protected]/Contacts/personal/view HTTP/1.1" 200 235/0 0.005 - - 0

The string we receive from sogo in firefox looks like this:

[{"c_name": "279A-5276A880-7-6B84A200.vcf", "c_mail": "", "c_cn": "klæ d dmklødf", "c_component": "vcard", "c_givenname": "klæ d", "c_screenname": 
"", "c_categories": null, "c_o": "", "c_telephonenumber": null, "c_sn": " dmklødf"}]


Its just a test address I created which is why it looks like bogus.

I simply cant explain why it behaves as it does. Can anyone tell me how to get this working, or perhaps something I can try?

Best regards
Ole Nissen
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to