diff --git a/bin/mw b/bin/mw index 79d15a6..e2c10e5 100755 --- a/bin/mw +++ b/bin/mw @@ -22,7 +22,7 @@ cachedir="$HOME/.cache/mutt-wizard" muttrc="$muttdir/muttrc" msmtprc="$HOME/.config/msmtp/config" ssltype="IMAPS" # This is later changed to `None` later in the script if using Protonmail -AuthMech LOGIN + for x in "/etc/ssl/certs/ca-certificates.crt" "/etc/pki/tls/certs/ca-bundle.crt" "/etc/ssl/ca-bundle.pem" "/etc/pki/tls/cacert.pem" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" "/etc/ssl/cert.pem" "/usr/local/share/ca-certificates/" do @@ -55,6 +55,7 @@ Port $iport User $login PassCmd \"pass mutt-wizard-$title\" SSLType $ssltype +AuthMech LOGIN CertificateFile $sslcert MaildirStore $title-local