diff --git a/src/scripts/setup_infra.sh b/src/scripts/setup_infra.sh index 40c5fe200..41b825d27 100755 --- a/src/scripts/setup_infra.sh +++ b/src/scripts/setup_infra.sh @@ -38,6 +38,11 @@ echo "Graphite container id: ${graphite_container_id}" # MAIL_SERVER_NAME is the hostname of the mailserver i.e server uses these certs # MAIL_DOMAIN is the domain for which this server is relaying mails readonly mail_image=$(node -e "console.log(require('${infra_version}').images.mail.tag);") +mail_addon_root_password=$(pwgen -1 -s) +cat > "${data_dir}/addons/mail_vars.sh" <