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
|
|
|
|
|
2017-02-21 14:54:59 +00:00
|
|
|
prefregex = ^%(__prefix_line)serror,relay=<HOST>,<F-CONTENT>.+</F-CONTENT>$
|
|
|
|
|
|
|
|
failregex = ^[^:]*: 550 User (<.*> )?unknown\.?$
|
|
|
|
^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
|