Browse Source

making SMTP force TLS description in admin panel clearer

fixes https://github.com/dani-garcia/vaultwarden/discussions/1639
pull/1641/head
jonathanmmm 4 years ago
committed by GitHub
parent
commit
ecb8b74506
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/config.rs

2
src/config.rs

@ -482,7 +482,7 @@ make_config! {
smtp_host: String, true, option;
/// Enable Secure SMTP |> (Explicit) - Enabling this by default would use STARTTLS (Standard ports 587 or 25)
smtp_ssl: bool, true, def, true;
/// Force TLS |> (Implicit) - Enabling this would force the use of an SSL/TLS connection, instead of upgrading an insecure one with STARTTLS (Standard port 465)
/// Force TLS |> (Implicit) - Enabling this would force the use of an SSL/TLS connection, instead of upgrading an insecure one with STARTTLS (Standard port 465). If you enable this, you have to enable "Enable Secure SMTP", too.
smtp_explicit_tls: bool, true, def, false;
/// Port
smtp_port: u16, true, auto, |c| if c.smtp_explicit_tls {465} else if c.smtp_ssl {587} else {25};

Loading…
Cancel
Save