summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/templates/etc/fail2ban')
-rw-r--r--roles/common/templates/etc/fail2ban/jail.local.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/common/templates/etc/fail2ban/jail.local.j2 b/roles/common/templates/etc/fail2ban/jail.local.j2
index 661c862..7c5bc0e 100644
--- a/roles/common/templates/etc/fail2ban/jail.local.j2
+++ b/roles/common/templates/etc/fail2ban/jail.local.j2
@@ -81,3 +81,13 @@ port = submission
filter = sasl
logpath = /var/log/mail.warn
{% endif %}
+
+
+{% if 'webmail' in group_names %}
+[roundcube]
+
+enabled = true
+port = http,https
+filter = roundcube
+logpath = /var/log/roundcube/errors
+{% endif %}