From 423c51f9a046e15f51345c0518da08935856600e Mon Sep 17 00:00:00 2001 From: turboaaa Date: Wed, 16 Jan 2019 12:39:55 -0500 Subject: [PATCH] Update run.sh --- run.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/run.sh b/run.sh index e274251..3a3e22c 100644 --- a/run.sh +++ b/run.sh @@ -56,16 +56,5 @@ fi echo -e "/^MIME-Version:/i PREPEND RelayTag: $TAG\n/^Content-Transfer-Encoding:/i PREPEND RelayTag: $TAG" > /etc/postfix/header_tag echo "******** Header tag is $TAG *********" -# 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 - if [ $? -gt 0 ]; then - echo "Adding SASL authentication configuration" - echo "[${SMTP_SERVER}]:${SMTP_PORT} ${SMTP_USERNAME}:${SMTP_PASSWORD}" >> /etc/postfix/sasl_passwd - postmap /etc/postfix/sasl_passwd - fi -fi - - #Start services supervisord