From f76f70277fc484b2b40351c9c9a8294d1058a3ec Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Thu, 29 Aug 2019 13:10:36 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index e52bb19..76965f8 100644 --- a/installer.sh +++ b/installer.sh @@ -206,7 +206,7 @@ wget --tries=3 https://downloads.sourceforge.net/project/postfixadmin/postfixadm tar -xf /tmp/postfixadmin.tar.gz -C /var/www/"$domain"/html/postfixadmin --strip-components=1 chown -R www-data: /var/www/"$domain"/html/ chmod 755 -R /var/www/"$domain"/html/postfixadmin/templates_c -wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/dev/config/postfixadmin/config.local.php -O /var/www/ictdagbesteding.nl/html/postfixadmin/config.local.php +wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/dev/config/postfixadmin/config.local.php -O /var/www/$domain/html/postfixadmin/config.local.php sed -i -e 's/PASSword/'$password'/' -e 's/ABuSe/'$domain'/' -e 's/HostMASter/'$domain'/' -e 's/PostMAster/'$domain'/' -e 's/WebMAster/'$domain'/' /var/www/"$domain"/html/postfixadmin/config.local.php bash /var/www/"$domain"/html/postfixadmin/scripts/postfixadmin-cli admin add superadmin@"$domain" --superadmin 1 --active 1 --password "$password" --password2 "$password" groupadd -g 5000 vmail