Skip navigation

AB server and SOGO carddav connector in thunderbird?

9315 Views 9 Replies Latest reply: Nov 24, 2013 2:12 PM by RobyTud RSS
tech_orders Level 1 Level 1 (0 points)
Currently Being Moderated
Oct 27, 2010 10:47 AM
Anyone get this working?

I have address book server working just fine with address book mac clients, I just can't get the thunderbird clients to see the address book server directory.

In address book, I set up my clients like this:

I suspect it must need to be slightly different for thunderbird carddav users. Maybe apple implemented the carddav protocol slightly different than the open source standards.

ANY help would be appreciated.
Mac OS X (10.6.4)
  • wolfgangsourdeau Level 1 Level 1 (0 points)
    Hi tech_orders,

    In order to enable CardDAV, you need to configure your address book as a read-only addressbook. This should at least enable the contact search to work properly.
    If not, please fill a bug report here:

    Mac Plus, Other OS
  • Mr Savy Level 1 Level 1 (0 points)

    I too am trying to get the AB server working with SOGO connector, see the following message from the AB Server log messages:

    2010-11-06 14:16:05+0000 [-] [carddav-8801] [PooledMemCacheProtocol,client] [twistedcaldav.method.put#error] MIME type MimeType('text', 'x-vcard', {'charset': 'utf-8'}) not allowed in address book collection

    I believe this indicates that SOGO connector is using an incompatible MIME type, but I am unaware of how to fix this or amend SOGO to correct the MIME type it is choosing. I would appreciate any help anyone is able to provide.

    On another note I have added my vote to see this functionality including in Thunderbird itself, by voting at the following bug:

    Regards to all,

    MacBook Pro 17", Mac OS X (10.5.7)
  • tigono Level 1 Level 1 (0 points)
    Currently Being Moderated
    Dec 3, 2010 10:19 AM (in response to Mr Savy)
    There is a similar thread in Apple discussions

    Also there is a bug report in the sogo bug tracking center under
    They stated out that a solution is possible and will happen in the next time
    Mac OS X (10.6.4)
  • frist Level 1 Level 1 (0 points)
    sorry for bringing up an old thread, but this might be of interest to some of you:

    I just managed to get the MacOS X 10.6 addressbook server to work together with the Windows version of Thunderbird 3.1.7 by patching the Inverse SOGO Connector 3.104.

    As mentioned here the unpatched version of SOGO Connector does not support creating or modifying contacts on the PC. The reason is the improper handling of the x-vcard mine type by the addressbook server.

    The problem can be fixed by replacing the String x-vcard by vcard in file vcards.utils.js in line 984:

    request.put(vcard, "text/x-vcard; charset=utf-8");

    request.put(vcard, "text/vcard; charset=utf-8");

    Restart Thunderbird and you should be able to create and edit contact on the PC.

    Most Probably the patched version will still work with SOGo, but I didn't check this. I just assume it because other parts of the code are written to support "vcard" and "x-vcard" when sent from the server.

    This path does not fix the incompatiblity regarding lists. So you still can't save Thunderbird mailing lists on the addressbook server and you can't access lists creation on the mac address book application in Thunderbird. The reasin is that the mac applications do not use the x-vlist type, but store the list in vcard extended by a proprietary attribute. As far as I can see it would be possible to fix this, by replacing "x-vlist" by "vcard" at the proper locations in sync.addressbook.groupdav.js and adapting the functions list2vlist() and updateListFromVList() in vcards.utils.js. At present I do net need this. As long as Thunderbird dose not support dag-n-drop edition of the mailing lists I consider them to be useless (well more or less).

    See you
    Mac OS X (10.6.6)
  • Pito108 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 20, 2011 9:15 AM (in response to frist)

    this works at least for new contacts. Thank you. But another bug? appeared. When you update contact through Thunderbird's Address Book and try to sync then address book server says:
    2011-02-20 15:25:27+0100 [-] [carddav-8801] [PooledMemCacheProtocol,client] [twistedcaldav.method.putaddressbookcommon#error] Cannot overwrite vcard resource <UUID>.vcf with different UID <differentUUID>
    and also updates from Address are not syncing to Thunderbird's Address Book after you update through Thunderbird and syncing is malfunctioning.

    I traced this and it seams that when you update contact through Mac Address it updates only X-ABUID: (apple custom parameter) and not UID: (required standard parameter) but Thunderbird does not know anything about X-ABUID: and it updates UID: instead (probably according to standard but did not check that).

    Seems to me that at least one side is not following standards or the "standard" is not foolproof in this.

    Do not know what to do next. Any help/solution/direction would be appreciated.

    Thank you.


    MacBook Pro, Mac OS X (10.6.6), v4,1 2,4GHz Core2duo; 4GB RAM; Mac Mini OSX Server 1.6.6
  • Pito108 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 21, 2011 11:26 AM (in response to Pito108)
    Ok, after some additional "lame hacking" (I am not a coder myself) I was able to make it work at least when one person uses ONLY Thunderbird or ONLY Address for updates. I use Custom4 parameter in Thunderbird's Address Book for workaround.

    Only thing is that Thunderbird is not able to correctly discover a contact change/update through Address (new contacts work fine) but when you recreate remote Address Book in Thunderbird everything is ok.

    I made a note also to SOGO bug tracking system. You can find diff's there:

    Maybe somebody more able could tidy things up and maybe also solve the syncing issue (at least until official working update is out from whatever side).

    Have a nice day,

    MacBook Pro, Mac OS X (10.6.6), v4,1 2,4GHz Core2duo; 4GB RAM
  • alexri Level 1 Level 1 (10 points)

    Yeah it is an old thread. But I searched now for four houres to find the right solution I want to share this!

    The newest thunderbird with the newest sogo plugin works with the ML addressbook server. Without changing anything.


    This is the right url for it:

    https://domain:8443/addressbooks/__uids__/2498567D-7D63-4D75-D4C4-5EE9FF31A9D1/a ddressbook/


    I hope I could save someone some of his/her lifetime. =)

  • RobyTud Level 1 Level 1 (0 points)

    Hi everybody,

    Alexri I want to thank You!!!

    I was running a 10.6.8 SLS and everything was ok with ab server, iCal server and Sogo connector.

    Few days ago I "jump" to OSX server 3.0.1 and I can confirm that AB server works with Sogo connector with alexri's URL and also with this one:




    My problem is: if I have one user for calendars and another one "specific" and different user only for addressbook will it work?

    The reason why I have created a separate user for addressbook, is beacause I need only one addressbook shared with all my collegues in the company.

    If anyone has the same problem and has got a solution let me know!


    thanks in advance




More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.