all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emmanuel Boudreault <emmanuel.boudreault@polymtl.ca>
To: "Basil L. Contovounesios" <contovob@tcd.ie>,
	Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: 29427@debbugs.gnu.org
Subject: bug#29427: Problem sending emails in message-mode after restart
Date: Sun, 26 Nov 2017 20:33:51 +0100	[thread overview]
Message-ID: <87tvxgesww.fsf@soma.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87o9npkqus.fsf@gmail.com>

> After restarting emacs, message-mode tries to incorrectly guess the
> 'From' field of my e-mail even though it is already present.

I have found a workaround. When emacs calls sendmail, it passes along a
'-f' argument with a badly formed from address and that is my problem.
The from address is obtained using the 'message-sendmail-envelope-from'
function in 'message.el'..

I found a nice comment:

```
;; Always specify who from,
;; since some systems have broken sendmails.
;; But some systems are more broken with -f, so
;; we'll let users override this.
(and (null message-sendmail-f-is-evil)
  (list "-f" (message-sendmail-envelope-from)))
```

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.

> Emmanuel - I am forwarding your email, which follows my
> signature, to the bug report's address.

Thank you, I forgot to hit reply all.


Cheers,
Emmanuel





  reply	other threads:[~2017-11-26 19:33 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 [this message]
2017-11-27  1:37     ` Glenn Morris
2017-11-27 23:08       ` Eric Abrahamsen
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvxgesww.fsf@soma.i-did-not-set--mail-host-address--so-tickle-me \
    --to=emmanuel.boudreault@polymtl.ca \
    --cc=29427@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=eric@ericabrahamsen.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.