commit bd3818ff11b48b73a8065a13f26b5551cf07e896
parent 6d7cba7eac7781d9aae4dbea8e6e18c91a074d91
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 1 Jun 2019 18:08:17 -0400
starttls off for port 465
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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