From 90566255c3f9e9e06a6974b3cc2e2cf7f68a146d Mon Sep 17 00:00:00 2001 From: rugarci Date: Thu, 23 Dec 2021 10:34:51 +0100 Subject: [PATCH] Update run.sh --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 8feb77e..cd4460a 100644 --- a/run.sh +++ b/run.sh @@ -11,8 +11,8 @@ if test -z $SMTP_ROOT; then fi if test -z $SMTP_HOSTNAME; then - echo "SMTP_HOSTNAME is not set" - exit 1 + export SMTP_HOSTNAME=$(hostname) + echo "SMTP_HOSTNAME is not set, Using default: $SMTP_HOSTNAME" fi if test -z $SMTP_MAIL_HUB; then