How to install Roundcubemail (webmail alternative)

I've dropped RCmail and went back to squirrelmail with a cute skin at nutsmail.com
 
When logging for the first time, RCmail creates an identifier for you with username@localhost as your email.

It's possible to set RCmail to get the right domain though by configuring these variables on main.inc.php:

Code:
// Path to a virtuser table file to resolve user names and e-mail addresses
$rcmail_config['virtuser_file'] = '';

// Query to resolve user names and e-mail addresses from the database
// %u will be replaced with the current username for login.
// The query should select the user's e-mail address as first col
$rcmail_config['virtuser_query'] = '';

Does anyone know how to configure this or at least know a file where DA saves this information which we could extract such information?
 
When logging for the first time, RCmail creates an identifier for you with username@localhost as your email.

It's possible to set RCmail to get the right domain though by configuring these variables on main.inc.php:

Code:
// Path to a virtuser table file to resolve user names and e-mail addresses
$rcmail_config['virtuser_file'] = '';

// Query to resolve user names and e-mail addresses from the database
// %u will be replaced with the current username for login.
// The query should select the user's e-mail address as first col
$rcmail_config['virtuser_query'] = '';

Does anyone know how to configure this or at least know a file where DA saves this information which we could extract such information?
Well, I found the solution myself. I'm posting it here just in case anybody needs it too.

Code:
$rcmail_config['mail_domain'] = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);

Assuming your users access www.theirdomain.com/webmail, it should work.
 
I installed fine! But now i get a error.. Don't what to do.. can anyone help?

DB Error in /var/www/html/roundcubemail/program/include/rcube_db.inc (63): DB Error: connect failed

Fatal error: Call to undefined method DB_Error::query() in /var/www/html/roundcubemail/program/include/rcube_db.inc on line 119

I can acces the database by my own..
 
Is there an add-on available for Roundcubemail to offer user registration outside of DA so the one can go to XX URL and setup an account for himself ?
 
Hi folks,


Ubuntu 7.04 server amd64
Postfix 2.3.8
Courier-imap
Roundcube-webmail
Code:
$ apt-cache policy roundcube-webmail
roundcube-webmail:
  Installed: 0.1-beta2-0ubuntu1
  Candidate: 0.1-beta2-0ubuntu1
  Version table:
 *** 0.1-beta2-0ubuntu1 0
        500 http://us.archive.ubuntu.com feisty/universe Packages
        100 /var/lib/dpkg/status


Have roundcube-webmail installed on repo, running for a week. But can't make it to work.


On Firefox

both
https://localhost/roundcube-webmail
http://domain.com/roundcube-webmail
popup;
Code:
SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)
Please help. TIA


B.R.
satimis
 
Last edited:
localhost isn't going to work; it's pointing at your desktop system.

It's unlikely domain.com points to your server.

It's also unlikely we'll be able to help you; we don't run Postfix.

Jeff
 
Back
Top