Roundcube Community Forum

 

How to limit login to only 1 domain

Started by flip, September 18, 2008, 11:17:21 AM

Previous topic - Next topic

flip

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 [email protected] to login and prohibits [email protected].

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 [email protected]. Thanks.

JohnDoh

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