Well, I fixed this by changing this line in index.php:

else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'], $_POST['_pass'], $host))

By changing it to:

else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'].'@jtpre.com', $_POST['_pass'], $host))

In my case, I hard-coded our domain. A more general fix might be like this:

else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'].'@'.$host, $_POST['_pass'], $host))

Hope this helps someone.

Geuis


On 4/18/06, Aux <aux@liqu.id.lv> wrote:
As I understand this is because there are many one-domain-per-ip servers
which will not understand such login names. I applied a JavaScript patch
for auto-appending domain.


-----Original Message-----
From: "Geuis Teses" < geuis.teses@gmail.com>
To: "RoundCube Dev" <dev@lists.roundcube.net>
Date: Tue, 18 Apr 2006 11:48:08 -0400
Subject: RC doesn't append @domain.com even with host specificed

> I'm setting up roundcube on an account hosted by Mosso.com.
>
> I've set my host to:
>
> $rcmail_config['mail_domain'] = 'jtpre.com';
>
> However, even though the server box is hidden at the login screen it
> will
> only log in if I put then entire email address for the username. I'm
> using
> the latest beta build from the website, not CVS.
>
> Can someone point out what I'm missing here?
>
> -Geuis
>