Hello I`m running ISPConfig on my server. Some people have problems logging in to uebimiau at port 81. So I added webmail.domain.com in ISPConfig an put a Round Cube install there. I followed the install guide but all I get is a blanck page... Anyone got experiense in installing Round Cube on a ISPConfig installation?
Have a look here: http://www.howtoforge.com/forums/showthread.php?t=7168&highlight=roundcube+blank+screen
Thank you Hans. But I don`t even get in to the login page.... I get nothing. The mysql database is working, and the tables is there.
Check if there is still a .htaccess file within your RoundCube's webX/web It is not visible, so remove it with the command: rm .htaccess And try again to login. If you use the Maildir format, make sure it enabled on your server!
Nope, I deleted that one. I also tried to delete it all, and did it over again (including the sql db) but just the same.
If you still have a blank page carefully check you have entered the MySql username correctly in db.inc.php.
I got: Code: */ mysql://roundcubeuser:hGhGGFD546311@localhost/roundcube // PEAR database DSN for read/write operations // format is db_provider://user:password@host/databse // currentyl suported db_providers: mysql, sqlite $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; // postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail'; // sqlite example: 'sqlite://./sqlite.db?mode=0646'; // PEAR database DSN for read only operations (if empty write database will be used) // useful for database replication $rcmail_config['db_dsnr'] = ''; // database backend to use (only db or mdb2 are supported) $rcmail_config['db_backend'] = 'db'; in my db.inc.php, and the mysql login is correct and tested from command line.
I still see the default line, which is: $rcmail_config['db_dsnw'] = 'mysql://roundcube: pass@localhost/roundcubemail'; You should change that into: $rcmail_config[’db_dsnw’]=’mysql:// web1_u1:mysqlpassword@localhost/web1_db1’; Explanation: "web1_u1" is the mysqluser for the website (in this example =web1). "mysqlpassword" is the password for mysql user web1_u1. "web1_db1" is the databasename for web1. All as defined within ISPConfig under the "Options" tab, where you can define the database for your website.
This is a realy nice webmail program! All it needs is a calendar.... Just one problem with my installation now, I can`t send attachments, it won`t send mails I add attachments to. Any ideas on this?
Hagforce, Now you have roundcube up and running, could you please have a look at the "Folders" option in Roundcube? (It's in Personal settings > Folders) I've installed Roundcube on two servers (one with the "Hans" way, and one with the ISPconfig package way) Both version on both servers are showing more Foldernames than needed (have a look at the image) Does this also showup in your install? Problem (with my Roundcube installs) is that a user (admin or not) can delete folders that should really not be deleted!
@Hagforce, Please have a look here: http://www.howtoforge.com/forums/ showthread.php?t=9421&highlight=roundcube+attachment Also check the values of php_value "upload_max_filesize", "upload_max_filesize" within your php.ini file. Within your RoundCube web, RoundCube has its own logfiles. Do you see any errors there? @Edge, You can configure that within RoundCube's configuration file called main.inc.php Do not worry about deleted "default" folders. They are created automaticly again, when mail arrives. Within your main.inc.php have a look to these lines, in the last line you can set permissions for the default folders by using TRUE or FALSE: The first line defines the default path, folders from there are displayed. You should check that as well. // only list folders within this path $rcmail_config['imap_root'] = ''; // store draft message is this mailbox // leave blank if draft messages should not be stored $rcmail_config['drafts_mbox'] = 'Drafts'; // store spam messages in this mailbox $rcmail_config['junk_mbox'] = 'Junk'; // store sent message is this mailbox // leave blank if sent messages should not be stored $rcmail_config['sent_mbox'] = 'Sent'; // move messages to this folder when deleting them // leave blank if they should be deleted directly $rcmail_config['trash_mbox'] = 'Trash'; // display these folders separately in the mailbox list. // these folders will automatically be created if they do not exist $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash'); // protect the default folders from renames, deletes, and subscription changes $rcmail_config['protect_default_folders'] = TRUE;
Thank you Hans, but I can still delete stuff than is in folders like /web and /bin and /etc, and they do not get re-created when an email arrives! My $rcmail_config['protect_default_folders'] is set to TRUE (same problem when set to FALSE) Also.. How does your your $rcmail_config['imap_root'] look like?
Hi Edge, The values are the same as shown above, so it is set to true. I've noticed that non-administrator-users can NOT change the default folders 'INBOX', 'Drafts', 'Sent', 'Junk', 'Trash', But if i wait for a while, they can. I do not know why this happens, but i do not worry because if they delete those folders, they are created again by RoundCube. If i was you, try to find out, why you have so many folders. At the moment i am quiet busy, but i try to help you with finding a solution soon.
Okay.. I think I found the problem Lets say we have a user: web42_demo (not an admin account!) As test I have set in main.inc.php: $rcmail_config['imap_root'] = 'webmail'; (note webmail can be any name) Now Roundcube will create the following folder: "/var/www/web_42/user/web42_demo/webmail" Within the /webmail folder 4 files are created (as it should). Drafts Junk Sent Trash If I leave "$rcmail_config['imap_root'] = '';" empty The 4 files are created in "/var/www/web_42/user/web42_demo/" In "/var/www/web_42/user/web42_demo/" there are allready (a lot of) files and folders, and when requesting the "Foldes" option within Roundcube, they are listed aswell. When I use an admin account to login with $rcmail_config['imap_root'] = 'webmail'; set, I still see all the files/folders! I'll be doing some more testing later today
Another Round Cube question.... How do I change the charset for one language? In index.inc in locallization there is this field, but how is it used? $rcube_charsets = array( );
And how do I enable users to login with their e-mail address also? (that`s what theyre used to in uebimiau)