Skip to content

Commit d0bc9ac

Browse files
committed
FS-16: improving email configuration.
1 parent 64d5300 commit d0bc9ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

furms-devops-tooling/files/config_templates/4.0/unity/conf/mail.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ mail.smtp.host={{unity.mail.smtp.host if unity.mail.smtp.host is defined else 'l
1313
# so add SMTP server's CA certificate to it. Otherwise you can turn off the server's certificate verification
1414
# below, but you expose yourself for the MITM attacks.
1515
# Defaults to false.
16-
#mail.smtp.starttls.enable=true
17-
mail.smtp.ssl.enable=true
16+
mail.smtp.starttls.enable={{unity.mail.smtp.starttls if unity.mail.smtp.starttls is defined else true}}
17+
mail.smtp.ssl.enable={{unity.mail.smtp.ssl if unity.mail.smtp.ssl is defined else false}}
1818

1919
# Relevant only if starttls is enabled. Turns off SMTP server certificate verification.
2020
mailx.smtp.trustAll=true
@@ -24,7 +24,7 @@ mailx.smtp.trustAll=true
2424
#mail.smtp.from=
2525

2626
# If true, attempt to authenticate the user using the AUTH command. Defaults to false.
27-
mail.smtp.auth=true
27+
mail.smtp.auth={{unity.mail.smtp.username is defined}}
2828

2929
# User and password used when authentication is enabled above.
3030
mailx.smtp.auth.username={{unity.mail.smtp.username if unity.mail.smtp.username is defined else 'XX'}}

0 commit comments

Comments
 (0)