fix(compose): SMTP_TLS template value "implicit" -> "tls" (LC-211) #252
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/lc-211-smtp-tls-template-value"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
compose.dev.yml.1:30hadLETS_CHAT_SMTP_TLS: "implicit".parse_tls_mode(server/src/mail.rs:240) only acceptstls/starttls/none(plus boolean aliases). The template-as-shipped triggered theLETS_CHAT_SMTP_TLS must be tls/starttls/none; mail disabledwarn branch atmail.rs:43and disabled outbound mail.Changed to
"tls", matching the port-465 implicit-TLS / SMTPS convention used elsewhere in the file and in LC-200'smail.a8n.run:465precedent.Pre-existing bug: value was already
"implicit"before LC-201; that rename preserved it verbatim. Caught during LC-201 code review.Test plan
grep --recursive --line-number --extended-regexp 'LETS_CHAT_SMTP_TLS.*"(implicit|ssl|smtps)"' --exclude-dir=.git --exclude-dir=target .returns nothing.compose.dev.yml.1->compose.dev.yml, redeploys, and the container log readsSMTP mailer configuredinstead of the warn branch.