Skip to content

Commit

Permalink
improve definition of static sasl login map
Browse files Browse the repository at this point in the history
  • Loading branch information
Turgon37 committed Nov 3, 2018
1 parent a34105d commit 4869aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [ -n "$RELAY_LOGIN" -a -n "$RELAY_PASSWORD" ]; then
postmap /etc/postfix/sasl_passwd
else
# use static database
postconf -e "smtp_sasl_password_maps = inline:{${RELAY_LOGIN}=${RELAY_PASSWORD}}"
postconf -e "smtp_sasl_password_maps = inline:{$RELAY_HOST=${RELAY_LOGIN}:${RELAY_PASSWORD}}"
fi
postconf -e 'smtp_sasl_security_options = noanonymous'

Expand Down

0 comments on commit 4869aec

Please sign in to comment.