fail2ban/config/filter.d/couriersmtp.conf

20 lines
352 B
Plaintext
Raw Normal View History

# Fail2Ban filter to block relay attempts though a Courier smtp server
#
#
[INCLUDES]
# Read common prefixes. If any customizations available -- read them from
# common.local
before = common.conf
[Definition]
_daemon = courieresmtpd
failregex = ^%(__prefix_line)serror,relay=<HOST>,.*: 550 User unknown\.$
ignoreregex =
# Author: Cyril Jaquier