Author Topic: Defaulting to "@myhost.com" when login in  (Read 3811 times)

Offline joe123

  • Newbie
  • *
  • Posts: 3
Defaulting to "@myhost.com" when login in
« 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

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Defaulting to "@myhost.com" when login in
« Reply #1 on: April 28, 2008, 02:53:01 PM »
Yes, check the config file. There is a value for default domain.

Offline joe123

  • Newbie
  • *
  • Posts: 3
Defaulting to "@myhost.com" when login in
« Reply #2 on: April 28, 2008, 02:55:55 PM »
Quote from: flosoft;11703
Yes, 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?

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Defaulting to "@myhost.com" when login in
« Reply #3 on: April 28, 2008, 02:58:31 PM »
Code: [Select]
// 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

Offline joe123

  • Newbie
  • *
  • Posts: 3
Defaulting to "@myhost.com" when login in
« Reply #4 on: April 28, 2008, 03:10:46 PM »
Thank you.   Works like a charm.  :)

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Defaulting to "@myhost.com" when login in
« Reply #5 on: April 28, 2008, 03:12:02 PM »
Quote from: joe123;11709
Thank you.   Works like a charm.  :)
You're welcome. Closing thread.