Merge pull request #1 from aforty/patch-1

Changed $SASL_PASSWD to $SASL_PASSWORD
This commit is contained in:
Arno Fortelny 2016-04-07 15:07:28 -04:00
commit 06fc49a538
1 changed files with 3 additions and 3 deletions

View File

@ -209,15 +209,15 @@ else
echo "'/tmp/postfix/main.cf' not provided. No extra postfix settings loaded."
fi
if [ ! -z "$SASL_PASSWD" ]; then
echo "$SASL_PASSWD" > /etc/postfix/sasl_passwd
if [ ! -z "$SASL_PASSWORD" ]; then
echo "$SASL_PASSWORD" > /etc/postfix/sasl_passwd
postmap hash:/etc/postfix/sasl_passwd
rm /etc/postfix/sasl_passwd
chown root:root /etc/postfix/sasl_passwd.db
chmod 0600 /etc/postfix/sasl_passwd.db
echo "Loaded SASL_PASSWORD"
else
echo "==> Warning: 'SASL_PASSWORD' is not provided. /etc/postfix/sasl_passwd not created."
echo "Info: SASL_PASSWORD is not provided. /etc/postfix/sasl_passwd not created."
fi
echo "Fixing permissions"