diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 3c3370acc8231c23b7dfe2633a1f59c42a8c9898..7fc3afaf011d53afcd729b464c538884d3d560bb 100755 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -95,9 +95,9 @@ docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli mailb echo "Setting the right domain in welcome templates" -docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/ecloud.global/$DOMAIN/g" {} \; -docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/e.email/$DOMAIN/g" {} \; -docker-compose exec -T welcome find /var/www/html/ -type f -name '*.html' -exec sed -i "s/e.email/$DOMAIN/g" {} \; +docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/ecloud\.global/$DOMAIN/g" {} \; +docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/e\.email/$DOMAIN/g" {} \; +docker-compose exec -T welcome find /var/www/html/ -type f -name '*.html' -exec sed -i "s/e\.email/$DOMAIN/g" {} \; # display DKIM DNS setup info/instructions to the user echo -e "\n\n\n"