Author Topic: How to Update Roundcube & Enable Roundcube password plugin on CWP  (Read 18825 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to Update Roundcube & Enable Roundcube password plugin on CWP
Part 1 Update Roundcube

   Step 1 Backup old Roundcube Config
      # mkdir /home/roundcube_backup
      # cp -R /usr/local/apache/htdocs/roundcube/* /home/roundcube_backup

   Step 2 Download latest version of Roundcube & Extract file
      # cd /tmp      
      # wget https://github.com/roundcube/roundcubemail/releases/download/1.1.5/roundcubemail-1.1.5-complete.tar.gz
      # tar xvzf roundcubemail-1.1.5-complete.tar.gz

   Step 3 Proceed with the installation.
      # cd roundcubemail-1.1.5
      # bin/installto.sh /usr/local/apache/htdocs/roundcube

   Step 4 Change to correct permission.
      # chown -R nobody:nobody /usr/local/apache/htdocs/roundcube

Part 2 Enable Roundcube password plugin

   Step 1 Enable password plugin on Roundcube
      # nano /usr/local/apache/htdocs/roundcube/config/config.inc.php

      Edit the line following
      
Quote
$config['plugins'] = array('password');

   Step 2 Check & Note down Password from Postfix Database Information      
      # more /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php

   Step 3 Create & Edit Roundcube Configuration
      # cd /usr/local/apache/htdocs/roundcube/plugins/password
      # cp config.inc.php.dist config.inc.php
      # nano config.inc.php

      Edit the line following
      
Quote
$config['password_driver'] = 'sql';
      
Quote
$config['password_db_dsn'] = 'mysql://postfix:xxxxx@localhost/postfix';
      Replace Password from Postfix Database Information to 'xxxxx'   
      
Quote
$config['password_query'] = 'UPDATE mailbox SET password=%c,modified=NOW() WHERE username=%u LIMIT 1';
      
      End

Offline
***
Re: How to Update Roundcube & Enable Roundcube password plugin on CWP
« Reply #1 on: April 25, 2016, 08:38:13 AM »
Wow.. thanks, that work for me..

Offline
*
Re: How to Update Roundcube & Enable Roundcube password plugin on CWP
« Reply #2 on: December 12, 2016, 04:24:26 AM »
Works for me and verson 1.2.3