Skip to main content

Posts

CWP: Customize Roundcube Webclient for Branding!

Roundcube is an open source webmail client. And out of all the opensource webmail clients it probably is one of the best. Many hosting packages come with an option to install of use roundcube. Changing Roundcube Logo # cd /usr/local/cwpsrv/var/services/roundcube/skins/ larry /images # cp -p roundcube_logo.png roundcube_logo.png.orig Upload your own logo here with named roundcube_logo.png and Replace the existing & Give the following Permission # chown -R cwpsvc:cwpsvc roundcube_logo.png Changing Roundcube Favicon  # cd /usr/local/cwpsrv/var/services/roundcube/skins/ larry /images # cp -p favicon.ico favicon.ico.orig Upload your own Favicon here with named favicon.ico and Replace the existing & Give the Following Permission # chown -R cwpsvc:cwpsvc favicon.ico And Finally Do the same thing for this location # cd /usr/local/cwpsrv/var/services/roundcube/skins/ classic /images Changing Roundcube Title & Add Support URL # cd /usr/local/cwpsrv/var/services/roundcu

CWP: How to enable Vacation Option in Rouncube Webmail using managesieve

By default 'managesieve' plugin is enabled in CentOS Webpanel (CWP) Rouncube's Plugins array . And we need to ensure that the 'managesieve plugin is enable by do the following  (Go to Line number 79) ,  If not then add the plugin manually  # vi /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php $config['plugins'] = array(    'archive',    'zipdownload',    'managesieve',    'password', ); So it would look like the following  (From Line number 79) : Configuring the 'managesieve' plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ # cp -p managesieve/config.inc.php.dist managesieve/config.inc.php # vi managesieve/config.inc.php // Enables separate management interface for vacation responses (out-of-office) // 0 - no separate section (default), // 1 - add Vacation section, // 2 - add Vacation section, but hide Filters section $config['managesieve_vacation'] = 1; Her

CWP: Configure Roundcube Password Policy

First Ensure The Roundcube Password Plugins is enabled in the following configuration file . I'm showing you the minimum changes but you can change your own rules . # cat /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php   $config['plugins'] = array(    'archive',    'zipdownload',    'managesieve',    'password',  ); Configuring the password plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p password/config.inc.php.dist password /config.inc.php The first setting deals with the minimal length of the password. I recommend to enforce at least 8 characters. # vi password/config.inc.php // Determine whether current password is required to change password. // Default: false. $config['password_confirm_current'] = true; // Require the new password to be a certain length. // set to blank to allow passwords of any length $config['password_minimum_length'] = 8; // Enables lo

CWP: Configuring Default Installed Roundcube Plugins after CentOS WebPanel Fresh Installation

There are some (Probably 4) Roundcube Plugins will be installed automatically when you install CWP that's need to be configured. Go to Line number 79, # vi /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php $config['plugins'] = array(    'archive',    'zipdownload',    'managesieve',    'password', ); So it would look like the following  (From Line number 79) : 1. There is no config.inc.php file in archive plugin directory. So no need to configure the 'archive' plugin. 2.Configuring the 'zipdownload' plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p zipdownload/config.inc.php.dist zipdownload/config.inc.php 3.Configuring the 'managesieve' plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p managesieve/config.inc.php.dist  managesieve /config.inc.php 4.Configuring the 'password' plugin # cd /usr/local/cwpsrv/var/services/ro

How to Upgrade PHP 5.6 to PHP 7.3.x Stable Release on CentOS 7 for VestaCP ?

In this tutorial I’ll show you how to upgrade from PHP 5.6.x to PHP 7.3.x , I’ve tested on production server before writing this tutorial and its just working fine without any issue.  Now go to yum repo directory and Check  remi repo is available for php73 Note: If you want use Presta 1.7.5 then use PHP 7.2 , Details : Link 1 For Apache : update to PHP 7.2.x & MariaDB 10.1 For NGINX : update to PHP 7.2.x & MariaDB 10.1 Go to Yum Directory: # cd /etc/yum.repos.d # ll Now install yum-utils, a group of useful tools that enhance yum’s default package management features. Yum-utils can be used for manipulating package repositories and additional package management operations such as enabling or disabling packages without any manual configuration by a system administrator. You can install it as follows: # yum install yum-utils In this step, you need to enable Remi repository using yum-config-manager utility, as the default repository for installing PHP. # yum-config-m

How to Upgrade MariaDB 5.5 to MariaDB 10.1 Stable Release on CentOS 7 for VestaCP ?

By Default VestaCP will install old base version of Mariadb 5.5 when installing on Centos 7 . I am using VestaCP with Version: 0.9.8 (x86_64), Release: 23 5.5.60-MariaDB - MariaDB Server PHP version: 5.6.40 In this tutorial we are going to show you how to upgrade MariaDB 5.5 to MariaDB 10.1 latest stable version. You will need to have root access to the machine, where you will be performing the upgrade. Note that if you are running earlier version of MariaDB the recommended course of upgrading is by going through each version. For example MariaDB 5.1 -> 5.5 -> 10.1. Clean all yum cache & update yum # yum clean all # rm -rf /var/cache/yum # yum update -y Step 1: Backup or Dump All MariaDB Databases As always when performing an upgrade creating backup of your existing databases is important. You can either dump the databases with command such: # mysqldump -u root -pPassbMUs1Pbu --all-databases > /tmp/all-database.sql Or alternatively, you can stop the M

How to Install High Performance VestaCP Hosting Panel with NGINX+php-fpm?

Vesta Control Panel (VestaCP) is an open source hosting control panel that can manage multiple websites, create and manage email accounts, create and manage FTP accounts. Also, manage MySQL database and DNS records. The Vesta Control panel can be installed on a RHEL, CentOS, Debian and Ubuntu server. For a smooth installation you will need clean system "minimal install base" . If installation fails you can force it using --force option. If you want to get full list of available options run installer with --help argument. Installer categorizes servers into 4 groups. Micro - less than 1Gb of RAM.       - Do not support phpfcgi template Small - less than 3Gb of RAM.        - Do not support phpfcgi template Medium - less than 7Gb of RAM.   - Support  Antispam and Antivirus packages Large - more than 7Gb of RAM.     - Support  Antispam and Antivirus packages Antispam and Antivirus packages are only installed on a medium and large servers. Micro server also do