Author Topic: Initial setup Limiting Users & Servers  (Read 5484 times)

Offline RRRRob

  • Jr. Member
  • **
  • Posts: 16
Initial setup Limiting Users & Servers
« on: May 18, 2010, 05:35:38 PM »
Hello,

I've searched the forum, looked threw the wiki, and have read what little documentation I have.  I'm also very new to RoundCube.

It's working but I've missed something in the setup or the documentation and I can't find any instructions or discussions on what I'm looking to do, which is as follows.

1st)   I would like to limit the server to only one specific server, and not have the server entry box on the log-in page at all.


2nd)  I'm also thinking about having the the username field only require the name and have the system auto enter the corresponding address for the permanently added server.

Sample....
server name:  mail.xxxx.com
full Username:  john.do@xxxx.com

set server permeant to  mail.xxxx.com  and not have a Server field on the log in page.  Then have users only enter  John.do  in the Username field and let the server append   @xxxx.com to this name.

From what I can tell the ability to do this is here,  I just can't find any documentation to help me along with the process.

Thanks
Rob

Offline RRRRob

  • Jr. Member
  • **
  • Posts: 16
Initial setup Limiting Users & Servers
« Reply #1 on: May 18, 2010, 06:21:08 PM »
Ok....  I found where to auto set the server in the config file.

Can some one please tell me where to find good documentation.

Thanks
Rob

Offline toetag

  • Jr. Member
  • **
  • Posts: 65
Initial setup Limiting Users & Servers
« Reply #2 on: May 18, 2010, 07:50:41 PM »
Have you checked:

wiki?
<[ a desert to an irishman is an empty glass. ]>

Offline RRRRob

  • Jr. Member
  • **
  • Posts: 16
Initial setup Limiting Users & Servers
« Reply #3 on: May 19, 2010, 11:10:01 AM »
Hello,

I've searched the forum, looked threw the wiki, and have read what little documentation I have. I'm also very new to RoundCube.

I have found the following and have set it to the desired as such:

// 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'] = '@xxxx.com';

Thing is it still isn't working.  I'm guessing there is either a true/false trigger somewhere that I need to change, or that I don't have the correct copy for '@xxxx.com'.  My understanding of the comments is that it wants the "domain to add to the user name" but it also shows "username_domain" thus I'm uncertain that I've given the proper information.

Thanks for the help
Rob

Offline RRRRob

  • Jr. Member
  • **
  • Posts: 16
Initial setup Limiting Users & Servers
« Reply #4 on: May 19, 2010, 12:35:08 PM »
Hello,

Found answer, NO '@' in the previous line.

This link helped make sense of it...

#1486458 (rcmail.php contains (famous) strpos mistakes) ? Roundcube Webmail

Thanks for all the help
Rob