mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[GH-ISSUE #611] SMTP configuration with environment variables is inconsistent #223
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @kosssi on GitHub (Jun 22, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/611
Thanks for LLDAP, I just test it with Docker Compose and when I configure my SMTP I read this documentation :
https://github.com/lldap/lldap/blob/main/lldap_config.docker_template.toml#L115-L117
So I configure this variable :
But I don't understand my configuration is not valide :
When I show this code https://github.com/lldap/lldap/blob/main/server/src/infra/cli.rs :
I'm bit confused it's
LLDAP_SMTP_OPTIONS__REPLY_TOorLLDAP_SMTP_OPTIONS__TOorLLDAP_TEST_EMAIL_TOandLLDAP_SMTP_OPTIONS__SMTP_ENCRYPTIONorLLDAP_SMTP_OPTIONS__ENCRYPTION?Finally I change LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION from TLS to STARTTLS and it's ok 🤙
@nitnelave commented on GitHub (Jun 22, 2023):
Oh, it seems we documented a wrong environment variable for smtp_encryption. I'll keep this ticket open to fix that.
We might also want to wrap the lettre error, check if it's a corrupt message and advise to change from TLS to STARTTLS or vice-versa.
@nomandera commented on GitHub (Aug 3, 2023):
I am seeing multiple people with auth issues today and it seems to trace back to this STARTTLS update being a breaking change resulting in complete loss of LDAP.
It is not clear what the correct fix is as there are two conflicting error messages:
and
Update: Seems to be known and fix in PR https://github.com/lldap/lldap/pull/632