Author Topic: How to limit login to only 1 domain  (Read 6480 times)

Offline flip

  • Newbie
  • *
  • Posts: 1
How to limit login to only 1 domain
« on: September 18, 2008, 11:17:21 AM »
Hi,

I successfully installed RC on my shared host. Great interface and comfortable. However, I only wanted to let users with email addresses under a specific domain to login.

For example, I only want user@myowndomain.com to login and prohibits user@otherdomainname.com.

Because what I have observed, I can login to RC using any domains with the same mailserver.

domain1.com and domain2.com share the same mailserver, hence all users of both domains can login to the RC. I only want domain1.com to login and not domain2.com. Is it possible?

Please email me at flip@chuvanesh.com. Thanks.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
How to limit login to only 1 domain
« Reply #1 on: September 19, 2008, 05:03:01 AM »
You can set $rcmail_config['auto_create_user'] to FALSE in your config but then you would need to add all the users from myowndomain.com to the RC database manually (or login in once with $rcmail_config['auto_create_user'] = TRUE; and then disable it). It's just an idea, I know its not an ideal solution.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦