Looks like you just catched the wrong config parameter. Since mail servers use different forms for logins, there are two parameters doing similar things:
'mail_domain' will append the given string to the user name in order to form a valid e-mail address when creating a new user identity after the first login. This is only used if the mail server does not require full e-mail addresses for login.
'username_domain' would do what you are looking for. The given string will be added to the user name before performing the IMAP login.
Both config parameters can also contain an array with entries for each IMAP host name. Example: array('imap-host' => 'mail-domain').
Regards, Thomas
Geuis Teses wrote:
I'm setting up roundcube on an account hosted by Mosso.com http://Mosso.com.
I've set my host to:
$rcmail_config['mail_domain'] = 'jtpre.com http://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