From 960af0bbf197aea82dd71ae46d56e6ceb00c3f47 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Sat, 10 Dec 2022 17:17:27 +0100 Subject: [PATCH] basics - small enhancement to step 13 info --- seqs/basics.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/seqs/basics.sh b/seqs/basics.sh index 88a2456..1bcfd64 100755 --- a/seqs/basics.sh +++ b/seqs/basics.sh @@ -46,9 +46,13 @@ CONFIG_FILE_SSMTP_TEMPLATE="${CONFIG_FILE_SSMTP}.example" CONFIG_FILE_SSMTP_AL="$sc_configLoc/revaliases.cfg" CONFIG_FILE_SSMTP_AL_TEMPLATE="${CONFIG_FILE_SSMTP}.example" -step_13_info() { - echo -n "Send test E-Mail to " - if [ -z "${2:-}" ] ; then echo ""; else echo "$2"; fi +step_13_info() { + echoinfoArgs ""; echo -n "Send test E-Mail" + if [ -z "${2:-}" ] ; then + echo " to MAILADDRESS" + else + echo " to ${2}" + fi } step_13_alias() { echo "smtpTest"; } step_13() { @@ -110,7 +114,7 @@ tls_starttls on # Usually not need on debian systems #tls_trust_file /etc/ssl/certs/ca-certificates.crt -# Construct envelope-from addresses of the form "user@oursite.example" +# Construct envelope-from addresses of the form \"user@oursite.example\" #auto_from on #maildomain oursite.example # or set a static from address