Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: DeusEx on March 28, 2012, 09:56:43 AM

Title: Disable Login to certain accounts
Post by: DeusEx on March 28, 2012, 09:56:43 AM
Hello roundcube folks,

I need somehelp wit the latest stable roundcube release.
I want to disable the login of certain accounts (like [email protected]) via roundcube for security reasons.
Is there any way to achieve that?

Thank you very much,

DeusEx
Title: Re: Disable Login to certain accounts
Post by: ABerglund on March 28, 2012, 01:56:14 PM
That would better dealt with on the IMAP server, not the webmail client.
Title: Re: Disable Login to certain accounts
Post by: DeusEx on March 28, 2012, 01:59:39 PM
Good point and I need to rephrase my question:
I only want to block certains accounts from using roundcube - not blocking the account completly!
So that they can still use Thunderbird or such to login, but not the webmailer.
Title: Re: Disable Login to certain accounts
Post by: rosali on March 28, 2012, 02:21:36 PM
./config/main.inc.php


// automatically create a new RoundCube user when log-in the first time.
// a new user will be created once the IMAP login succeeds.
// set to false if only registered users can use this service
$rcmail_config['auto_create_user'] = false;


... and delete those users you don't want to access Roundcube from database (users table).

This is the fastest and cleanest way. NOTE: If you want to grant new users access you them either to add them to the database manually or you have a second Roundcube setup where the access is only known by priviledged users or you use any other access protection for the second Roundcube installation.