Roundcube Community Forum

 

Block access for some accounts

Started by lizard, January 13, 2009, 05:15:45 AM

Previous topic - Next topic

lizard

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!

aviscido

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.

lizard

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!

rosali

No, I'm not aware of any kind of settings to do so. You would have to hack the source code.
Regards,
Rosali

Julius Caesar

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
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Julius Caesar

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.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he