You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
429 B
22 lines
429 B
2 years ago
|
# Fail2Ban filter for courier authentication failures
|
||
|
#
|
||
|
|
||
|
[INCLUDES]
|
||
|
|
||
|
# Read common prefixes. If any customizations available -- read them from
|
||
|
# common.local
|
||
|
before = common.conf
|
||
|
|
||
|
[Definition]
|
||
|
|
||
|
_daemon = (?:courier)?(?:imapd?|pop3d?)(?:login)?(?:-ssl)?
|
||
|
|
||
|
failregex = ^%(__prefix_line)sLOGIN FAILED, (?:user|method)=.*, ip=\[<HOST>\]$
|
||
|
|
||
|
ignoreregex =
|
||
|
|
||
|
datepattern = {^LN-BEG}
|
||
|
|
||
|
# Author: Christoph Haas
|
||
|
# Modified by: Cyril Jaquier
|