Roundcube Community Forum

 

How to limit domain accessing my Roundcube installation

Started by KyleJ144, May 04, 2020, 02:22:59 PM

Previous topic - Next topic

KyleJ144

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.

alec

$config['login_username_filter'] = '/@example\.com$/';

or

$config['username_domain'] = 'example.com';
$config['username_domain_forced'] = true;

KyleJ144

Okay Thank you an would I place that in the config/config.inc.php

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

davidorman