RCM-CardDav

Installation
Download the latest version of the plugin:

cd /extra/src
wget http://www.crash-override.net/uploads/downloads/carddav_0.7.0.tar.bz2
tar -jxf carddav_0.7.0.tar.bz2

Move it into your Roundcube plugin directory:

mv carddav_0.7.0 /var/websites/mail.domain.com/htdocs/roundcube/plugins/carddav

Add it to the $rcmail_config['plugins'] array of your Roundcube main.inc.php file, i.e.:

$rcmail_config['plugins'] = array('dovecot_impersonate','managesieve','carddav');

Since our Roundcube install was done using MySQL, run that SQL file to add the necessary tables:

/usr/local/mysql/bin/mysql -u root -p roundcubemail \
< /var/websites/mail/htdocs/roundcube/plugins/carddav/dbinit/mysql.sql

Pre-defined Addressbook Configuration
Adding a config.inc.php file in the plugin's directory allows you to predefine some addressbooks for users. For a global addressbook, that the user only has read access to:

<?

$prefs['Work'] = array(
  'name' => 'Corporate',
  'username' => 'CorpUser',
  'password' => 'C0rpPasswo2d',
  'readonly' => true,
  'url'  => 'https://calendar.domain.com:8843/caldav.php/CorpUser/addresses',
  'fixed' =>  array( 'name', 'username', 'password', 'url', 'readonly' ),
);

Recent Updates

  • 2 years 1 day ago
  • 2 years 1 day ago
  • 2 years 4 days ago
    php 8.x
  • 2 years 5 days ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff