basics - small enhancement to step 13 info

This commit is contained in:
2022-12-10 17:17:27 +01:00
parent 4affa8ff8a
commit 960af0bbf1

View File

@@ -47,8 +47,12 @@ CONFIG_FILE_SSMTP_AL="$sc_configLoc/revaliases.cfg"
CONFIG_FILE_SSMTP_AL_TEMPLATE="${CONFIG_FILE_SSMTP}.example" CONFIG_FILE_SSMTP_AL_TEMPLATE="${CONFIG_FILE_SSMTP}.example"
step_13_info() { step_13_info() {
echo -n "Send test E-Mail to " echoinfoArgs "<MAILADDRESS>"; echo -n "Send test E-Mail"
if [ -z "${2:-}" ] ; then echo "<MAILADDRESS>"; else echo "$2"; fi if [ -z "${2:-}" ] ; then
echo " to MAILADDRESS"
else
echo " to ${2}"
fi
} }
step_13_alias() { echo "smtpTest"; } step_13_alias() { echo "smtpTest"; }
step_13() { step_13() {
@@ -110,7 +114,7 @@ tls_starttls on
# Usually not need on debian systems # Usually not need on debian systems
#tls_trust_file /etc/ssl/certs/ca-certificates.crt #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 #auto_from on
#maildomain oursite.example #maildomain oursite.example
# or set a static from address # or set a static from address