providing IMAP password to a mutt running on a remote host

Matthias Apitz guru at unixarea.de
Fri May 29 05:33:41 UTC 2020


Hello,

I often use mutt on some remote Linux host of my ISP about which I do
not have control as root, just a SSH login is provided. Due to this I do
not want to store the IMAP password in ~/.muttrc or where ever there in
plain text.

The SSH connection is initiated from my local FreeBSD laptop using RSA
and a ssh-agent, i.e. I can do there on the remote host also:

$ ssh-add -l
1024 SHA256:kZHWaISpML7rzqVppZNTOR+r+6plvFsc967WqOJ5iKo /home/guru/.ssh/id_rsa (RSA)

Has someone an idea how could I provide to the remote mutt session the
IMAP credentials stored on my local laptop? And no, I do not want to use
IMAP through the SSH tunnel, i.e. run mutt on my laptop, because in the
scenario described above the laptop is inside my company and central
managed network and I can not use any normal sendmail MX chain, all mail
must be passed through a central host (guess, what type of MX this runs
:-) )

Thanks

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


More information about the Mutt-users mailing list