2013-10-30 13:02:59 +00:00
|
|
|
# Fail2Ban filter to block relay attempts though a Courier smtp server
|
2006-08-30 22:16:52 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2013-07-20 14:34:00 +00:00
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
|
|
# common.local
|
|
|
|
before = common.conf
|
|
|
|
|
2006-08-30 22:16:52 +00:00
|
|
|
[Definition]
|
|
|
|
|
2013-07-20 14:34:00 +00:00
|
|
|
_daemon = courieresmtpd
|
|
|
|
|
2014-07-28 10:51:38 +00:00
|
|
|
failregex = ^%(__prefix_line)serror,relay=<HOST>,.*: 550 User (<.*> )?unknown\.?$
|
2016-05-22 02:17:09 +00:00
|
|
|
^%(__prefix_line)serror,relay=<HOST>,msg="535 Authentication failed\.",cmd:( AUTH \S+)?( [0-9a-zA-Z\+/=]+)?(?: \S+)$
|
2006-11-12 14:52:36 +00:00
|
|
|
|
2006-11-15 18:44:28 +00:00
|
|
|
ignoreregex =
|
2013-10-30 13:02:59 +00:00
|
|
|
|
|
|
|
# Author: Cyril Jaquier
|