emailrelay/etc/emailrelay-fail2ban-filter
Graeme Walker 4ef1c64564 v2.2
2021-02-16 12:00:00 +00:00

17 lines
589 B
Plaintext

# Example fail2ban filter definition for emailrelay.
#
# Install this as /etc/fail2ban/filter.d/emailrelay.conf
# and configure emailrelay to use the "--log-address"
# option.
[Definition]
failregex = emailrelay: warning: <HOST>; failed authentication
emailrelay: warning: <HOST>; .* AUTH requested but not advertised
emailrelay: warning: <HOST>; empty MAIL-FROM return path
emailrelay: info: <HOST>; address verifier: exit code
ignoreregex = emailrelay: warning: <HOST>; dnsbl
emailrelay: info: <HOST>; address verifier: exit code 1: