From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Glenn Morris <rgm@gnu.org>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,
29427@debbugs.gnu.org,
Emmanuel Boudreault <emmanuel.boudreault@polymtl.ca>
Subject: bug#29427: Problem sending emails in message-mode after restart
Date: Mon, 27 Nov 2017 15:08:45 -0800 [thread overview]
Message-ID: <87609v720y.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <1ga7z8v6vd.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 26 Nov 2017 20:37:58 -0500")
On 11/26/17 20:37 PM, Glenn Morris wrote:
> 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.
I still think the simplest solution would be to set `user-mail-address'.
It's a reasonable thing to have set globally, and once it's set
everything else can be ignored.
> (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.
That's an understatement...
next prev parent reply other threads:[~2017-11-27 23:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-24 16:09 bug#29427: Problem sending emails in message-mode after restart Emmanuel Boudreault
2017-11-24 18:33 ` Eric Abrahamsen
2017-11-25 17:19 ` Basil L. Contovounesios
2017-11-26 15:21 ` Basil L. Contovounesios
2017-11-26 19:33 ` Emmanuel Boudreault
2017-11-27 1:37 ` Glenn Morris
2017-11-27 23:08 ` Eric Abrahamsen [this message]
2019-09-22 23:13 ` Lars Ingebrigtsen
2019-05-13 21:11 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87609v720y.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=29427@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=emmanuel.boudreault@polymtl.ca \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).