updated postfix module and fixed CMS motd

This commit is contained in:
2020-10-15 12:20:23 +02:00
parent b475a7f365
commit 8ad35db685
9 changed files with 24 additions and 13 deletions

View File

@@ -1,2 +1,11 @@
if [ -z "${domain}" ]; then
if [ $IMODE = n ]; then
domain=$(whiptail --nocancel --inputbox " Enter the domain without WWW " 11 82 --title "Config" 3>&1 1>&2 2>&3)
elif [ $IMODE = l ]; then
echo "Enter the domain without WWW:"
read domain
fi
fi
debconf-set-selections <<< "postfix postfix/mailname string $domain"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"