Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_e70c0cf02ff03edefc1bc154adc1a10a, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
Change & preserve Roundcube config "identities access level" - XsoftHost

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


				
			
Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts