I have RC installed with cpanel
I do not know why but after installing, mails are not getting sent.
Click the send icon, it shows the ajax frame on top with progress icon as if
ready to send...then it goes away and nothing happens. Message remains there.
My install procedure:
cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -p -e 'drop database roundcube';
cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://virtuosonetsolutions.com/misc/roundcubemail_tinymce_v0.1beta2.tar.gz
tar -zxvf roundcube*.tar.gz
rm -rf roundcube*.tar.gz
mv -f roundcubemail roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs
mysql -e "CREATE DATABASE roundcube;" -ppassword
mysql -e "use roundcube; source SQL/mysql.initial.sql;" -ppassword
cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php
nano db.inc.php
Find
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
Replace with
$rcmail_config['db_dsnw'] = 'mysql://root:DATABASEPASSWORD@localhost/roundcube';
Now Open main.inc.php
nano main.inc.php
Find
$rcmail_config['default_host'] = '';
Replace with
$rcmail_config['default_host'] = 'localhost';
cd /usr/local/cpanel/base/roundcube/skins/default/images/
cp roundcube_logo.png /usr/local/cpanel/base/frontend/x/images/roundcube_logo.png
cp roundcube_logo.png /usr/local/cpanel/base/webmail/x/images/roundcube_logo.png
wget http://www.hostgeekz.com/files/hostgeekz/HGpatch-roundcube-1.0BETA2
patch -p0 < HGpatch-roundcube-1.0BETA2
If you do not use the X theme please do the following
wget http://www.hostgeekz.com/files/hostgeekz/HGpatch-roundcube-NON-X-1.0BETA2
patch -p0 < HGpatch-roundcube-NON-X-1.0BETA2
Then open your webmaillogin.html, please replace YOURTHEME with the name of your theme.
nano /usr/local/cpanel/base/frontend/YOURTHEME/webmaillogin.html
and find
Add Below
![]() RoundCube
| chattr +i /usr/local/cpanel/base/webmaillogin.cgi
I would appreciate assistance on this if anyone has a tip. Thank you.
Logs show only this (3x)
[29-Sep-2006 08:21:37 -0300] DB Error: DB Error: constraint violation Query: INSERT INTO messages (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers) VALUES (1, 0, 'INBOX.msg', now(), '21', '2713', '', '', '
[email protected]', '', FROM_UNIXTIME(-1), 698, 'O:14:\"iilbasicheader\":25:{s:2:\"id\";s:2:\"21\";s:3:\"uid\";s:4:\"2713\";s:7:\"subject\";s:0:\"\";s:4:\"from\";N;s:2:\"to\";s:15:\"
[email protected]\";s:2:\"cc\";s:0:\"\";s:7:\"replyto\";s:0:\"\";s:11:\"in_reply_to\";s:0:\"\";s:4:\"date\";N;s:9:\"messageID\";N;s:4:\"size\";s:3:\"698\";s:8:\"en in /usr/local/cpanel/base/roundcube/program/include/rcube_db.inc on line 479
I've confirmed it was not modsecurity rules (I even temp disabled it). I also added localhost to smtp line in config file, this did not work either.
This is what I've noticed:
You can send in root mode (being logged in root in webmail) but it is not
sending if you login to webmail as actual email user (
[email protected]).
root = when logged into the cpanel through whm root and clicking "read webmail".
Hopefully an explanation is available for this. Thanks.
Thanks. I had the same problem, but his fixed it! :D