mirror of https://github.com/fail2ban/fail2ban
add trigger for postfix/postscreen DNSBL rank message
parent
3e6a60f940
commit
0d08faeb32
|
@ -52,6 +52,10 @@ mdre-aggressive = %(mdre-auth2)s
|
|||
mdpr-errors = too many errors after \S+
|
||||
mdre-errors = ^from [^[]*\[<HOST>\]%(_port)s$
|
||||
|
||||
# Extra mode "screendnsbl", triggered on postfix/postscreen[<PID>]: DNSBL rank <NUM> for [<HOST>]:<PORT>
|
||||
mdpr-screendnsbl = DNSBL rank \d+
|
||||
mdre-screendnsbl = for \[<HOST>\]%(_port)s
|
||||
|
||||
|
||||
failregex = <mdre-<mode>>
|
||||
|
||||
|
|
|
@ -599,6 +599,16 @@ backend = %(postfix_backend)s
|
|||
maxretry = 1
|
||||
|
||||
|
||||
[postfix-screendnbl]
|
||||
|
||||
filter = postfix[mode=screendnsbl]
|
||||
port = smtp,465,submission
|
||||
logpath = %(postfix_log)s
|
||||
backend = %(postfix_backend)s
|
||||
maxretry = 1
|
||||
bantime = 4h
|
||||
|
||||
|
||||
[sendmail-auth]
|
||||
|
||||
port = submission,465,smtp
|
||||
|
|
Loading…
Reference in New Issue