This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
E-Mail / How to Update Roundcube & Enable Roundcube password plugin on CWP
« on: April 25, 2016, 06:51:55 AM »
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
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
End
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
Pages: [1]