providing IMAP password to a mutt running on a remote host
Ian Zimmerman
itz at very.loosely.org
Fri May 29 17:28:26 UTC 2020
On 2020-05-29 07:33, Matthias Apitz wrote:
> Has someone an idea how could I provide to the remote mutt session the
> IMAP credentials stored on my local laptop?
If you can talk to the admin of the remote host, you can put the
credentials into some Unix environment variables on the laptop and make
ssh lob them over (this is controlled by AcceptEnv, SendEnv and SetEnv
in ssh configuration, including the sshd on the remote and that's what
you need the admin's help for). Then in the remote .muttrc at the place
where you need the credentials use a `printenv FOO` construct.
I have done something like this but since then my program of radical
simplicity has made some progress :-)
--
Ian
More information about the Mutt-users
mailing list