From 56e8a6dd7c2b0e3235be0977bd7a450e30e2a728 Mon Sep 17 00:00:00 2001 From: Mr Chainman Date: Mon, 30 Dec 2019 05:46:44 +0100 Subject: [PATCH] Added option to use a custom certificate file --- bin/mw | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/mw b/bin/mw index 568fef0..eaafd7c 100755 --- a/bin/mw +++ b/bin/mw @@ -53,7 +53,7 @@ Port $iport User $login PassCmd \"pass mutt-wizard-$title\" SSLType $ssltype -CertificateFile $sslcert +CertificateFile $sslcertmbsync MaildirStore $title-local Subfolders Verbatim @@ -178,6 +178,9 @@ EOF read -r title printf "\033[0m" done + printf "If you need a custom certificate file, please enter the path to it here (including the actual name), else leave it blank.\n\033[0m\\n\tCustom cert file(?): \033[36m" + read -r sslcertmbsync + [ -z "$sslcertmbsync" ] && sslcertmbsync="$sslcert" printf "If your account has a special username different from your address, insert it now. Otherwise leave this prompt totally blank.\\n\033[34mMost accounts will not have a separate login, so you should probably leave this blank.\033[0m\\n\tLogin(?): \033[36m" read -r login printf "\033[0m"