How to disable the Roundcube CardDav plugin

Problem

Logging into Roundcube takes more than 10 seconds.

During Roundcube login, just after you enter the user/pw, the CardDAV plugin attempts a connection to the user’s CardDAV address book.
If the CardDAV plugin is making a successful connection, there is no perceivable delay.

However, If the plugin is NOT configured to make a successful CardDAV connection or if CardDAV (addressbook service) is disabled, a long delay is introduced to the login process.

We often find this delay when the CardDAV (addressbook) service on the Mac server is turned OFF, but the plugin is still enabled.

Solution

If you use CardDAV, you may need to update the carddav plugin configuration, located here:
/usr/local/topicdesk/roundcube/WebApp/plugins/carddav/config.inc.php

If you aren’t using CardDAV, then its best to disable the plugin.


How to disable the carddav plugin

Roundcube version 1.x and higher

  • Edit this file:
    /usr/local/topicdesk/roundcube/WebApp/config/config.inc.php

  • Look for the plugin array, it could look like this:
    $config['plugins'] = array('image_paster','html5_notifier','chbox','carddav','managesieve');

  • Remove ,'carddav' from the array

  • Logout and Login to Roundcube

Roundcube version 0.9.x

  • Edit this file:
    /usr/local/topicdesk/roundcube/WebApp/config/main.inc.php

  • Look for the plugin array, it could look like this:
    $rcmail_config['plugins'] = array('managesieve', 'carddav');

  • Remove ,'carddav' from the array

  • Logout and Login to Roundcube