From 43b366aaadeb7dc2a99b2569c1855cc62670b123 Mon Sep 17 00:00:00 2001 From: Kyle Ondy Date: Thu, 28 Jul 2016 14:34:20 -0400 Subject: [PATCH 1/2] Add echo when Fail2ban is enabled --- target/start-mailserver.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 37859b28..9d6a56cf 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -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 From f4f70899c9f657159e536b7659d50c689282f68e Mon Sep 17 00:00:00 2001 From: Kyle Ondy Date: Thu, 28 Jul 2016 14:35:09 -0400 Subject: [PATCH 2/2] Add echo when sieve managemnt is enabled --- target/start-mailserver.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 9d6a56cf..31bdae72 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -304,6 +304,7 @@ cron # Enable Managesieve service by setting the symlink # to the configuration file Dovecot will actually find if [ "$ENABLE_MANAGESIEVE" = 1 ]; then + echo "Sieve management enabled" mv /etc/dovecot/protocols.d/managesieved.protocol.disab /etc/dovecot/protocols.d/managesieved.protocol fi