From 62e5a61cce955fa8e688678a03d9253e82ed9463 Mon Sep 17 00:00:00 2001
From: ekimia <mm@ekimia.fr>
Date: Thu, 26 Dec 2019 00:29:12 +0100
Subject: [PATCH] Disabling dynamic email creation for now

---
 utils/provision | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/utils/provision b/utils/provision
index 2fbeeb6..eb9d772 100755
--- a/utils/provision
+++ b/utils/provision
@@ -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
-- 
GitLab