11 Replies Latest reply: Dec 29, 2011 11:34 PM by StrawHousePig
mightymartin Level 1 Level 1 (35 points)

Still playing around with my macmini server installation. Arrived at mail now and tried to set up webmail first. Seems to work but my contacts are not there. Can it really be that webmail has no link to the address book stored on the same server. Am I missing something or are those guys really kidding me?


Mac mini, Mac OS X (10.7)
  • 1. Re: Is there an address book in webmail?
    olepe Level 1 Level 1 (10 points)

    I could not find it either - but it is there, try:

     

    yourdomain.com/webmail/?_task=addressbook

     

    (Lion server and roundcube webmail)

     

    I just found it, please let me know if you find where to edit so that there will be an address book link in the webmail main window.

  • 2. Re: Is there an address book in webmail?
    mightymartin Level 1 Level 1 (35 points)

    Looks promising. Not sure where that gets me though. It doesn't load my contacts and as you stated there is no link in webmail to get there. Seems it has been started but not finalized by Apple.

    However, I will take that as a starting point and will keep you posted.

  • 3. Re: Is there an address book in webmail?
    olepe Level 1 Level 1 (10 points)

    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.

  • 4. Re: Is there an address book in webmail?
    rxden Level 1 Level 1 (0 points)

    great observation - now only if we had an address book button then we can focus on integrating with addres book server

  • 5. Re: Is there an address book in webmail?
    olepe Level 1 Level 1 (10 points)

    I can now confirm that roundcube actually can import an exported vcard file from address book client.

  • 6. Re: Is there an address book in webmail?
    olepe Level 1 Level 1 (10 points)

    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 */

    /* .button-addressbook

    {

                   display: none;

    }

    */

    There is no need to restart anything, and now you have an address book button in the webmail interface!

  • 7. Re: Is there an address book in webmail?
    rxden Level 1 Level 1 (0 points)

    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....

  • 8. Re: Is there an address book in webmail?
    Ian L-F Level 1 Level 1 (10 points)

    Supposedley this works:

     

    http://www.crash-override.net/carddav.html

     

     

    I never got it to.  Let me know if you have any luck.

  • 9. Re: Is there an address book in webmail?
    eldrik Level 1 Level 1 (65 points)

    Hi,

     

    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

     

    /usr/share/webmail/plugins

     

    name it carddav or something you like and list this name in the array section

     

    $rcmail_config['otheralreadylistedplugins','carddav']

     

    of the following file

     

    /usr/share/webmail/config/appleoverrides.inc.php

     

    The carddav url which has to be assigned under webmail settings should look like:

     

    https://yourserver:8843/addressbooks/users/yourusername/addressbook/

     

    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...

     

    Best regards,

    eldrik

  • 10. Re: Is there an address book in webmail?
    StrawHousePig Level 1 Level 1 (20 points)

    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.

  • 11. Re: Is there an address book in webmail?
    StrawHousePig Level 1 Level 1 (20 points)

    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.

     

    Adding this-

     

    #directorylist li.contactgroup a

    {

      height: 1em;

    }

     

    to file-

     

    /usr/share/webmail/skins/default/addressbook.css

     

    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.