PassCmd gives "IMAP command 'AUTHENTICATE PLAIN ' returned an error: NO Incorrect username or password."

2020-12-12 Thread Tassilo Horn
Hi all, I can't get PassCmd to work correctly. Those are my relevant settings: --8<---cut here---start->8--- IMAPAccount fastmail Host imap.fastmail.com User mym...@fastmail.fm Pass GEHEIMNIS #PassCmd "gpg --decrypt --output=- ~/.authinfo.gpg 2> /dev/null | gr

Re: PassCmd gives "IMAP command 'AUTHENTICATE PLAIN ' returned an error: NO Incorrect username or password."

2020-12-12 Thread Oswald Buddenhagen
On Sat, Dec 12, 2020 at 10:46:02AM +0100, Tassilo Horn wrote: PassCmd "gpg --decrypt --output=- ~/.authinfo.gpg 2> /dev/null | grep imap.fastmail.com | sed 's/.*password \([^ ]\+\).*/\1/'" you need to double the three backslashes. ___ isync-devel

Fwd: Re: PassCmd gives "IMAP command 'AUTHENTICATE PLAIN ' returned an error: NO Incorrect username or password."

2020-12-12 Thread Tassilo Horn
Oswald Buddenhagen writes: Hi Oswald, >> PassCmd "gpg --decrypt --output=- ~/.authinfo.gpg 2> /dev/null | grep >> imap.fastmail.com | sed 's/.*password \([^ ]\+\).*/\1/'" > > you need to double the three backslashes. Ah, I've doubled the four backslashes and now it works as expected. So I gue