WHM/cPanel

Change & preserve Roundcube config “identities access level”

In this article we are going to Change Roundcube Default Config settings for Roundcube identities access level

What is Roundcube webmail

Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking.

Also, Roundcube is free and open-source software subject to the terms of the GNU General Public License (GPL) with exceptions for skins and plugins.

Usually Roundcube is installed on cPanel system and allows you to access your webmail through the web , To log in to Webmail, Navigate to https://example.com:2096 in your browser. In this example, replace example.com with your email address’s domain.

Roundcube Change Identity Issue

Roundcube has an option to change identities , this will allow the user to create another identity and send it to another as fake email . This can be discovered by checking the header of sent email ,but in most scenarios its better to disable this option.

How to change Roundcube Change identities access level

Login to your server using SSH connection protocol, and run the command
    
     vi /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
    
   

You have to change $config[‘identities_level’] default value from 0 the options are:

  • 0 – many identities with possibility to edit all params
  • 1 – many identities with possibility to edit all params but not email address
  • 2 – one identity with possibility to edit all params
  • 3 – one identity with possibility to edit all params but not email address
  • 4 – one identity with possibility to edit only signature

change it to value “3” and save the file.

Important Notice: when WHM system Update its revoke the changes and set the value back to “0” to preserve the changes run the following commands from SSH connection :

    
     touch /usr/local/cpanel/scripts/postupcp
chmod 755 /usr/local/cpanel/scripts/postupcp
    
   

Then Modify the /usr/local/cpanel/scripts/postupcp and add the following piece of code

    
     replace “$rcmail_config[‘identities_level’] = 0;” “$rcmail_config[‘identities_level’] = 3;” — /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php


    
   
XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

3 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago