summaryrefslogtreecommitdiff
path: root/bin/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-06-01 18:08:17 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-06-01 18:08:17 -0400
commitbd3818ff11b48b73a8065a13f26b5551cf07e896 (patch)
treee23d32f77816c2b6f21ff5b61fcceba70a70bf16 /bin/mw
parent6d7cba7eac7781d9aae4dbea8e6e18c91a074d91 (diff)
starttls off for port 465
Diffstat (limited to 'bin/mw')
-rwxr-xr-xbin/mw2
1 files changed, 2 insertions, 0 deletions
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