You can run the following command to see the list of all the available Roundcube plugins: (Any command that checks the content of the below directory will work, so if you don't have the tree utility installed on your server you can simply run ls -Flathr instead)
tree -a -L 1 -CA /usr/local/cpanel/base/3rdparty/roundcube/plugins
/usr/local/cpanel/base/3rdparty/roundcube/plugins
├── acl
├── additional_message_headers
├── archive
├── attachment_reminder
├── autologon
├── calendar
├── carddav
├── cpanellogin
├── cpanellogout
├── database_attachments
├── debug_logger
├── emoticons
├── enigma
├── example_addressbook
├── filesystem_attachments
├── help
├── hide_blockquote
├── http_authentication
├── identicon
├── identity_select
├── jqueryui
├── krb_authentication
├── libcalendaring
├── libkolab
├── managesieve
├── markasjunk
├── newmail_notifier
├── new_user_dialog
├── new_user_identity
├── password
├── redundant_attachments
├── return_to_webmail
├── show_additional_headers
├── squirrelmail_usercopy
├── subscriptions_option
├── userinfo
├── vcard_attachments
├── virtuser_file
├── virtuser_query
└── zipdownload
In order to enable/disable any of these plugins, you need to add/remove each plugin's name to/from Roundcube's configuration file. Here is how it's done: (For demonstration we will enable the "password" plugin)
-
Open the main config file /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php with the editor of your choice and find the following configuration option:
$config['plugins'] = array('cpanellogin','cpanellogout','archive','calendar', 'return_to_webmail','carddav');
-
Add the name of the plugin that you wish to enable to the array above and safe the file. In this example, password has been added.
$config['plugins'] = array('cpanellogin','cpanellogout','archive','calendar', 'return_to_webmail','carddav','password');
-
Note: In newer versions of cPanel, you need to also check for the following file:
/usr/local/cpanel/base/3rdparty/roundcube/config/cpanel_config.php
If the file exists then you need to update the below line in it as well. In this example, password has been added.
$mandatory_plugins = ['cpanellogin','cpanellogout','archive','calendar', 'return_to_webmail','carddav','password'];
-
Reload Dovecot:
/scripts/restartsrv_dovecot
The following article covers how to edit files at the command line.