GNU bug report logs - #36937
26.1; Sending mails doesn't set From: correctly

Previous Next

Package: emacs;

Reported by: "Jose A. Ortega Ruiz" <jao <at> gnu.org>

Date: Mon, 5 Aug 2019 18:01:01 UTC

Severity: normal

Found in version 27.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: "Jose A. Ortega Ruiz" <jao <at> gnu.org>
To: "Stefan Monnier" <monnier <at> iro.umontreal.ca>,
 "Sven Joachim" <svenjoac <at> gmx.de>
Cc: 36937 <at> debbugs.gnu.org
Subject: Re: bug#36937: 26.1; Sending mails doesn't set From: correctly
Date: Tue, 06 Aug 2019 16:04:11 +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 <at> 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




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

Previous Next


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