summaryrefslogtreecommitdiff
path: root/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-19 18:06:49 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-19 18:06:49 -0400
commit22e33e6aa4f1862f87240009954182d3614a7f22 (patch)
tree94d12203ccc0818577b1f76fc25e4757df9644c1 /mw
parentd1f41180ebf967627c4150f45f38791d570661e4 (diff)
notes about gmail and protonmail installation
Diffstat (limited to 'mw')
-rwxr-xr-xmw4
1 files changed, 4 insertions, 0 deletions
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