I’ve been trying to install roundcube using the method described here, but I haven’t been able to log-in successfully. To help diagnose where I went wrong let me show you the changes to the main.inc.php, and the db.inc.php.
For the db.inc.php (no .dist i removed that)
$rcmail_config[‘default_host’] = ‘mail.krusnix.com’;
// TCP port used for IMAP connections
$rcmail_config[‘default_port’] = 38;
$rcmail_config[‘smtp_server’] = ‘mail.krusnix.com’;
// SMTP port (default is 25; 465 for SSL)
$rcmail_config[‘smtp_port’] = 63;
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config[‘smtp_user’] = ‘%u’;
// SMTP password (if required) if you use %p as the password RoundCube
// will use the current user’s password for login
$rcmail_config[‘smtp_pass’] = ‘%p’;
So those are all the changes I made for the actual file.
I headed over to the roundcubedatabase phpinfo site, and imported the initial mysql file. Then I clicked users, clicked insert then left the function blank and for value added email@example.com for mail host I yet again left the function blank and added mail.krusnix.com, for alias I just put krusnix. Then I clicked go.
*note that I have a firstname.lastname@example.org email already set-up at the dreamhost cpanel. So when I head over to the roundcube url, and enter email@example.com and the password set at the dreamhost cpanel it says my log-in is incorrect, it does the same thing when I just leave it at krusnix, and enter the same pass as above.