DOMAIN=Enter your mailserver (management) domain (e.g. domainA.com):
ADD_DOMAINS=Enter additional domain(s) (comma separated, no white spaces) to handle mail for (e.g. domainB.com,domainC.com) or just press enter:
ADD_DOMAINS=Optionally enter additional domain(s) (comma separated, no white spaces) to handle mail for (e.g. domainB.com,domainC.com) or just press enter if you need none:
ALT_EMAIL=Enter alternative email:
INSTALL_ONLYOFFICE=Do you want to install OnlyOffice? [y/n]||||^[yY|nN]$;;;;Please enter 'y' or 'n'
echo"$VALIDATED_DOMAIN" | grep-q","&&(echo"Error: You can specify only a single management domain, use the additional domains question for more domains - try again")&&continue
if[-z"$VALIDATED_DOMAIN"];then
echo"Error : Entering at least the managemnt domain is mandatory - try again"