Hi,
I installed Roundcube and all works fine. But I would like to block other domains to can connect, because with my config, all the customers of my ISP can connect to my webmail. How to lock access only for
[email protected] ? (For connecting and sending)
Thanks a lot !
Check the ./config/main.inc.php and modify the following setting:
// 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'] = TRUE;
to
// 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;
Now no new users can access their mail using your RC environment
I did it but I still can log in with another of my domains ... I would like to lock it for
[email protected] and I tried now with
[email protected] hosted on the same ISP and it also worked. How to lock it and to oblige the users to type
[email protected] ? ... Thx a lot !
Once you managed to succesful login, this solution does not work, because the user has already been creted in the RC-database.
So my question: Have you used
[email protected] to login before you've modified the settings in main.inc.php?
Yes, a lot of times ...
Quote from: Fred5550;19269Yes, a lot of times ...
So you can't use that user as this moment.
To test you can do the following:
- Use the credentials of a user which have never logged in before using RC.
- Remove the user [email protected] from the RC database. The users are saved in the table 'users'.
In short all the actions:
- Set $rcmail_config['auto_create_user'] = TRUE; in the main.inc.php
- Make sure that everyone in the domain mydomain.be has logged in using RC
- Set $rcmail_config['auto_create_user'] = FALSE; in the main.inc.php
- Remove the unwanted users from the table 'users'
It works ! Thanks a lot !!! :)