diff --git a/installer.sh b/installer.sh index 43b549c..452d281 100644 --- a/installer.sh +++ b/installer.sh @@ -192,7 +192,8 @@ mysql -u root -p"$password" -e "FLUSH PRIVILEGES;" # MySQL Database Creation # ##-----------------------------## mysql -u root -p"$password" -e "CREATE DATABASE postfixadmin;" -mysql -u root -p"$password" -e "GRANT ALL ON postfixadmin.* TO 'postfixadmin'@'localhost' IDENTIFIED BY '"$password"';" +mysql -u root -p"$password" -e "CREATE USER '"postfixadmin"'@'localhost' IDENTIFIED BY '"$password"';" +mysql -u root -p"$password" -e "GRANT ALL ON "postfixadmin".* TO "postfixadmin"@'localhost';" mysql -u root -p"$password" -e "FLUSH PRIVILEGES;" ##------------------## @@ -320,6 +321,7 @@ chown vmail:vmail /etc/dovecot/sieve/ -R apt install unzip -y wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/rainloop.sh -O /tmp/rainloop.sh source /tmp/rainloop.sh +ln -s /opt/rainloop /var/www/html/"$domain"/ ##-----------------------## # Enabling Services #