imap_pass == smtp_pass ?

markolind at danwin1210.me markolind at danwin1210.me
Mon Dec 14 21:29:26 UTC 2020


On 201119-07:42-0500, Philippe Meunier wrote:
> Hello,
> 
> I use an IMAPS server for reading email and an STMPS server for sending
> email.  Both servers use the same password, which I think is a fairly
> common setup.
> 
> I know about imap_pass and smtp_pass but I don't want to write my password
> in my .muttrc for security reasons (my $HOME is on an NFS partition, among
> other things).
> 
> So is there a way to tell mutt something along the lines of: "prompt me
> interactively for imap_pass when needed, but once you know imap_pass then
> just re-use the same password for smtp_pass; and vice versa"?
> 
> Thanks,
> 
> Philippe
> 
Hi Philippe!

I'm not sure about the other replies you got, they are probably not as good as the following.

set imap_pass = "`gpg --batch -q --decrypt /home/$USER/.mutt/file_with_my_encrypted_pass`" ; 

in your .muttrc

Pls. find it all in the Mutt manual.

Mark Olind
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201214/44fc60b3/attachment.asc>


More information about the Mutt-users mailing list