From 87b119995fa9db0bfc258949017835793e88d267 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 7 Dec 2022 10:28:53 -0800 Subject: [PATCH] configure mail-ratelimit to use destemail var --- etc/fail2ban/action.d/mail-ratelimit.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/etc/fail2ban/action.d/mail-ratelimit.conf b/etc/fail2ban/action.d/mail-ratelimit.conf index 73be2c0..46b9d47 100644 --- a/etc/fail2ban/action.d/mail-ratelimit.conf +++ b/etc/fail2ban/action.d/mail-ratelimit.conf @@ -1,6 +1,6 @@ # Fail2Ban configuration file # -# Author: Cyril Jaquier +# Author: Matthew Saunders Brown # # @@ -39,7 +39,7 @@ actionban = printf %%b "Hi,\n \n Regards,\n - Fail2Ban"|mail -s "[Fail2Ban] " + Fail2Ban"|mail -s "[Fail2Ban] " # Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the @@ -54,7 +54,3 @@ actionunban = # Default name of the chain # name = exim-ratelimit - -# Destination/Addressee of the mail -# -dest = postmaster