summaryrefslogtreecommitdiff
path: root/config/filter.d/cyrus-imap.conf
blob: 31dfda60367a82834e5ae55ab73f6e329611d660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Fail2Ban filter for authentication failures on Cyrus imap server
#
#
#

[INCLUDES]

# Read common prefixes. If any customizations available -- read them from
# common.local
before = common.conf

[Definition]

_daemon = (?:cyrus/)?(?:imap(d|s)?|pop3(d|s)?)

failregex = ^%(__prefix_line)sbadlogin: [^\[]*\[<HOST>\] \S+ .*?\[?SASL\(-13\): (authentication failure|user not found): .*\]?$

ignoreregex = 

# Author: Jan Wagner <waja@cyconet.org>