2014-12-31 00:06:17 +00:00
|
|
|
# Fail2Ban filter for Postfix's RBL based Blocked hosts
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
|
|
# common.local
|
|
|
|
before = common.conf
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2016-02-23 19:23:04 +00:00
|
|
|
_daemon = postfix(-\w+)?/smtpd
|
2017-10-02 13:31:55 +00:00
|
|
|
_port = (?::\d+)?
|
2014-12-31 00:06:17 +00:00
|
|
|
|
2017-10-02 13:31:55 +00:00
|
|
|
failregex = ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]%(_port)s: [45]54 [45]\.7\.1 Service unavailable; Client host \[\S+\] blocked\b
|
2014-12-31 00:06:17 +00:00
|
|
|
|
|
|
|
ignoreregex =
|
|
|
|
|
|
|
|
# Author: Lee Clemens
|