Miscellaneous > Roundcube Discussion
Disable Login to certain accounts
(1/1)
DeusEx:
Hello roundcube folks,
I need somehelp wit the latest stable roundcube release.
I want to disable the login of certain accounts (like banned@myhost.com) via roundcube for security reasons.
Is there any way to achieve that?
Thank you very much,
DeusEx
ABerglund:
That would better dealt with on the IMAP server, not the webmail client.
DeusEx:
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.
rosali:
./config/main.inc.php
--- Code: ---// 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;
--- End code ---
... 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.
Navigation
[0] Message Index
Go to full version