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
signature.asc
Description: PGP signature