RoundCube Webmail

RoundCube Webmail

Posted by: spiderfool
Posted on: 2005-11-27 18:23:00

I have installed RoundCube Webmail but it keeps telling me login failed. I googled it found some help but i cant seem to get it to make me login. Heres what i have done so far. I am logging in with my mailbox number not user@domain

Edited roundmails index.php
Replace line 54:
ini_set('include_path',
$INSTALL_PATH.PATH_SEPARATOR.$CURRENT_PATH.'program'.PATH_SEPARATOR.$CURRENT_
PATH.'program/lib'.PATH_SEPARATOR.ini_get('include_path'));

with

ini_set('include_path',
ini_get('include_path').PATH_SEPARATOR.$INSTALL_PATH.PATH_SEPARATOR.'program'
.PATH_SEPARATOR.'program/lib');

Edit config/db.inc.php to my datbase settings

Now my questions is how do i set my mail server address mail.domain.com

main.inc.php
// automatically create a new RoundCube user when log-in the first time.
// a new user will be created once the IMAP login succeeded.
// set to false if only registered users can use this service
$rcmail_config['auto_create_user'] = FALSE;

// the mail host chosen to perform the log-in
// leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL connection, enter ssl://hostname:993
$rcmail_config['default_host'] = 'mail.unixdaemon.org';

Tried localhost, left it blank too still no avail. If anyone has this working also is there a way to add a backend to make it accept user@domain instead of mailbox numbers?

Thank you

Re: RoundCube Webmail

Posted by: jford
Posted on: 2006-02-26 20:52:00

Has someone figured out how to get it to log a user in? I have done everything all the tutorials and tips have said. It still says login failed.

Re: RoundCube Webmail

Posted by: mbaizman
Posted on: 2006-02-27 11:20:00

Did you try manually putting in your $INSTALL_PATH?

Quoting from a previous post:

Go to index.php and change line 47 (i think) from:

$INSTALL_PATH = Dirname($_SERVER['SCRIPT_FILENAME']);

to:

$INSTALL_PATH = '/home/username/your.domain.com';


Re: RoundCube Webmail

Posted by: jford
Posted on: 2006-02-28 08:42:00

i have set the $INSTALL_PATH = /home/.diabolique/jford/jford.net/

is this right?

Re: RoundCube Webmail

Posted by: ibits
Posted on: 2006-03-01 09:28:00

.diabolique/jford/jford.net/
^ should the period be there? Try it without it and see if it makes a difference?

Re: RoundCube Webmail

Posted by: mbaizman
Posted on: 2006-03-01 12:45:00

No, that's not right. You need to remove the .diabolique, so it looks like:

$INSTALL_PATH = /home/jford/jford.net/

Dreamhost configures their shared hosting so that the path includes the .servername. However, you should never use this full path (with the .server) in any application, in case Dreamhost moves you to a new server (it happens rarely, but it does happen). You should always use the /home/yourusername/yourdomain.com/ path.



Re: RoundCube Webmail

Posted by: reinmund
Posted on: 2006-05-24 06:51:00

I just installed it following these instructions:

http://wiki.dreamhost.com/index.php/RoundCube

Worked like a charm, no problems.

BUT: RC is slow as molasses. Unfortunately.

Tags: path pathpath separatormail hostgoogledlocalhostinidomainphplibwebmailssl