From bd3818ff11b48b73a8065a13f26b5551cf07e896 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 1 Jun 2019 18:08:17 -0400 Subject: [PATCH] starttls off for port 465 --- bin/mw | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mw b/bin/mw index f8c4f24..c69a147 100755 --- a/bin/mw +++ b/bin/mw @@ -48,6 +48,7 @@ port $sport from $fulladdr user $login passwordeval \"pass mutt-wizard-$title\" +$starttlsoff " mbsync_profile="IMAPStore $title-remote Host $imap @@ -154,6 +155,7 @@ EOF gmail.com) printf "\033[31mREMEMBER: Gmail users must enable \"less secure\" (third-party) applications first for the sync to work:\\nhttps://support.google.com/accounts/answer/6010255\\n\033[0m" ;; protonmail.ch|protonmail.com|pm.me) printf "\033[31mREMEMBER: Protonmail users must install and configure Protonmail Bridge first for the sync to work:\\nhttps://protonmail.com/bridge/\\n\033[0m" && ssltype="None" ;; esac + [ "$sport" = 465 ] && starttlsoff="tls_starttls off" fi printf "Enter the \033[35mfull name\033[0m you want to be identified by on this account.\\n\tReal name: " read -r realname