Hello all! Some users from time to time sending a lot of spam, is there any solutions to block some accounts to access? Any thoughts are welcome!
I don't know if I have understood what are you talking about... are they sending spam throught the roundcube webmail? Or are you receiving spam on your account?
Probably you have to set up some antispam filter in your email server, not in roundcube.
Well, i'll try to describe another way... Roundcube installed on ISP mail server, and for some reasons I want to block access to web-interface for some describers ( block by login) Blocking by ip (e.g. by iptables) is not effective. Is there any possibilities to do it by Roundcube settings? Thank you!
No, I'm not aware of any kind of settings to do so. You would have to hack the source code.
If all users have made a successful login, you can modify the main.inc.php in the directory /config.
Change the line
$rcmail_config['auto_create_user'] = TRUE;
to
$rcmail_config['auto_create_user'] = FALSE;
And remove the users you do want to block from the RoundCube database
Quote from: Julius Caesar;17289If all users have made a successful login, you can modify the main.inc.php in the directory /config.
Change the line
$rcmail_config['auto_create_user'] = TRUE;
to
$rcmail_config['auto_create_user'] = FALSE;
And remove the users you do want to block from the RoundCube database
In addition to this, you can use a sql-script to add new users to the database. ISPs often use a shell script to create new users.