diff --git a/src/provider/data.rs b/src/provider/data.rs index bb850c86e..cf695adff 100644 --- a/src/provider/data.rs +++ b/src/provider/data.rs @@ -31,7 +31,7 @@ static P_AKTIVIX_ORG: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -44,9 +44,11 @@ static P_AOL: Lazy = Lazy::new(|| { after_login_hint: "", overview_page: "https://providers.delta.chat/aol", server: vec![ + Server { protocol: IMAP, socket: SSL, hostname: "imap.aol.com", port: 993, username_pattern: EMAIL }, + Server { protocol: SMTP, socket: SSL, hostname: "smtp.aol.com", port: 465, username_pattern: EMAIL }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -75,7 +77,7 @@ static P_ARCOR_DE: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -103,7 +105,7 @@ static P_AUTISTICI_ORG: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -131,7 +133,7 @@ static P_BLUEWIN_CH: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -187,7 +189,7 @@ static P_CHELLO_AT: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -200,7 +202,7 @@ static P_COMCAST: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/comcast", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -213,7 +215,7 @@ static P_DISMAIL_DE: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/dismail-de", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -295,7 +297,7 @@ static P_EXAMPLE_COM: Lazy = Lazy::new(|| { Server { protocol: SMTP, socket: STARTTLS, hostname: "smtp.example.com", port: 1337, username_pattern: EMAIL }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -310,7 +312,7 @@ static P_FASTMAIL: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/fastmail", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -325,7 +327,7 @@ static P_FIREMAIL_DE: Lazy = Lazy::new(|| { server: vec![ ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -384,7 +386,7 @@ static P_FREENET_DE: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -437,7 +439,7 @@ static P_GMX_NET: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -482,7 +484,7 @@ static P_HEY_COM: Lazy = Lazy::new(|| { server: vec![ ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -496,7 +498,7 @@ static P_I_UA: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/i-ua", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -525,7 +527,7 @@ static P_ICLOUD: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -538,7 +540,7 @@ static P_KOLST_COM: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/kolst-com", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -551,7 +553,7 @@ static P_KONTENT_COM: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/kontent-com", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -564,7 +566,7 @@ static P_MAIL_RU: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/mail-ru", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -621,7 +623,7 @@ static P_OUTLOOK_COM: Lazy = Lazy::new(|| { Server { protocol: SMTP, socket: STARTTLS, hostname: "smtp-mail.outlook.com", port: 587, username_pattern: EMAIL }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -665,7 +667,7 @@ static P_PROTONMAIL: Lazy = Lazy::new(|| { server: vec![ ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -692,7 +694,7 @@ static P_ROGERS_COM: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/rogers-com", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -718,9 +720,11 @@ static P_T_ONLINE: Lazy = Lazy::new(|| { after_login_hint: "", overview_page: "https://providers.delta.chat/t-online", server: vec![ + Server { protocol: IMAP, socket: SSL, hostname: "secureimap.t-online.de", port: 993, username_pattern: EMAIL }, + Server { protocol: SMTP, socket: SSL, hostname: "securesmtp.t-online.de", port: 465, username_pattern: EMAIL }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -801,7 +805,7 @@ static P_TISCALI_IT: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -814,7 +818,7 @@ static P_UKR_NET: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/ukr-net", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -855,7 +859,7 @@ static P_VFEMAIL: Lazy = Lazy::new(|| Provider { overview_page: "https://providers.delta.chat/vfemail", server: vec![], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -883,7 +887,7 @@ static P_VODAFONE_DE: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -901,7 +905,7 @@ static P_WEB_DE: Lazy = Lazy::new(|| { Server { protocol: SMTP, socket: STARTTLS, hostname: "smtp.web.de", port: 587, username_pattern: EMAILLOCALPART }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -919,7 +923,7 @@ static P_YAHOO: Lazy = Lazy::new(|| { Server { protocol: SMTP, socket: SSL, hostname: "smtp.mail.yahoo.com", port: 465, username_pattern: EMAIL }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -976,7 +980,7 @@ static P_ZIGGO_NL: Lazy = Lazy::new(|| Provider { }, ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, }); @@ -1153,4 +1157,4 @@ pub static PROVIDER_DATA: Lazy> = Lazy: }); pub static PROVIDER_UPDATED: Lazy = - Lazy::new(|| chrono::NaiveDate::from_ymd(2020, 10, 30)); + Lazy::new(|| chrono::NaiveDate::from_ymd(2020, 12, 26)); diff --git a/src/provider/update.py b/src/provider/update.py index 2a045ab18..7b1686620 100755 --- a/src/provider/update.py +++ b/src/provider/update.py @@ -101,7 +101,7 @@ def process_data(data, file): config_defaults = process_config_defaults(data) - strict_tls = data.get("strict_tls", False) + strict_tls = data.get("strict_tls", True) strict_tls = "true" if strict_tls else "false" max_smtp_rcpt_to = data.get("max_smtp_rcpt_to", 0)