Closed jfriedenstab closed 2 weeks ago
@jfriedenstab I assume this change should only be implemented in 8.5 and future 8.6 release. This will not get backported. Is that fine with you or would like this backported as well?
I contemplated whether webModeler.restapi.mail.smtpAuthEnabled
would be a good addition to the values.yaml
I decided not to go with this value because it would lead to a little confusion. The customer would have to set this value to true and also set the username and password. It's an unnecessary extra step.
Thanks for picking this up, @hamza-m-masood! 👍🏻
I assume this change should only be implemented in 8.5 and future 8.6 release. This will not get backported. Is that fine with you or would like this backported as well?
Yes, it's fine. I don't think the fix needs to be backported (also given that there's a workaround available).
Describe the issue: The SMTP server configured for Web Modeler cannot be used without username/password authentication if TLS is enabled for the SMTP connection.
Actual behavior: The
mail.smtp.auth
property in the restapi configuration – which will enable the SMTP authentication – is always set to the same value aswebModeler.restapi.mail.smtpTlsEnabled
, even ifwebModeler.restapi.mail.smtpUser
andwebModeler.restapi.mail.smtpPassword
are not provided.Expected behavior: The
mail.smtp.auth
property should not depend onwebModeler.restapi.mail.smtpTlsEnabled
, but should be set independently – either by:true
implicitly ifwebModeler.restapi.mail.smtpUser
is provided andfalse
otherwisewebModeler.restapi.mail.smtpAuthEnabled
that can be used to explicitly enable or disable the authenticationHow to reproduce:
webModeler.restapi.mail.*
:Logs: You'll see the following message in the restapi logs:
Additional Context As a workaround, you can disable the SMTP authentication by providing the following environment variable to the
restapi
component: