Updated menu
This commit is contained in:
@@ -34,8 +34,8 @@ if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install
|
|||||||
clear
|
clear
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
password=$(whiptail --nocancel --passwordbox "Please enter your password" 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits)" 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
||||||
domain=$(whiptail --nocancel --inputbox "Enter the Domain without WWW" 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
domain=$(whiptail --nocancel --inputbox "Enter the Domain without WWW or mail." 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
||||||
email=$(whiptail --nocancel --inputbox "Enter the E-mail" 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
email=$(whiptail --nocancel --inputbox "Enter the E-mail" 8 78 --title "Statics dialog" 3>&1 1>&2 2>&3)
|
||||||
elif [ $IMODE = l ]; then
|
elif [ $IMODE = l ]; then
|
||||||
echo "Ubuntu 18.04 Mailserver installatie script."
|
echo "Ubuntu 18.04 Mailserver installatie script."
|
||||||
@@ -263,7 +263,7 @@ $PKGI libc-client2007e mlock php${phpver}-common php${phpver}-imap
|
|||||||
whiptail --title "Configuring PostfixAdmin" --infobox "Busy like a bee" 8 45
|
whiptail --title "Configuring PostfixAdmin" --infobox "Busy like a bee" 8 45
|
||||||
mkdir -p /var/www/"$domain"/html/postfixadmin/templates_c
|
mkdir -p /var/www/"$domain"/html/postfixadmin/templates_c
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/downloads/pfa/postfixadmin-3.1.tar.gz -O /tmp/postfixadmin.tar.gz
|
wget -q -t7 https://git.ictmaatwerk.com/downloads/pfa/postfixadmin-3.1.tar.gz -O /tmp/postfixadmin.tar.gz
|
||||||
tar -xf /tmp/postfixadmin.tar.gz -C /var/www/"$domain"/html/postfixadmin --strip-components=1 $OUTPUT 2>&1
|
tar -xf /tmp/postfixadmin.tar.gz -C /var/www/"$domain"/html/postfixadmin --strip-components=1
|
||||||
chmod 755 -R /var/www/"$domain"/html/postfixadmin/templates_c
|
chmod 755 -R /var/www/"$domain"/html/postfixadmin/templates_c
|
||||||
chown -R www-data: /var/www/"$domain"/html/
|
chown -R www-data: /var/www/"$domain"/html/
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/postfixadmin/config.local.php -O /var/www/$domain/html/postfixadmin/config.local.php
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/postfixadmin/config.local.php -O /var/www/$domain/html/postfixadmin/config.local.php
|
||||||
|
|||||||
Reference in New Issue
Block a user