Skip to main content

CWP: How to Add/Enable Roundcube Plugins

Go to bottom of the configuration file of /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php there is a list of plugins that Roundcube loads. The “archive” , “zipdownload”  , “managesieve” and  “password” plugins are already enabled.
Go to the Plugin directory and list all the plugins
# cd /usr/local/cwpsrv/var/services/roundcube/plugins/
# ll
You can check all plugins from the plugins directory.
Add the “markasjunk” ,  “emoticons” and “new_user_dialog” plugins so that the setting looks like this:
# vi /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php

 $config['plugins'] = array(    
   'archive',    
   'zipdownload',    
   'managesieve',    
   'password',
   'rcguard', 
   'markasjunk', 
   'emoticons', 
   'new_user_dialog',    
);
Plugin emoticons add smileys, and is responsible for the markasjunk plugin adds a toolbar button that moves the email to the Spam folder. And thanks to the plugin the user has new_user_dialog, after the first login window will appear, where it will be able to enter your full name and the name of the Organization to be sent emails was attributed to the From field.

# cd /usr/local/cwpsrv/var/services/roundcube/plugins/cd markasjunk/
# ll [There is no config.inc.php.dist]
# cd /usr/local/cwpsrv/var/services/roundcube/plugins/
cp -p emoticons/config.inc.php.dist emoticons/config.inc.php 
# cd /usr/local/cwpsrv/var/services/roundcube/plugins/
cd new_user_dialog/
# ll  [There is no config.inc.php.dist]
markasjunk

emoticons

new_user_dialog
But I have enabled many plugins as showing below:
 # vi /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php

// List of active plugins (in plugins/ directory)
$config['plugins'] = array(
    'additional_message_headers',
    'archive',
    'emoticons',
    'help',
    'hide_blockquote',
    'identity_select',
    'legacy_browser',
    'managesieve',
    'markasjunk',
    'newmail_notifier',
    'new_user_dialog',
    'new_user_identity',
    'password',
    'rcguard',
    'show_additional_headers',
    'subscriptions_option',
    'userinfo',
    'vcard_attachments',
    'zipdownload',
); 

This post is based on this article.
Link 1
Link 2

Comments