X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Ffail2ban%2Fjail.conf;fp=etc%2Ffail2ban%2Fjail.conf;h=99e5e95e0f8371da73061eb3cf7c8a316f4716bf;hb=8d552fd22da25c980e0328593928f1c0fdb15ea0;hp=ce9c7eb1bc1de91855b0ee784f0cfa039e510d32;hpb=549adc42a17671f25ef98ea72c4ad25593b28a09;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/fail2ban/jail.conf b/etc/fail2ban/jail.conf index ce9c7eb..99e5e95 100644 --- a/etc/fail2ban/jail.conf +++ b/etc/fail2ban/jail.conf @@ -58,12 +58,12 @@ protocol = tcp action_ = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s] # ban & send an e-mail with whois report to the destemail. -action_mw = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s] +action_mw = %(action_)s %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s] # ban & send an e-mail with whois report and relevant log lines # to the destemail. -action_mwl = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s] +action_mwl = %(action_)s %(mta)s-whois-lines[name=%(__name__)s, dest="%(destemail)s", logpath=%(logpath)s] # Choose default action. To change, just override value of 'action' with the