Disabling dynamic email creation for now

This commit is contained in:
ekimia 2019-12-26 00:29:12 +01:00
parent fbd527bacf
commit 62e5a61cce

View file

@ -117,9 +117,10 @@ function application () {
export MAIL_HOST="mail.indie.host" export MAIL_HOST="mail.indie.host"
export MAIL_PORT="587" export MAIL_PORT="587"
else else
export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs` echo "using MAIL_DOMAIN from server env"
export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}" #export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`
/opt/bin/add_mailbox ${MAIL_USER} ${MAIL_PASS} #export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}"
#/opt/bin/add_mailbox ${MAIL_USER} ${MAIL_PASS}
fi fi
./scripts/install ./scripts/install
fi fi