RoundCube

Thanks. I removed the db, removed the alias (which I know wasn't necessary), and ran the script again - worked like a charm!

I think it was user error - I may have installed the script a while ago and forgot about it. I think rerunning the script again after it was installed might have messed it up.

Good work! I love Roundcube!
 
script is installed and running perfectly on 3 boxes, but it does not have a roundcube entry in the email section of the user control panel ... you access it by clicking squirrelmail ... this is somewhat confusing IMHO :confused:
 
Hello,

I know it's not a technical forum, but since it's official, it can maybe concern more user than just only me.

I am using a special configuration for my Directadmin server. To make it short, I do run PHP4/5 for my customers using suPHP 0.6.2 and Apache 2.

Each user get a 2 php.ini file (one for PHP4, one for PHP5) and when the user upload some file it get's stored in /home/username/tmp (this directory is chmod 777).

My problem is that when a user use the webmail and try to attach a file to a mail (which means it's at uploaded somewhere) it doesn't work because they do access the webmail thru an alias /webmail make an alias to each user to /var/www/html/roundcube and so the upload doesn't work (no error on screen).

I have tried to change the path /temp with a full-path variable in the roundcube configuration, but it doesn't work better.

Code:
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = 'temp/';

// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/tmp/';

// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/tmp';

// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/var/www/html/roundcube/temp';

// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/var/www/html/roundcube/temp/';

Doesn't work at all. But when I do access it thru no alias it works fine, for e.g. I do type the http://IP/roundcube/ it works fine.

I can still make a workaround that does forward the alias to the real url, but maybe I can also find a better way to do it ?

Thank you for any help !
 
Maniak, what's the output of:
Code:
grep roundcube /etc/httpd/conf/httpd.conf
Do you have any problems like this with SquirrelMail or UebiMiau?
 
I got errror "Failed to send message" sometimes. No more log in apache log, or roundcube error log. Squirrelmail is just working fine.

the $rcmail_config['smtp_server'] is blank, so it uses php mail() functions. creating a simple page for testing and seeing the php mail() is working fine too. But sending message from roundcube gave me error.

Is there any idea?
 
Last edited:
Maybe connection with imap gets broken or it can be because of its content.
 
as said, squirrelmail is working fine. So, I doubt the reason is from mail server. Trying to send by outlook: it's working fine too.

Might be something wrong in Roundcube, but not sure what it's
 
Next month I'll include RoundCube RC1 with this script :) We will see if this helps.
 
hmm... something wrong between script and database. After deleting user from table users, logging in again (so the user can be added as a new user into the db), the message can be sent without any trouble

Do you have any idea why? it seems script doesnt want to read old data in Roundcube database anymore
 
Script has been updated. 1 bug has been fixed (there are no "doubled" folders anymore) :) For those who want to delete Drafts, Sent and Junk folders (do not remove INBOX.Drafts, INBOX.Sent, INBOX.spam!) just do this and go to preferences in RoundCube webmail (this change will allow you to delete the folders):
Code:
# perl -pi -e 's/protect_default_folders'] = FALSE/protect_default_folders'] = TRUE/' /var/www/html/roundcube/config/main.inc.php
And after the changes (when needed folders are deleted):
Code:
# perl -pi -e 's/protect_default_folders'] = TRUE/protect_default_folders'] = FALSE/' /var/www/html/roundcube/config/main.inc.php
 
Any chance this will be included in the next couple of DA updates. Or are you waiting for the Official release?
 
Maybe it will be included, but firstly RoundCube Release Candidate 1 should be released.
 
Hi,

When I enter the domain name hosted on my server with the alias /roundcube.

The error message is.

SERVICE CURRENTLY NOT AVAILABLE!
Error No. 1f4)

Anyone can help?
 
[root@server scripts]# ./roundcube.sh
cp: `/var/www/html/roundcube/logs/errors' and `/var/www/html/roundcubemail-0.1beta2/logs/errors' are the same file
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
da_roundcube exists. Please remove the database if you want to do a fresh reinstall.
ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
Editing roundcube configuration...
Roundcube has been installed successfully
RoundCube alias is already added to /etc/httpd/conf/httpd.conf

I got this after launching ./roundcube.sh. Does this seem correct?
 
miltongoh, do this:
Code:
rm -rf /var/lib/mysql/da_roundcube
./roundcube.sh
 
I still got this.

[root@server scripts]# rm -rf /var/lib/mysql/da_roundcube
[root@server scripts]# ./roundcube.sh
cp: `/var/www/html/roundcube/logs/errors' and `/var/www/html/roundcubemail-0.1beta2/logs/errors' are the same file
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
Inserting data to mysql and creating database/user for roundcube...
ERROR 1045 (28000): Access denied for user 'da_admin'@'localhost' (using password: NO)
./roundcube.sh: line 74: -p1oT3QjNM: command not found
ERROR 1045 (28000): Access denied for user 'da_roundcube'@'localhost' (using password: YES)
Database created, da_roundcube password is 20um2hyj
Editing roundcube configuration...
Roundcube has been installed successfully
RoundCube alias is already added to /etc/httpd/conf/httpd.conf
 
Back
Top