Installing custom roundcube RPM in Cpanel version 58 and newer

Miguel G

Well-Known Member
Jun 4, 2015
86
0
6
Spain
cPanel Access Level
Root Administrator
Twitter
I have found that the old way of installing the source tarball doesn´t work anymore in Cpanel version 58 or newer.

I have installed Cpanel version 60 and I have looked into this instructions:

How to Build and Install Custom RPMs - cPanel Knowledge Base - cPanel Documentation

but It only talks about customizing RPMs not where to download the source RPM for roundcube or how to install it and which version to use.

I don´t mind not to use the latest version, I actually just want to be able to mark emails as spam and not rely on the antispam script.

If it is easier to enable any plugin, please let me know how to do it.
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
465
113
UK
cPanel Access Level
Root Administrator
Roundcube has a comprehensive library of plugins that are available from Roundcube Webmail Plugin Repository

I believe the screenshot you show, probably has one or more of these plugins deployed.

I do not know if they are compatible with, or can even be installed on, a cPanel deployment of Roundcube.

I would exercise extreme cation before attempting to deploy any of these plugins, including having full bare metal server backups to fall back on if it all goes wrong !
 

Miguel G

Well-Known Member
Jun 4, 2015
86
0
6
Spain
cPanel Access Level
Root Administrator
Twitter
Yes, this plugin might probably be markasjunk and in fact it´s the list of plugins of my Cpanel installation.

However, I don´t understand why most of these plugins are not enabled and there are no instructions of how to enable them in a roundcube installation in Cpanel.

Can anyone shed any light on this?
 

Miguel G

Well-Known Member
Jun 4, 2015
86
0
6
Spain
cPanel Access Level
Root Administrator
Twitter
Well, searching around I see I can that in /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php

I changed it from

Code:
$config['plugins'] = array('cpanellogin','cpanellogout');
to

Code:
$config['plugins'] = array('cpanellogin','cpanellogout','markasjunk');
This works as expected, but I assume this won´t work if Roundcube gets updated, am I right?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463