From a8d073e430d372a9e608620a671a8267aad1e30d Mon Sep 17 00:00:00 2001 From: Valentin Arkhipov Date: Fri, 10 Jul 2015 13:37:40 +0100 Subject: [PATCH] Invert ENV variable test --- email_core/boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_core/boot b/email_core/boot index e43c592..f63dcf8 100644 --- a/email_core/boot +++ b/email_core/boot @@ -49,7 +49,7 @@ cp /mail_settings/passwords /etc/dovecot/passwd # OpenDKIM config POSTFIX_MAIN_CF=/etc/postfix/main.cf -if [ -z "$OPEN_DKIM" ]; then +if [ ! -z "$OPEN_DKIM" ]; then # Add config block if not present already if grep -q "# OpenDKIM - dockermail" "$POSTFIX_MAIN_CF"; then echo "# OpenDKIM - dockermail" >> "$POSTFIX_MAIN_CF"