diff --git a/run.sh b/run.sh index 55ed1b1..8027f8f 100644 --- a/run.sh +++ b/run.sh @@ -54,7 +54,7 @@ if [ ! -f /etc/postfix/sasl_passwd -a ! -z "${SMTP_USERNAME}" ]; 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}@${DESTINATION:-localhost}:${SMTP_PASSWORD}" >> /etc/postfix/sasl_passwd + echo "[${SMTP_SERVER}]:${SMTP_PORT} ${SMTP_USERNAME}:${SMTP_PASSWORD}" >> /etc/postfix/sasl_passwd postmap /etc/postfix/sasl_passwd fi fi