Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: KyleJ144 on May 04, 2020, 02:22:59 PM

Title: How to limit domain accessing my Roundcube installation
Post by: KyleJ144 on May 04, 2020, 02:22:59 PM
Hey,

I am currently using Roundcube version 1.3.10 and I am wondering if their is a way to limit domains from logging into my Roundcube installation. For example I have got to domains like example.com and test.co.uk and I only want example.com to be able to log into my Roundcube installation.


Any help would be appreciated and thanks in advance.
Title: Re: How to limit domain accessing my Roundcube installation
Post by: alec on May 05, 2020, 02:06:32 AM
$config['login_username_filter'] = '/@example\.com$/';

or

$config['username_domain'] = 'example.com';
$config['username_domain_forced'] = true;
Title: Re: How to limit domain accessing my Roundcube installation
Post by: KyleJ144 on May 05, 2020, 07:21:31 AM
Okay Thank you an would I place that in the config/config.inc.php
Title: Re: How to limit domain accessing my Roundcube installation
Post by: JohnDoh on May 05, 2020, 12:10:17 PM
yes
Title: Re: How to limit domain accessing my Roundcube installation
Post by: davidorman on May 10, 2020, 03:33:16 AM
Thanks for that,I will give it a try