my current mu4e setup uses MSMTP
utility to send out emails. Unfortunately if I want to use queues I have to use smtpmail.el
which requires me either to (1) save my password in cleartext in .authinfo
, (2) enter my password every time, (3) enter my PGP passphrase when using .authinfo.gpg
. None of these solutions is very convenient.
Is there a way to convince smtpmail.el
to retrieve my password from an Emacs lisp function, possibly without storing it for too long? I have an Emacs lisp function that extract the password from the keychain, so that would be ideal.