You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
516 B
Plaintext
21 lines
516 B
Plaintext
7 years ago
|
# Fail2Ban filter file for common exim expressions
|
||
|
#
|
||
|
# This is to be used by other exim filters
|
||
|
|
||
|
[INCLUDES]
|
||
|
|
||
|
# Load customizations if any available
|
||
|
after = exim-common.local
|
||
|
|
||
|
[Definition]
|
||
|
|
||
|
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
|
||
|
pid = (?: \[\d+\])?
|
||
|
|
||
|
# DEV Notes:
|
||
|
# From exim source code: ./src/receive.c:add_host_info_for_log
|
||
|
#
|
||
|
# Author: Daniel Black
|