~3 min read • Updated Feb 23, 2026
1. Overview
This guide explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM versions 108 through 118. In version 108, cPanel removed the Horde webmail client and introduced automated migration scripts and plugins. However, some data may not migrate automatically, requiring manual export and import.
Warning: This procedure is only valid for cPanel & WHM version 118 and earlier. In version 120 and later, the Horde export scripts were removed.
Notes:
- Only the root user can run the migration scripts.
- Check plugin errors in:
$HOME/logs/.php.error.log
$HOME/logs/roundcube/errors.log - If data still does not appear correctly, open a cPanel Support ticket.
2. Migrate Horde Calendars
2.1 Export Calendars
Run the following script to export Horde calendars to .ics files:
/usr/local/cpanel/scripts/export_horde_calendars_to_ics
Copy the exported .ics files into the user’s Roundcube import directory:
cp -a /home/USER/calendars/*.ics /home/USER/.cpanel/icals
Replace USER with the cPanel username.
2.2 Import Calendars Automatically
Log in to Roundcube for each email account. The cpanelicsimport plugin automatically imports all .ics files from:
$HOME/.cpanel/icals
All events are imported into the default Roundcube calendar.
2.3 Import All Events into a Non‑Default Calendar
- Download the exported
.icsfile. - Log in to Roundcube.
- Click the Calendar icon.
- Click Import.
- Select the target calendar.
- Choose All under “Events from”.
- Select the
.icsfile. - Click Import.
2.4 Move a Single Event to Another Calendar
- Log in to Roundcube.
- Open the Calendar interface.
- Enable both the default and target calendars.
- Select the event.
- Click Edit.
- Choose the target calendar.
- Click Save.
- Disable and re‑enable the target calendar to refresh.
3. Migrate Horde Contacts
3.1 Export Contacts
Run the following script to export Horde contacts to .vcf files:
/usr/local/cpanel/scripts/export_horde_contacts_to_vcf
Copy the exported .vcf files into the user’s Roundcube import directory:
cp -a /home/USER/contacts/*.vcf /home/USER/.cpanel/vcards
3.2 Import Contacts Automatically
Log in to Roundcube for each email account. The cpanelvcfimport plugin automatically imports all .vcf files from:
$HOME/.cpanel/vcards
All contacts are imported into a single address book.
3.3 Import Contacts into Additional Address Books
- Log in to Roundcube.
- Click the Contacts icon.
- Click Import.
- Select the
.vcffile. - Choose All under “Import group assignments”.
- Click Import.
4. Conclusion
Although cPanel provides automated migration tools for Horde data, some calendars and contacts may require manual intervention. By exporting the data, placing it in the correct directories, and using Roundcube’s import tools, you can fully restore Horde calendars and contacts for any user.
Written & researched by Dr. Shahin Siami