Roundcube is an awesome webmail. The most complete I have ever seen so far. Its fancy, look and feel combined with its IMAP access makes it not only very intuitive but to be synchronized with other clients. Well, if you are familiar with IMAP protocol you will understand why. Anyway, you can go to the Roundcube official website to read about the multiple capabilities this software has.
One thing that Roundcube lacks is a Calendar, similar to the Google Calendar. Lucky us, Kolab the open-source project, has published a calendar plugin for Roundcube. I will talk here about how I managed to install it under my ISPConfig3 web hosting server.
Installation of the Calendar Plugin for Roundcube
Follow these commands. You can change them to fit the specific paths of your deployments.
yum install git php-sabre-*
cd /tmp
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
cd /usr/share/roundcube/plugins
cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar .
cp -r /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring .
cd calendar
cp config.inc.php.dist config.inc.php
Edit config.inc.php to fit your needs. Then follow:
mysql -u root -pYOURPASSWORD roundcubedb < drivers/database/SQL/mysq.initial.sql
Patch the Calendar Plugin
CentOS 7 (and probably other distributions) does not have the composer and it does not load automatically the classes. You need to patch it. Do the following:
cd ../libcalendaring
nano libvcalendar.php
Add the following code:
spl_autoload_register(function ($class) {
if (strpos($class, 'Sabre\\')===0) {
$file = '/usr/share/php/'.str_replace('\\', '/', $class).'.php';
@include $file;
}
});
Disclaimer
I have not tested this plugin too much. I just created an event and verified for errors in the system.
Enjoy!