diff --git a/target/scripts/helpers/relay.sh b/target/scripts/helpers/relay.sh index 735696d4..4580d7ed 100644 --- a/target/scripts/helpers/relay.sh +++ b/target/scripts/helpers/relay.sh @@ -63,7 +63,7 @@ function _env_relay_host function _relayhost_sasl { if [[ ! -f /tmp/docker-mailserver/postfix-sasl-password.cf ]] \ - && [[ -z ${RELAY_USER} ]] || [[ -z ${RELAY_PASSWORD} ]] + && [[ -z ${RELAY_USER} || -z ${RELAY_PASSWORD} ]] then _log 'warn' "Missing relay-host mapped credentials provided via ENV, or from postfix-sasl-password.cf" return 1