Roundcube Community Forum

Release Support => Requests => Topic started by: resellertr on December 05, 2010, 10:12:59 PM

Title: Multiple Domains Login with out filling host field on login page.
Post by: resellertr on December 05, 2010, 10:12:59 PM
Hi,

I installed round cube on rc.mydomain.com , I want any one to use my rc.mydomain.com to check their mail. They will only enter email address and password, roundcube will use their mail server by replacing [email protected] to mail.email.com.

I searched forum but can not find exact answer.
Title: Multiple Domains Login with out filling host field on login page.
Post by: resellertr on December 05, 2010, 10:55:58 PM
I found solution

I modified mail.inc.php

$usersplit = explode('@', get_input_value('_user', RCUBE_INPUT_POST));
$host = "mail.$usersplit[1]";
$rcmail_config['default_host'] = $host;