server: add option to use insecure SMTP connection

This commit is contained in:
Igor Rzegocki
2023-01-19 11:30:25 +01:00
committed by GitHub
parent 9018e6fa34
commit d722be8896
4 changed files with 19 additions and 6 deletions

View File

@@ -117,6 +117,7 @@ pub struct LdapsOpts {
clap::arg_enum! {
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum SmtpEncryption {
NONE,
TLS,
STARTTLS,
}