From 22e33e6aa4f1862f87240009954182d3614a7f22 Mon Sep 17 00:00:00 2001 From: Luke Smith <luke@lukesmith.xyz> Date: Fri, 19 Apr 2019 18:06:49 -0400 Subject: notes about gmail and protonmail installation --- mw | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mw') diff --git a/mw b/mw index 4d8a4c5..a311495 100755 --- a/mw +++ b/mw @@ -138,6 +138,10 @@ addaccount() { \ IFS=, read -r service imap iport smtp sport <<EOF $serverinfo EOF + case "$service" in + 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.*) printf "\033[31mREMEMBER: Protonmail users must install and configure Protonmail Bridge first for the sync to work:\\nhttps://protonmail.com/bridge/\\n\033[0m" ;; + esac printf "\\n\033[3;33mCongrats!\033[0m Server info has automatically be found, so you won't have to look anything up!\\n\t\033[1mIMAP server\033[0m: %s\\n\t\033[1mIMAP port\033[0m: %s\\n\t\033[1mSMTP server\033[0m: %s\\n\t\033[1mSMTP port\033[0m: %s\\nThis data will be used by the wizard.\\n" "$imap" "$iport" "$smtp" "$sport" fi cont -- cgit v1.2.3