X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=d3270d2445338a59b46c3f7782c7c2c97090e1c5;hb=d4c06a6593aa0ea5e78523f2490b730ca47bbb29;hp=d3b184edd10cb8613a144dc6e215fa70ddbc6611;hpb=a06239614d6ed2ff7cb04980c49468fdcfc65762;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index d3b184e..d3270d2 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -250,6 +250,13 @@ With that in place, you need a `.msmtprc` with the accounts configured for the domains you want to send out using specific SMTP servers and the rest will go to the default account. +If you have a hard time getting the above to work for you, as I did, +it's also possible to add a message-send-mail-hook in your .emacs to +send the from header explicitly as an argument to msmtp as described +[here](http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP#toc2) on the +emacswiki. + + ## Address completion when composing There are currently two solutions to this: @@ -303,3 +310,11 @@ is not required). Alternatively, you may prefer to use `mml-secure-message-sign-pgpmime` instead of `mml-secure-sign-pgpmime` to sign the whole message instead of just one part. + +### Troubleshooting message-mode gpg support + +- If you have trouble with expired subkeys, you may have encounted + emacs bug #7931. This is fixed in git commit 301ea744c on + 2011-02-02. Note that if you have the Debian package easypg + installed, it will shadow the fixed version of easypg included with + emacs.