Fix e-mail when HELO isn't explicitly set

This commit is contained in:
Erik Huelsmann 2023-11-27 23:07:04 +01:00
parent 9f7a4d1f8d
commit 51d1d1da0f

View File

@ -106,9 +106,17 @@ ui:
\$ref: paths/UI \$ref: paths/UI
EOF EOF
if [[ -n "" ]] if [[ -n "$LSMB_MAIL_SMTPSENDER_HOSTNAME" ]]
then then
cat <<EOF >./local/conf/ledgersmb.000.yaml cat <<EOF >./local/conf/ledgersmb.000.yaml
mail:
transport:
helo: $LSMB_MAIL_SMTPSENDER_HOSTNAME
EOF
if [[ -n "$LSMB_MAIL_SMTPUSER" ]]
then
cat <<EOF >./local/conf/ledgersmb.001.yaml
mail: mail:
transport: transport:
sasl_password: '' sasl_password: ''