diff options
author | Gianni Van Hoecke <gianni@giannivanhoecke.com> | 2021-01-22 20:26:45 +0100 |
---|---|---|
committer | Gianni Van Hoecke <gianni@giannivanhoecke.com> | 2021-01-22 20:26:45 +0100 |
commit | 79bb0437267b55a85bbdcf4f9b635be43091a73f (patch) | |
tree | 845b054bffe7b61e6178425fb43c1596a8f47c05 /bin | |
parent | 158f28b2940355f530ac592cdb9a9af3cd5c2959 (diff) |
:bug: Set protocol to `imap` when using ProtonMail
Part 1 of 2 for "Log-on not successful" bug when using ProtonMail.
The curl login check defaults to `imaps` when `protocol` isn't set.
Because ProtonMail isn't using any TLS, we have to use the `imap`
protocol.
The `protocol` variable was never set, so now we set it when the
ProtonMail flag (-p) is set.
Bug mentioned in:
Fixes:
- https://github.com/LukeSmithxyz/mutt-wizard/issues/608
- https://github.com/LukeSmithxyz/mutt-wizard/issues/622
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mw | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -351,6 +351,7 @@ while getopts "fplhodTYD:y:i:I:s:S:u:a:n:x:m:t:" o; do case "${o}" in t) setact toggle || exit 1 ; cronmin="$OPTARG" ;; T) setact toggle || exit 1 ;; p) echo "NOTE: Protonmail users must install and configure Protonmail Bridge first for the first sync to work." + protocol="imap" imap="127.0.0.1" iport="1143" smtp="127.0.0.1" |