Roundcube plugin to provide a generic access blacklist.
The plugin can be configured to deny access to specific usernames, IPs, networks in CIDR notation or countries. It is not meant to be configured by users, only by the Roundcube Webmail administrator via configuration file.
This is a useful plugin when users's passwords have been caught by spammers, but the administrators can not change the users's passwords (only the user may change it's own password).
Stable versions of this plugin are available from the Roundcube plugin repository or the releases section of the GitHub repository.
- Roundcube plugin geolocation if you configure to deny access by country.
-
Go to your Roundcube root directory.
-
Run
$ composer require dsoares/blacklist
. -
Copy
config.inc.php.dist
toconfig.inc.php
and modify as necessary.
Place this directory (named blacklist) under your Rouncdube plugins/
and enable blacklist plugin within the main Roundcube configuration file.
Copy config.inc.php.dist
to config.inc.php
and modify as necessary.
Please note that if you want to block access by country in the configuration file, this plugin requires the Roundcube plugin geolocation to be enabled and properly working. Check the geolocation plugin instructions for more information.
-
$config['blacklist_usernames'] -
array
of usernames to deny access. -
$config['blacklist_ips'] -
array
of IPs and networks in CIDR notation to deny access. -
$config['blacklist_countries'] -
array
of countries to deny access. -
$config['blacklist_log'] -
boolean
, if the plugin should log denied requests.
This plugin is released under the GNU General Public License Version 3+.
Comments and suggestions are welcome!
Email: Diana Soares