Overview
- This document is only valid for cPanel & WHM versions 78 and 80.
- Roundcube version 1.3.8 and earlier does not support email addresses that contain Unicode characters.
- We recommend that only experienced server administrators perform the steps in this document.
- Because cPanel, L.L.C. doesn’t develop SquirrelMail, cPanel Technical Support can’t help with address book imports.
For instructions on how to migrate SquirrelMail address books to Horde, read our Importing SquirrelMail Address Books to Horde documentation.
This document describes the roundcube_squirrelmail_contact_import plugin.
We deprecated SquirrelMail in cPanel & WHM version 74 and removed it in cPanel & WHM version 78. The roundcube_squirrelmail_contact_import
plugin migrates a SquirrelMail user’s email contact list to their Roundcube address book. When a Roundcube user logs in to their email account after the hosting provider installs the plugin, the system migrates the user’s SquirrelMail contacts to Roundcube.
Install and uninstall the plugin
To install the plugin, run the following command as the root
user:
yum install roundcube-squirrelmail-contacts-import-plugin
The system adds the following files to the /usr/local/cpanel/base/3rdparty/roundcube/plugins/
directory:
|
|
To uninstall the plugin, run the following command:
yum remove roundcube-squirrelmail-contacts-import-plugin
Configuration options
You can configure the following options for the plugin in the /usr/local/cpanel/base/3rdparty/roundcube/plugins/cpanel_squirrelmail_contact_import/config.inc.php
file:
Option | Description | Example |
---|---|---|
cpanel_squirrelmail_data_dir |
Sets the full path to the SquirrelMail data directory. |
|
cpanel_squirrelmail_run_once |
Creates a touch file in the cpanel_squirrelmail_data_dir to prevent the plugin from running more than once. |
|
cpanel_squirrelmail_unique |
Checks for duplicate email addresses. |
|
cpanel_squirrelmail_group_name |
Creates a new email folder for imported SquirrelMail contacts.
Note:
If you enable this option and set the
cpanel_squirrelmail_unique option to true, the system adds any duplicate email addresses to new email groups.
|
|
cpanel_squirrelmail_log_level |
Configures the type of information for the system to record in the cPanel user’s /home/user/tmp/error.log file.
|
|
cpanel_squirrelmail_file_charset |
Configures the SquirrelMail files’ character set. To configure this option for the ASCII character set, leave this option blank. |
|
The full configuration file will resemble the following example:
|
|
The Roundcube interface
After you install the plugin, the system migrates any SquirrelMail contacts to Roundcube. These contacts reside in the SquirrelMail mailbox. This mailbox resides in the Personal Addresses mailbox in the Groups section of the roundcube interface.
Log file
The log data for this plugin resides in the /home/username/logs/roundcube
file and resembles the following example:
- In cPanel & WHM version 78, the log data resides in the
/home/username/tmp/errors
file. - In these filepaths,
username
represents a cPanel user’s username. - This example displays a list of SquirrelMail address book migration errors.
|
|