diff --git a/src/provider/data.rs b/src/provider/data.rs index bb850c86e..42a534de4 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, }); @@ -46,7 +46,7 @@ static P_AOL: Lazy = Lazy::new(|| { server: vec![ ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -75,7 +75,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 +103,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 +131,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 +187,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 +200,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 +213,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 +295,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 +310,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 +325,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 +384,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 +437,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 +482,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 +496,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 +525,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 +538,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 +551,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 +564,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 +621,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 +665,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 +692,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, }); @@ -720,7 +720,7 @@ static P_T_ONLINE: Lazy = Lazy::new(|| { server: vec![ ], config_defaults: None, - strict_tls: false, + strict_tls: true, max_smtp_rcpt_to: None, oauth2_authorizer: None, } @@ -801,7 +801,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 +814,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 +855,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 +883,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 +901,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 +919,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 +976,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 +1153,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)