RoundCube Fail2Ban Plugin
=========================

* Version: 1.1 (2011-Jun-19)
* Plugin Website: http://mattrude.com/projects/roundcube-fail2ban-plugin/
* Source Website: https://github.com/mattrude/rc-plugin-fail2ban/tree/
* Author: Matt Rude [m@mattrude.com]
* Author Website: http://mattrude.com
* License: GPLv3

This is a small plugin that will display the failed login attempts to your syslog or userlogins log file.

Install
=======

* Add fail2ban to $rcmail_config['plugins'] in your RoundCube config

Fail2Ban Setup
==============

/etc/fail2ban/jail.conf:

    [roundcube]
    enabled  = true
    port     = http,https
    filter   = roundcube
    action   = iptables-multiport[name=roundcube, port="http,https"]
    logpath  = /var/www/html/roundcube/logs/userlogins

/etc/fail2ban/filter.d/roundcube.conf:

    [Definition]
    failregex = FAILED login for .*. from <HOST>
    ignoreregex =

License
=======

GNU General Public License, Version 3
