all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>,
	"Sven Joachim" <svenjoac@gmx.de>
Cc: 36937@debbugs.gnu.org
Subject: bug#36937: 26.1; Sending mails doesn't set From: correctly
Date: Tue, 06 Aug 2019 16:04:11 +0100	[thread overview]
Message-ID: <87y306fi8k.fsf@gnus.jao.io> (raw)
In-Reply-To: <875znaid0j.fsf@gnus.jao.io> (Jose A. Ortega Ruiz's message of "Tue, 06 Aug 2019 15:28:44 +0100")

On Tue, Aug 06 2019, Jose A. Ortega Ruiz wrote:

> On Tue, Aug 06 2019, Sven Joachim wrote:
>
> [...]
>
>> Oh, I think it actually does not.  I almost always use Gnus, or
>> otherwise C-x m aka compose-mail which uses message-mode.  With
>> M-x mail, message-sendmail-f-is-evil does not seem to have an effect,
>> postfix always sees the user@localhost address then.  And this is even
>> the case in the emacs-26 branch.
>>
>> Jose, did you actually use "M-x mail", or did you use something else
>> which uses message-mode to compose and send the mail?
>
> I was using M-x mail.  I observed it first with message-mode, though
> (normally invoked from Gnus), but i'm almost sure it's happened with
> mail too.  Here in emacs-26, i've got message-sendmail-f-is-evil nil,
> and things are working properly (in that postfix is seeing the From:
> address... i use that to multiplex over several smtp servers).

Sorry, what i said before was not true.

In emacs-27, M-x mail is working just fine (i.e., the correct From:
address is seen by postfix).  The problem only happens when using
message-mode (either via Gnus or simply via M-x message-mail) to send
the email.  Setting message-sendmail-f-is-evil back to nil fixes it for
me too.  And setting it to t in emacs-26 reproduces the (to me) bad
behaviour too.

Cheers,
jao





  parent reply	other threads:[~2019-08-06 15:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-05 18:00 bug#36937: 26.1; Sending mails doesn't set From: correctly Jose A. Ortega Ruiz
2019-08-05 19:46 ` Sven Joachim
2019-08-06  7:10   ` Sven Joachim
2019-08-06  7:32     ` Stefan Monnier
     [not found]       ` <FMvW6nm7r2CHxlnkt2DXHDW7iNPmJrCcUSTmI7SI_qrg6fzR-vcBJlPvtECxekzaGrAGlhlmmSmvf6pA3bcykg==@protonmail.internalid>
2019-08-06  8:34       ` Sven Joachim
     [not found]         ` <875znaid0j.fsf@gnus.jao.io>
2019-08-06 15:04           ` Jose A. Ortega Ruiz [this message]
2019-08-07  0:43             ` Stefan Monnier
2019-08-07 13:47               ` Jose A. Ortega Ruiz
2019-08-06  7:19   ` Stefan Monnier

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=87y306fi8k.fsf@gnus.jao.io \
    --to=jao@gnu.org \
    --cc=36937@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=svenjoac@gmx.de \
    /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.