|
From: Gour <go...@at...> - 2015-03-22 09:22:22
|
Hello,
I'd like to use encrypted authinfo.gpg containing multiple entries for
all my email accounts as PassCmd.
Found some config on the net having the following:
IMAPStore remote-domnain
Host imap.domain.tld
User us...@do...
PassCmd "echo ${PASSWORD:-$(gpg --no-tty -qd ~/.authinfo.gpg | sed -n 's,^machine imap.domainl.tld .*password \\([^ ]*\\).*,\\1,p')}"
and I've tried with my authinfo.gpg which has entries like:
machine user login us...@gm... password "somepassword" port imaps
and it does not work and I assume (due to rusty sed skills) that problem
is with 'port imaps' at the end of the authinfo lines?
Am I right and/or anyone has working PassCmd line for multiple
authinfo.gpg?
What do you think about Pwmd?
Sincerely,
Gour
--
It is far better to discharge one's prescribed duties, even though
faultily, than another's duties perfectly.
|