diff --git a/scripts/common-run.sh b/scripts/common-run.sh index 80e19a8..ec5d33d 100755 --- a/scripts/common-run.sh +++ b/scripts/common-run.sh @@ -329,7 +329,8 @@ EOF rm -f /tmp/passwd - chown postfix:postfix /etc/sasldb2 + [ -f /etc/sasldb2 ] && chown postfix:postfix /etc/sasldb2 + [ -f /etc/sasl2/sasldb2 ] && chown postfix:postfix /etc/sasl2/sasldb2 fi }