Discussion:
msmtp and GPG Issues
Aric Gregson
2014-11-04 22:37:11 UTC
Permalink
Hello,

I have been attempting to us gpg encrypted files for my passwords in
msmtp. Gnus complains when trying to send messages and there are lots of
errors in the command buffer, beeps and complains that the email was not
sent, saving it in drafts. I have tried these and other command line
options for msmtp and get the same results.

passwordeval gpg2 --quiet --no-greeting --use-agent --batch
--no-verbose --no-tty -d ~/.msmtp.pswd.gpg

Indeed, when running the command in terminal, there is lots of
extraneous information that comes with the output of the password file.

Does anyone have such a method working in Gnus?

Another alternative could be to decrypt a msmtprc file when starting
Gnus, then destroying it when logging out, but I'm unsure on how to do
such a thing.

Gnus v0.11
emacs 24.4.50


Thanks, Aric
--
~O
/\_,
###-\ |_
(*) / (*)
Gijs Hillenius
2014-11-05 08:04:40 UTC
Permalink
You saw GnusAuthinfo on emacswiki.org?

http://www.emacswiki.org/emacs/GnusAuthinfo
Ted Zlatanov
2014-11-05 14:17:11 UTC
Permalink
On Wed, 05 Nov 2014 09:04:40 +0100 Gijs Hillenius <***@hillenius.net> wrote:

GH> You saw GnusAuthinfo on emacswiki.org?
GH> http://www.emacswiki.org/emacs/GnusAuthinfo

Or the hopefully helpful auth-source manual? It has a user help section.

(info "auth")

Ted
Aric Gregson
2014-11-05 19:52:43 UTC
Permalink
Post by Gijs Hillenius
You saw GnusAuthinfo on emacswiki.org?
Well, I do use that for outgoing. I'll take a closer look and figure out
how to use it with msmtp.

Thanks, Aric

Loading...