starttls off for port 465

This commit is contained in:
Luke Smith 2019-06-01 18:08:17 -04:00
parent 6d7cba7eac
commit bd3818ff11
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

2
bin/mw
View File

@ -48,6 +48,7 @@ port $sport
from $fulladdr from $fulladdr
user $login user $login
passwordeval \"pass mutt-wizard-$title\" passwordeval \"pass mutt-wizard-$title\"
$starttlsoff
" "
mbsync_profile="IMAPStore $title-remote mbsync_profile="IMAPStore $title-remote
Host $imap 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" ;; 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" ;; 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 esac
[ "$sport" = 465 ] && starttlsoff="tls_starttls off"
fi fi
printf "Enter the \033[35mfull name\033[0m you want to be identified by on this account.\\n\tReal name: " printf "Enter the \033[35mfull name\033[0m you want to be identified by on this account.\\n\tReal name: "
read -r realname read -r realname