commit 7dacd6a99a24c638b0e11c326bc35bad9de0de68
parent 125e4399303a3c73d742ba0aece94472bbbb2d2c
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 6 Mar 2018 16:06:44 -0700
Merge pull request #25 from praschdorff/master
added option to get rid of XOATH2 authentication failed warnings
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/autoconf/offlineimap_profile b/autoconf/offlineimap_profile
@@ -4,6 +4,7 @@ localrepository = $title-local
remoterepository = $title-remote
[Repository $title-remote]
+auth_mechanisms = LOGIN
type = $type
remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
@@ -1,4 +1,4 @@
#!/bin/bash
-pass=$(gpg2 -d -q ~/.config/mutt/credentials/$1.gpg)
+pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"