diff --git a/debian/jail.conf b/debian/jail.conf index a8c840c5..89f56ca8 100644 --- a/debian/jail.conf +++ b/debian/jail.conf @@ -66,6 +66,9 @@ destemail = root@localhost # Name of the sender for mta actions sendername = Fail2Ban +# Email address of the sender +sender = fail2ban@localhost + # # ACTIONS # @@ -533,7 +536,7 @@ enabled = false filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] sendmail-whois[name=SSH, dest="%(destemail)s", sender="%(sender)s", sendername="%(sendername)s"] - blocklist_de[email="%(sender)s", apikey="xxxxxx", service=%(filter)s] + blocklist_de[email="%(sender)s", apikey="xxxxxx", service="%(filter)s"] logpath = /var/log/sshd.log maxretry = 20