mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #890] [BUG] Email through Starttls not working #324
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#324
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 @zaggash on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/890
Describe the bug
Using the CLI to test the smtp and working on port 587 STARTTL is not working when it is wokring fine with others applications.
It throws me the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The email should be sent.
However, if I use TLS on port 465 it is working fine.
@nitnelave commented on GitHub (Apr 2, 2024):
That sounds more like an issue with lettre, the email library we're using. Although out of curiosity, why use starttls when TLS works? It's simply superior.
@zaggash commented on GitHub (Apr 2, 2024):
I didn't know how SMTP encryption worked.
I figured I better use TLS after a bit of research.
However, I wanted to report for others.
@thielj commented on GitHub (Jun 29, 2024):
@zaggash The formerly deprecated port 465 ('smtps') and implicit TLS has now become the recommended method ('submissions'). I think someone figured out that a man in the middle attacker could simply strip out the starttls command.
See https://www.rfc-editor.org/rfc/rfc8314#section-3.3