Add echo when Fail2ban is enabled

This commit is contained in:
Kyle Ondy 2016-07-28 14:34:20 -04:00
parent 87709aae0d
commit 43b366aaad
No known key found for this signature in database
GPG Key ID: 8D6B17000513440D
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ SA_KILL=${SA_KILL:="6.31"} && sed -i -r 's/^\$sa_kill_level_deflt (.*);/\$sa_kil
test -e /tmp/docker-mailserver/spamassassin-rules.cf && cp /tmp/docker-mailserver/spamassassin-rules.cf /etc/spamassassin/
if [ "$ENABLE_FAIL2BAN" = 1 ]; then
echo "Fail2ban enabled"
test -e /tmp/docker-mailserver/fail2ban-jail.cf && cp /tmp/docker-mailserver/fail2ban-jail.cf /etc/fail2ban/jail.local
else
# Disable logrotate config for fail2ban if not enabled