diff options
| author | Lukasz Kasprzak <lukasz.kasprzak@pm.me> | 2026-04-14 22:32:43 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukasz.kasprzak@pm.me> | 2026-04-14 22:32:43 +0200 |
| commit | 83f7fe4b8402bab171d110703a1b1115efbc9b28 (patch) | |
| tree | 19110702c7d740f6bd8ee4f5d2ebcb97442be237 /straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf | |
| parent | 51d43498b07dc97d795947964534f0903cd05db5 (diff) | |
| download | bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.tar.gz bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.zip | |
cleaned up many scrits and deleted some that were of no use; renamed a lot
Diffstat (limited to 'straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf')
| -rw-r--r-- | straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf b/straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf deleted file mode 100644 index ecf3a5d..0000000 --- a/straper/db/public/fail2ban/etc-fail2ban/action.d/mail-whois-common.conf +++ /dev/null @@ -1,28 +0,0 @@ -# Fail2Ban configuration file -# -# Common settings for mail actions -# -# Users can override the defaults in mail-whois-common.local - -[INCLUDES] - -# Load customizations if any available -after = mail-whois-common.local - -[DEFAULT] -#original character set of whois output will be sent to mail program -_whois = whois <ip> || echo "missing whois program" - -# use heuristics to convert charset of whois output to a target -# character set before sending it to a mail program -# make sure you have 'file' and 'iconv' commands installed when opting for that -_whois_target_charset = UTF-8 -_whois_convert_charset = (%(_whois)s) | - { WHOIS_OUTPUT=$(cat) ; WHOIS_CHARSET=$(printf %%b "$WHOIS_OUTPUT" | file -b --mime-encoding -) ; printf %%b "$WHOIS_OUTPUT" | iconv -f $WHOIS_CHARSET -t %(_whois_target_charset)s//TRANSLIT - ; } - -# choose between _whois and _whois_convert_charset in mail-whois-common.local -# or other *.local which include mail-whois-common.conf. -_whois_command = %(_whois)s -#_whois_command = %(_whois_convert_charset)s - -[Init] |
