diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index c6e79e55..e50c6cb9 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -1073,8 +1073,10 @@ function _setup_postfix_relay_hosts() { fi fi - chown root:root /etc/postfix/sasl_passwd - chmod 0600 /etc/postfix/sasl_passwd + if [ -f /etc/postfix/sasl_passwd ]; then + chown root:root /etc/postfix/sasl_passwd + chmod 0600 /etc/postfix/sasl_passwd + fi # end /etc/postfix/sasl_passwd # setup /etc/postfix/relayhost_map