Hrm, that sounds like strange behavior to me. Does roundcube
really redirect your request to slashdot, instead of handling the login itself?
On Fri, 17 Feb 2006, Mykeul wrote:
Yes but this is a "server" field, so with your example, you get a pulldown menu with "slashdot.org" and "microsoft.com" and if I enter "myname" as a login, RC will try to authenticate myname@slashdot.org by connecting to host "slashdot.org".
OK in many situations that is fine. However, in my architecture, the server resolved as "mydomain.com" is not the imap server and cannot be it. I suggest an array, or a mysql table, with 3 (or 4) fields "display_name", "domain", "host" (and maybe "port"). So in the login you can show the "display_name" (for example showing "DELL France" instead of "fr.dell.com") then add the "domain" field to the RC login field to get the entire email, and finally connect to the "host" field (i.e. mail458.dijon.fr.dell.com, and maybe on "port" port) to make the request. I hope i was clear enough because I'm not very good at explaining things.
Thanks,
Mykeul
On 2/17/06, Jon Daley roundcube@jon.limedaley.com wrote:
On Fri, 17 Feb 2006, Mykeul wrote:
- Add a "domain" field in the login form, which may be populated form a
file
or a mysql table, so that the users dont have to write username@domainil the login field. It is useful for multi domains hosts. (I saw something talking about a relation host/domain in the config file but I didnt understand)
You know that you can do this, right?
$rcmail_config['default_host'] = array("slashdot.org","microsoft.com");
Jon Daley http://jon.limedaley.com/
The problem with the gene pool is that there is no lifeguard.