From c3d66d89e8367f0cc097bdac5b74439e89ff3901 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Mon, 30 May 2016 11:26:40 +0200 Subject: [PATCH] Moved new configuration near destemail --- templates/etc/fail2ban/jail.local.j2 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/etc/fail2ban/jail.local.j2 b/templates/etc/fail2ban/jail.local.j2 index 257612a..961af39 100644 --- a/templates/etc/fail2ban/jail.local.j2 +++ b/templates/etc/fail2ban/jail.local.j2 @@ -24,10 +24,6 @@ ignoreip = {{ fail2ban_ignoreips | join(' ') }} bantime = {{ fail2ban_bantime }} maxretry = {{ fail2ban_maxretry }} findtime = {{ fail2ban_findtime }} -sendername = {{ fail2ban_sendername }} -{% if fail2ban_sender is defined %} -sender = {{ fail2ban_sender }} -{% endif %} # "backend" specifies the backend used to get files modification. Available # options are "gamin", "polling" and "auto". @@ -40,6 +36,14 @@ backend = {{ fail2ban_backend }} # jail.{conf,local} configuration files. destemail = {{ fail2ban_destemail }} +# +# Sender name and email address used solely for the interpolations in +# jail.{conf,local} configuration files. +sendername = {{ fail2ban_sendername }} +{% if fail2ban_sender is defined %} +sender = {{ fail2ban_sender }} +{% endif %} + # # ACTIONS #