Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: joe123 on April 28, 2008, 02:51:14 PM

Title: Defaulting to "@myhost.com" when login in
Post by: joe123 on April 28, 2008, 02:51:14 PM
Hi.

I am newbie and am using RoundCube .0.1.1 on a share host hostmonster.com

Because I am on a share host, when I go to my site "mysite.com" and log in, I have to enter "joe@mysite.com" instead of just "joe".

Is there a way to tell RoundCube to default to "@mysite.com" when a login is entered like "joe"?       So that if I enter "joe" at the RoundCube login, the "@mysite.com" is appended to it?

I imagine lots of people on shared hosts would love to know this?

Thanks,
Joe
Title: Defaulting to "@myhost.com" when login in
Post by: flosoft on April 28, 2008, 02:53:01 PM
Yes, check the config file. There is a value for default domain.
Title: Defaulting to "@myhost.com" when login in
Post by: joe123 on April 28, 2008, 02:55:55 PM
Quote from: flosoft;11703Yes, check the config file. There is a value for default domain.

Thanks.

I am new.  Can you point me to the file I need to edit and maybe what section?

Thanks,
Joe

EDIT:  Is it the main.inc.php file?
Title: Defaulting to "@myhost.com" when login in
Post by: flosoft on April 28, 2008, 02:58:31 PM
// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
$rcmail_config['username_domain'] = 'flosoft.biz';
This is what you need to find in /config/main.inc.php
Title: Defaulting to "@myhost.com" when login in
Post by: joe123 on April 28, 2008, 03:10:46 PM
Thank you.   Works like a charm.  :)
Title: Defaulting to "@myhost.com" when login in
Post by: flosoft on April 28, 2008, 03:12:02 PM
Quote from: joe123;11709Thank you.   Works like a charm.  :)
You're welcome. Closing thread.