I do not beleive there is a way to interface address book server from roundcube.
What you can do is go to your address book client, select all contacts and pull them to a folder, this will create one vcard containing all your contacts.
Try importing this file using the import function in the address book in roundcube webmail.
Apple should really create some integration between webmail and address book server. Everything is done only half-way in Lion Server.
Here is how you add the address book button:
Go to /usr/share/webmail/plugins/disable_advanced_ui/
Make a copy of disable_advanced_ui.css (i.e.: sudo cp disable_advanced_ui.css disable_advanced_ui.css.bak)
Then, edit the disable_advanced_ui.css by uncommenting the first section like this:
(i.e. sudo nano disable_advanced_ui.css)
/* turn off the address book icon */
There is no need to restart anything, and now you have an address book button in the webmail interface!
awesome worked like a charm, thanks much.... the address book is pretty limited as it only allows name and email address? what about address and multiple email addresses? Also, in other posts - little confused - is there a way to tie round cube into address book server so if i update a contact a my iphone it will propogate through roundcube, that would be really nice.... thanks again....
this plugin is working like a charm for me! (I only use it for reading contacts so no write of contacts tested from my site)
All you have to do is:
Extract the plugin to
name it carddav or something you like and list this name in the array section
of the following file
The carddav url which has to be assigned under webmail settings should look like:
The only thing I am missing from roundcube at the moment is the possibility to assign a standard addressbook.
Maybe this will be addressed in a roundcube update, let us hope Apple then will update roundcube in Lion Server...
It's important to note that the version of RoundCube shipping with 10.7(.2) Server is 0.5.2 so keep that in mind when picking a release.
Also of note is you must name this plugins directory 'carddav' despite what the install instructions tell you. I haven't found a way around this, but must be something.
If you decide to use the config.inc.php.dist file, carddav_backend.php specifically looks for it in 'plugins/carddav/'. That file (config.inc.php.dist) needs to be fixed top and bottom.
Be aware that one of the new features coming to this plugin is caching, which is why this thing is slow at this version. But, with patience, live addressing does work and it is web access to your AB cards. Definitely worth it, though it isn't quite out of alpha.
The list items for contact lists under CardDAV in the address book section of Roundcube do not have any content, just an onclick. This makes them hard to spot and actually click.
#directorylist li.contactgroup a
makes them easily visible.
Unfortunately it doesn't pick up groups curated through Address Book.app. Also unfortunate Roundcube seems incapable of storing or parsing anything other than names and e-mail addresses. Makes me miss Ilohamail.