2013-10-30 13:02:59 +00:00
|
|
|
# Fail2Ban filter file for common exim expressions
|
2013-07-02 10:03:16 +00:00
|
|
|
#
|
2013-10-30 13:02:59 +00:00
|
|
|
# This is to be used by other exim filters
|
2013-07-02 10:03:16 +00:00
|
|
|
|
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Load customizations if any available
|
|
|
|
after = exim-common.local
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2017-02-21 14:54:59 +00:00
|
|
|
host_info_pre = (?:H=([\w.-]+ )?(?:\(\S+\) )?)?
|
|
|
|
host_info_suf = (?::\d+)?(?: I=\[\S+\](:\d+)?)?(?: U=\S+)?(?: P=e?smtp)?(?: F=(?:<>|[^@]+@\S+))?\s
|
|
|
|
host_info = %(host_info_pre)s\[<HOST>\]%(host_info_suf)s
|
2016-05-30 15:02:12 +00:00
|
|
|
pid = (?: \[\d+\])?
|
2013-07-02 10:03:16 +00:00
|
|
|
|
2013-10-30 13:02:59 +00:00
|
|
|
# DEV Notes:
|
|
|
|
# From exim source code: ./src/receive.c:add_host_info_for_log
|
|
|
|
#
|
|
|
|
# Author: Daniel Black
|