mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #901] [MERGED] Use opportunistic TLS in SMTP connections #3606
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/901
Author: @sleweke
Created: 3/12/2020
Status: ✅ Merged
Merged: 3/14/2020
Merged by: @dani-garcia
Base:
master← Head:feature/opportunistic_tls📝 Commits (1)
5d3b765Use opportunistic TLS in SMTP connections📊 Changes
1 file changed (+9 additions, -9 deletions)
View changed files
📝
src/mail.rs(+9 -9)📄 Description
If SSL is disabled, the SMTP
ClientSecurityof thelettrecrate defaults toNone, that is, an insecure connection.This is changed to
Opportunistic, which uses TLS if available.If TLS is not available, an insecure connection is used (i.e., this change is backward compatible).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.