From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.bugs Subject: bug#36937: 26.1; Sending mails doesn't set From: correctly Date: Tue, 06 Aug 2019 16:04:11 +0100 Message-ID: <87y306fi8k.fsf@gnus.jao.io> References: <87pnljijap.fsf@gnus.jao.io> <87y307xuo6.fsf@turtle.gmx.de> <87ftmeydjc.fsf@turtle.gmx.de> <875znay9ni.fsf@turtle.gmx.de> <875znaid0j.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239713"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 36937@debbugs.gnu.org To: "Stefan Monnier" , "Sven Joachim" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 17:05:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hv11R-00107K-Rt for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 17:05:09 +0200 Original-Received: from localhost ([::1]:34026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv11Q-0001Og-CX for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 11:05:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49320) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv11L-0001LH-6n for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hv11K-0000e2-6K for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hv11K-0000dp-3I for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hv11J-00039X-Sm for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jose A. Ortega Ruiz" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Aug 2019 15:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36937 X-GNU-PR-Package: emacs Original-Received: via spool by 36937-submit@debbugs.gnu.org id=B36937.156510386912065 (code B ref 36937); Tue, 06 Aug 2019 15:05:01 +0000 Original-Received: (at 36937) by debbugs.gnu.org; 6 Aug 2019 15:04:29 +0000 Original-Received: from localhost ([127.0.0.1]:37643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv10m-00038W-Fc for submit@debbugs.gnu.org; Tue, 06 Aug 2019 11:04:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv10k-00038I-Ed for 36937@debbugs.gnu.org; Tue, 06 Aug 2019 11:04:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hv10Z-0000RE-SL; Tue, 06 Aug 2019 11:04:17 -0400 Original-Received: from cpc103058-sgyl39-2-0-cust254.18-2.cable.virginm.net ([94.173.216.255]:37474 helo=imladris.local) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hv10X-0006YY-R9; Tue, 06 Aug 2019 11:04:15 -0400 Original-Received: by imladris.local (Postfix, from userid 1000) id 5988132086E; Tue, 6 Aug 2019 16:04:11 +0100 (BST) In-Reply-To: <875znaid0j.fsf@gnus.jao.io> (Jose A. Ortega Ruiz's message of "Tue, 06 Aug 2019 15:28:44 +0100") X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164684 Archived-At: 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