From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#36937: 26.1; Sending mails doesn't set From: correctly Date: Mon, 05 Aug 2019 21:46:01 +0200 Message-ID: <87y307xuo6.fsf@turtle.gmx.de> References: <87pnljijap.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="86602"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36937@debbugs.gnu.org, Stefan Monnier To: "Jose A. Ortega Ruiz" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 05 21:52:09 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 1huj1c-000MOC-JI for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 21:52:08 +0200 Original-Received: from localhost ([::1]:56750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huj1b-0004DH-6P for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 15:52:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52075) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huj1X-0004D9-J3 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 15:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huj1W-0003up-M1 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 15:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huj1W-0003ul-Ic for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 15:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huj1W-00073B-Fn for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 15:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sven Joachim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2019 19:52:02 +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.156503471627090 (code B ref 36937); Mon, 05 Aug 2019 19:52:02 +0000 Original-Received: (at 36937) by debbugs.gnu.org; 5 Aug 2019 19:51:56 +0000 Original-Received: from localhost ([127.0.0.1]:35896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huj1Q-00072q-HU for submit@debbugs.gnu.org; Mon, 05 Aug 2019 15:51:56 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:58703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huj1M-00072c-Bp for 36937@debbugs.gnu.org; Mon, 05 Aug 2019 15:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565034701; bh=U4p4bt8pqeCWxaE10DDQ5FzEwga0Yukc7+ULOMhUTJ8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=YVlfI5BV5PjQskGwN6rpzyVGQL9id3j+aB5Ju09tIRKv6LnA7BiuUc4PHoWObGrBD csxwjjmiopXrVXssA5wOqZl5zsw3w/2iUXhKMMQJutnINR0/ZShLsuVUegd6mZG5yM HE87fCkTpnVWK5jgtE3iFtTMZmM4rwarNw/dOxxc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost.localdomain ([79.223.36.122]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LoKHN-1iWHfI1seP-00gFtm; Mon, 05 Aug 2019 21:46:05 +0200 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 2802F800A5; Mon, 5 Aug 2019 21:46:01 +0200 (CEST) In-Reply-To: <87pnljijap.fsf@gnus.jao.io> (Jose A. Ortega Ruiz's message of "Mon, 05 Aug 2019 19:00:46 +0100") X-Provags-ID: V03:K1:8bnxez1ozL4+oVwQ7/PeltZlzgAB8Mj3Haqd8gcMBRZzrT89zqF Eocx7CHIhyY5sphVboF/iOBoUHRmE7Yy0SVC3PEQrelYWMWXjCy1KDjTY/V4COwDB1ha64e 4D4lseM2YtfiNf8XpdwWqym+6T/0HO6W+0PlQiG0IT4Xsfr7RCM+bode1z31XUKEp9WM0NO ckRLxIW86lGwFz3k7o6IQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:sq9n77jxgtQ=:VUCGKlpc0G9/QcpQc/YTJp dClfJ5GgVLGkCdA8nhNCh0ob12/MnH6t3CrQ1NtSLjLAut3e70iWJOlqUuwHwDhVUtjadxpVD 5H/rCXcqhFF5NuUE6wZk4cFa/wfMMhFp770HDVCIQlJ1OxlkDyjXI1zJdmzftLNLd/syA4+Lu MrjgXl8WjmKAQ1NYRiXnKJrHp+xFFuzxVq5FIxXfKoXi1jhHZ7uElhZdTeiGj9aB0gMCAU3IE DNLdcQv5u/1lcMiuFcW88NCFAYS67ECYSluW9jv0vaA9QDYfuBlfqrIrG0xOYXjXhLuaF7wp8 M5AkkptkKc78eaNtCW93haKkUyGZ0iAMmG3jgNYtGxG4cIX+KmRAd0jH7p+BYIVMiSl/v3q7V G7TYvSqTIklgGPDdUEqrJ9Y6fEdCJqsV5fdPeQOvIQaGv8iO5t0RjApOOmN41W2mJFaXvqoDV 1tkfDfrF7mLtLEdDN2QsANu17Scn/bus0iv/8CL6gbT74Lr2Z6Sd5OJEG01qEDeaEKFdW1X77 EqWtpplwd/dUPMsRoLnL+r6SYApn0lJoY++wGmfcVPLCzHgrBwh9sO+wlsrmx5AgpID9lO4XU UZEgm2xkY3LL1OoDAnu/OYvCIbIF43YGS50wzXy3/VF2FmNwSmBG55XfpdboHGm6ZDIz+V6lU 8R3ZbdQ5ii3w8b5iJK6hva684PAVj9BxEY94dGlirb12BoA2ZWbWPajdIx6dZ3tTdcyymkXx2 tHWnkUkyI8BmntVnBnv6uqbfCEZ2ClLOCrZ5R8gznJaeFXY3fldyv4FFxR+GD3LcQeSvc+5O 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:164646 Archived-At: notfound 36937 26.1 found 36937 27.0.50 thanks On 2019-08-05 19:00 +0100, Jose A. Ortega Ruiz wrote: > This problem started happening in builds from master around 4 days ago: > > - start emacs -Q > - M-x mail (or any other form of sending email) > - Set a From: value different from user@localhostname > - Send mail using local sendmail > > The mail is sent with a from header seen by postfix (i don't know about > other MTAs) as user@localhost, instead of the From: i set in the > headers. By user@localhost i mean the unix username running emacs and > the hostname as returned by hostname(1). It seems emacs is just > ignoring the value of From:, or setting it in a way postfix doesn't > understand. > > I know almost for sure it's an emacs problem because emacs 26 or an > earlier version of emacs-snapshot is working without problems. Confirmed here, although it did not prevent me personally from sending mail, since I had already set up postfix to rewrite such user@localhostname addresses back. Reverting commit 3a59cc840693 (" * lisp/gnus/message.el: Reduce redundancy with send-mail-function") fixed the problem. It looks like this commit changed some important options and looks NEWS-worthy. Stefan? Cheers, Sven