Benjamin Schieder


2011 April 06 | 15 comments

This is a follow-up to the release of the carddav plugin for roundcube 0.1.

I've just finished version 0.2 which includes full write access. You can get it at

Update: Changed title to clarify versions.


Category: blog

Tags: Tech


From: wynni
2011-04-08 08:38:17 +0200

Does this plugin also work with roundcube 0.5.1??
0.2 is out of date.

From: blindcoder
2011-04-08 09:32:56 +0200

Okay, I admit that the title is misleading.
The version of the carddav plugin is 0.2 but it is for the latest release of Roundcube.

From: bogdan
2011-04-09 13:13:12 +0200

How should it be configured for Snow Leopard Server 10.6.7?
It would be amazing if we could get a cardav web implementation, since atmail's is broken since 10.6.4.
Thanks in advance,

From: wynni
2011-04-09 07:48:00 +0200

Habe leider noch ein Problem mit dem Plugin.
Kann es zwar einbinden doch es kommt der Fehler im Roundcube sobald ich auf CARDDAV klicke: Serverfehler! (OK)
Log von Roundcube sagt leider gar nichts...
Log von Webserver: - - [09/Apr/2011:07:34:17 +0200] "GET /mail/?_task=addressbook&_remote=1&_action=list&_source=CardDAV&_page=1&_=1302327257564&_unlock=loading1302327257563 HTTP/1.1" 200 473 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0" - - [09/Apr/2011:07:35:43 +0200] "REPORT /davical/caldav.php/Philipp/contacts/ HTTP/1.0" 401 40 "-" "-"
Meine Konfig Plugin:
1 2 $carddav['address_sources_name'] = 'contacts';
3 $carddav['username'] = 'Philipp';
4 $carddav['password'] = 'stimmtsicher';
5 $carddav['url'] = "";
Andere Clients funktionieren einwandfrei (iPhone + OSX Adressbuch).
Aufgefallen ist mir noch das es eine gibt. (2 Punkte ???)
Im Einsatz habe ich Debian Lenny mit Davical.
Vielleicht einen Tip wieso ich das Plugin nicht zu laufen bringe?

From: blindcoder
2011-04-09 13:58:11 +0200

Ich habe dafuer gerade ein Ticket aufgemacht:
Ich werds mir heute oder morgen ansehen.

From: marcel
2011-04-09 14:38:09 +0200

Hi Blindcoder,
great work! Programming a rcm-plugin for carddav is one of the most useful and forward-looking ideas in the last month of rcm development.
Keep it up!

From: wynni
2011-04-11 08:16:10 +0200

Sorry, aber wo finde ich den angehängten patch?

From: David
2011-04-18 14:03:00 +0200

Can I use this plugin with egroupware?
My config is :
$carddav['address_sources_name'] = 'addressbook';
$carddav['username'] = 'login';
$carddav['password'] = 'passwd';
$carddav['url'] = "http://domain/groupdav.php/david/addressbook";
But my addressbook is empty and I don't have error in the log on rc and egw.
What can I make???

From: blindcoder
2011-04-18 17:40:18 +0200

Hello David.
Unfortunately I know nothing about egroupware. Basically you would add your login and passwordcredetials and http path to your addressbook into a config.<youremailaddress>.inc.php file and it should work.
You can try applying this patch: debug.patch and then check in your roundcubemail/logs/carddav file if you see anything.
I will soon release version 0.3 with extended logging that should make this sort of error easier to debug.
If you like, please open a ticket at to make communication easier.

From: Roth
2011-04-24 01:03:39 +0200

i try to configure your plugin in Mac OS X Server 10.6 that's is possible with native CardDAV from Apple (Without DAVIcal) ?
What is the correct URL ? I try to this :[Username]/addressbook/
Thank you, Sorry for my english.
Thomas-Reiner ROTH

From: David
2011-04-24 18:58:04 +0200

With snow, you must have a Kerberos or digest authentification. With this plugin it's a base authentification.

From: blindcoder
2011-04-25 11:30:27 +0200

Hello David, Roth.
I've added it to
I have no access to a Mac OS X setup, so I can't test it, but if you can give me details about the authentication method, I can add it.

From: david
2011-04-25 20:24:10 +0200

For mac osx addressbook server, we must authenticate with Kerberos or Digest method. I have no more information about it. For the correct URL, I have put the same address like (ex : http://[domain]:[port]/addressbooks/__uids__/[UID number]/addressbook/).

From: gary
2011-04-28 04:58:35 +0200

I'm not sure this will help, but it's worth mentioning. The davical wiki has a short discussion on Apple carddav connections. I have access to a Mac and am willing to help if I can (I don't know php).

From: Erik
2012-06-12 12:49:14 +0200

I would like to use this plugin on a OSX Server where the Carddav listens on a different port, 6188, with or without ssl.
I'm not a php programmer and looked through the code, but could not find anything about port settings.
Thanks for your time.

Post a comment

All comments are held for moderation; basic HTML formatting is accepted.

Name: (required)
E-mail: (required, not published)
Website: (optional)