Thursday, November 28, 2013

Roundcube-Horde-Squirrelmail

Check if you can get any errors from the logs .
Common fixes recommended are :-

1 ) vi /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
and change
$rcmail_config['smtp_user'] = '%u';
to
$rcmail_config['smtp_user'] = '';
2) If you are using csf , check csf configuration file for the entry
SMTP_BLOCK = "1"
SMTP_ALLOWLOCAL = "1"
If the value is 0 change it to 1 and restart csf
3) update cPanel ( /scripts/upcp --force ) to latest "STABLE" version.
4) increase the memory_limit in php.ini under /usr/local/cpanel/base/3rdpart/roundcube/

/var/cpanel/roundcube/install.
/usr/local/cpanel/bin/update-roundcube.
/usr/local/cpanel/install/webmail

The update-roundcube script then does the following:
1.Removes the existing Roundcube installation (via the command rm -rf /usr/local/cpanel/base/3rdparty/roundcube).
2.Extracts the appropriate Roundcube source tarball to /usr/local/cpanel/base/3rdparty using the version specified in update-roundcube.
3.Changes the ownership of the Roundcube installation to the root user and the wheel group.
4.Extracts configuration values for Maildir, mbox, and MySQL from the system settings.
5.Backs up the MySQL Roundcube database to /var/cpanel/roundcube/roundcube.backup.sql.«current timestamp».
6.Please note that only 4 copies of the Roundcube database backup are retained in /var/cpanel/roundcube.
7.Drops the Roundcube database from MySQL.
8.Updates the Roundcube configuration files and Roundcube database SQL files with the server's settings.
9.Recreates the Roundcube database from the provided SQL files.
10.Reloads the previous Roundcube database backup, finishing the Roundcube update.
Please try the following procedure.
=====
drop database roundcube;
exit;
create database roundcube;
exit;
Then do the procedure:
mysql-u root-D roundcube-p </usr/local/cpanel/base/3rdparty/roundcube/SQL/mysql.initial.sql
After that, look for the file:
vi /usr/local/cpanel/base/3rdparty/roundcube/config/db.inc.php
In line similar to the database -> mysql://roundcube:SENHADOROUNDCUBE@localhost/roundcube
replace by:
mysql://root:SENHADEROOT@localhost/roundcube
Now try your webmail using roundcube
Also ,
* Check if db.inc.php and main.inc.php contains the correct entries such as username , password and database name
* Running the command /usr/local/cpanel/bin/update-roundcube --force will also help
* go to phpmyadmin and repair all round cube tables
* Also check and reset the mysql root password in whm just to make sure it is set .
*Last but not the least try /scripts/upcp --force

 

Horde Mail
One of the many unique features about Horde webmail is it’s spell checker facility. However, the use of this requires that certain components be installed. To install these follow these instructions:
1) Login to your Linux box via SSH as root.
2) Install aspell by running the following command:
yum -y install aspell aspell-en-gb
Leave it to install; you shouldn’t need to make any changes to Horde as it should automatically detect the ASPELL installation.

/scripts/fullhordereset

mysql horde
Then:
REPAIR TABLE horde_sessionhandler;

For Horde
/usr/local/cpanel/bin/update-horde --force

For SquirrelMail
/usr/local/cpanel/bin/update-squirrelmail --force

For Roundcube
/usr/local/cpanel/bin/update-roundcube --force

 

 

No comments:

Post a Comment