Sometimes, customers may wish to use, or avoid using, particular plugins in the web client.
This article outlines how to disable and enable plugins for the Plesk Premium Email webmail client for a specific domain.
Enabling Plugin ‘foo’
Assuming the appropriate software packages are installed, usually roundcubemail-plugin-foo
, and the domain for which the ‘foo’ plugin needs to be enabled is ‘example.com'
, put the following contents in /etc/roundcubemail/webmail.example.com/config.inc.php
;
<?php $config['plugins'] = array_unique( array_merge( $config['plugins'], Array( // One or more plugins to enable in addition // to the global set of plugins already enabled. 'foo', ) ) );
Disabling Plugin ‘foo’
When one or more specific plugins need to be disabled for the ‘example.com
‘ domain, supply the following contents in /etc/roundcubemail/webmail.example.com/config.inc.php
:
<?php $config['plugins'] = array_diff( $config['plugins'], Array( // One or more plugins to disable from the global // set of plugins enabled. 'foo', ) );