Skip to content

Commit

Permalink
Moved new configuration near destemail
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed May 30, 2016
1 parent 01470d5 commit c3d66d8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions templates/etc/fail2ban/jail.local.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand All @@ -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
#
Expand Down

0 comments on commit c3d66d8

Please sign in to comment.