GNU bug report logs - #29427
Problem sending emails in message-mode after restart

Previous Next

Package: emacs;

Reported by: Emmanuel Boudreault <emmanuel.boudreault <at> polymtl.ca>

Date: Fri, 24 Nov 2017 17:35:02 UTC

Severity: normal

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 29427 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Emmanuel Boudreault <emmanuel.boudreault <at> polymtl.ca>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>,
 Eric Abrahamsen <eric <at> ericabrahamsen.net>, 29427 <at> debbugs.gnu.org
Subject: Re: bug#29427: Problem sending emails in message-mode after restart
Date: Sun, 26 Nov 2017 20:37:58 -0500
Emmanuel Boudreault wrote:

> By setting 'message-sendmail-f-is-evil', I can bypass this bit of code
> and everything works as expected. However, this is just a workaround
> and doesn't correct the fact that emacs is reading the From field
> incorrectly.

So basically your issue is that your envelope-from isn't being set
correctly, because your system doesn't have a configured mail-host-address.

(setq message-sendmail-envelope-from 'header)

would presumably fix your problem as well, and might be a more sensible
default these days.

Related observations:

sendmail-send-it (which is what you selected by choosing "transport")
doesn't pass -f to sendmail by default. However, message.el uses its own
message-send-mail-with-sendmail instead, and this does pass -f by
default. This seems like a confusing difference, as well as a confusing
duplication of code (but that's message.el for you).

I would guess that you got sendmail-send-it the first time, then
message-send-mail-with-sendmail on all future invocations, owing to how
the variable message-send-mail-function gets initialized.

It all seems Very Complicated.




This bug report was last modified 5 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.