From 132deee541bc141685879d045d8fdadaae3ec0fa Mon Sep 17 00:00:00 2001 From: turboaaa Date: Sun, 17 Feb 2019 12:50:55 -0500 Subject: [PATCH] Update run.sh --- run.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/run.sh b/run.sh index 63fdbd1..5b6bbb6 100644 --- a/run.sh +++ b/run.sh @@ -13,7 +13,6 @@ function add_config_value() { postconf -e "${key} = ${value}" } - [ -z "${SMTP_SERVER}" ] && echo "SMTP_SERVER is not set" && exit 1 [ -z "${SMTP_USERNAME}" ] && echo "SMTP_USERNAME is not set" && exit 1 [ -z "${SMTP_PASSWORD}" ] && echo "SMTP_PASSWORD is not set" && exit 1 @@ -35,7 +34,6 @@ add_config_value "smtp_sasl_auth_enable" "yes" add_config_value "smtp_sasl_password_maps" "hash:\/etc\/postfix\/sasl_passwd" add_config_value "smtp_sasl_security_options" "noanonymous" - # Create sasl_passwd file with auth credentials if [ ! -f /etc/postfix/sasl_passwd ]; then grep -q "${SMTP_SERVER}" /etc/postfix/sasl_passwd > /dev/null 2>&1