mirror of
https://git.myvelabs.com/lab/myvemail.git
synced 2025-12-17 21:36:14 +00:00
Update mail-aio.sh
This commit is contained in:
parent
f933144e60
commit
b617232ba5
1 changed files with 4 additions and 4 deletions
|
|
@ -140,13 +140,13 @@ then
|
|||
read -r -p 'Username: ' mailuser
|
||||
[ ${mailuser} ] || echo -e '\n\e[1;31mUsername cannot be empty, try again\e[0m'
|
||||
done
|
||||
echo -e '\n\e[1;32mMail user '${mailuser}'@'${domain_url}' has been saved\e[0m'
|
||||
echo -e '\n\e[1;32mMail user '${mailuser}'@'${domain_url}' has been saved\e[0m\n'
|
||||
fi
|
||||
|
||||
# Mail account password
|
||||
if [ -z ${mailpass} ]
|
||||
then
|
||||
echo -e '\n\e[1;34mCreate a password for your mail account\e[0m'
|
||||
echo -e '\e[1;34mCreate a password for your mail account\e[0m'
|
||||
until [ "${mailpass}" = "${mailpass2}" -a "${mailpass}" ]
|
||||
do
|
||||
read -s -r -p 'Mail password: ' mailpass
|
||||
|
|
@ -159,13 +159,13 @@ then
|
|||
echo -e '\n\n\e[1;31mPasswords did not match, try again\e[0m'
|
||||
fi
|
||||
done
|
||||
echo -e '\n\n\e[1;32mMail password has been saved\e[0m'
|
||||
echo -e '\n\n\e[1;32mMail password has been saved\e[0m\n'
|
||||
fi
|
||||
|
||||
# Postfixadmin password
|
||||
if [ -z ${postfixadminpass} ]
|
||||
then
|
||||
echo -e '\n\e[1;34mCreate a postfixadmin setup password\e[0m'
|
||||
echo -e '\e[1;34mCreate a postfixadmin setup password\e[0m'
|
||||
until [ "${postfixadminpass}" = "${postfixadminpass2}" -a "${postfixadminpass}" ]
|
||||
do
|
||||
read -s -r -p 'Postfixadmin password: ' postfixadminpass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue