Check email address

This commit is contained in:
Bob Mottram 2016-11-01 18:48:26 +00:00
parent d6a01e5fb5
commit 98347ef065
1 changed files with 3 additions and 1 deletions

View File

@ -1649,7 +1649,9 @@ function install_email {
read_config_param MY_EMAIL_ADDRESS
read_config_param DH_KEYLENGTH
MY_EMAIL_ADDRESS=${MY_USERNAME}@${DEFAULT_DOMAIN_NAME}
if [ ${#MY_EMAIL_ADDRESS} -lt 3 ]; then
MY_EMAIL_ADDRESS=${MY_USERNAME}@${DEFAULT_DOMAIN_NAME}
fi
install_email_basic
#install_email_with_tor