[Config] Clarification about mailcow_hostname

master
andryyy 2019-05-01 23:17:10 +02:00
parent 28c8c53a6e
commit 64382c7ece
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ fi
echo "Press enter to confirm the detected value '[value]' where applicable or enter a custom value." echo "Press enter to confirm the detected value '[value]' where applicable or enter a custom value."
while [ -z "${MAILCOW_HOSTNAME}" ]; do while [ -z "${MAILCOW_HOSTNAME}" ]; do
read -p "Hostname (FQDN): " -e MAILCOW_HOSTNAME read -p "Mail server hostname (FQDN) - this is not your mail domain, but your mail servers hostname: " -e MAILCOW_HOSTNAME
DOTS=${MAILCOW_HOSTNAME//[^.]}; DOTS=${MAILCOW_HOSTNAME//[^.]};
if [ ${#DOTS} -lt 2 ] && [ ! -z ${MAILCOW_HOSTNAME} ]; then if [ ${#DOTS} -lt 2 ] && [ ! -z ${MAILCOW_HOSTNAME} ]; then
echo "${MAILCOW_HOSTNAME} is not a FQDN" echo "${MAILCOW_HOSTNAME} is not a FQDN"