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_PORT="587"
else
export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`
export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}"
/opt/bin/add_mailbox ${MAIL_USER} ${MAIL_PASS}
echo "using MAIL_DOMAIN from server env"
#export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`
#export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}"
#/opt/bin/add_mailbox ${MAIL_USER} ${MAIL_PASS}
fi
./scripts/install
fi