Roundcube Community Forum

 

Defaulting to "@myhost.com" when login in

Started by joe123, April 28, 2008, 02:51:14 PM

Previous topic - Next topic

joe123

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

flosoft

Yes, check the config file. There is a value for default domain.

joe123

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?

flosoft

// 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

joe123


flosoft

Quote from: joe123;11709Thank you.   Works like a charm.  :)
You're welcome. Closing thread.