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: Mon, 05 Aug 2019 19:00:46 +0100 Message-ID: <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="157487"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: 36937@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 05 20:01:21 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 1huhIP-000eq6-6C for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 20:01:21 +0200 Original-Received: from localhost ([::1]:56358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huhIO-0000zO-4b for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 14:01:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50927) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huhII-0000zG-GO for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huhIE-0006qw-QW for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:01:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huhI6-0006na-CZ for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huhI6-0004DR-7y for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:01:02 -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: Mon, 05 Aug 2019 18:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36937 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156502805416180 (code B ref -1); Mon, 05 Aug 2019 18:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Aug 2019 18:00:54 +0000 Original-Received: from localhost ([127.0.0.1]:35836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huhHy-0004Ct-38 for submit@debbugs.gnu.org; Mon, 05 Aug 2019 14:00:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huhHw-0004Cm-8j for submit@debbugs.gnu.org; Mon, 05 Aug 2019 14:00:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50851) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huhHu-0000xm-BN for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:00:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1huhHu-0006jx-2V for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:00:50 -0400 Original-Received: from cpc103058-sgyl39-2-0-cust254.18-2.cable.virginm.net ([94.173.216.255]:49894 helo=imladris.local) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1huhHs-0002nB-Uu for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:00:49 -0400 Original-Received: by imladris.local (Postfix, from userid 1000) id 744F9320279; Mon, 5 Aug 2019 19:00:46 +0100 (BST) 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:164643 Archived-At: 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. Thanks! In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-08-03, unofficial emacs-snapshot build: http://emacs.secretsauce.net built on lilbastard Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux bullseye/sid Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Sending... Save this mail sending choice? (y or n) n Sending...done Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/27.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.0.50/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/27.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-snapshot-eSXVQs/emacs-snapshot-20190803+emacs-26.1-6779-g5ae1191e5b0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 44987 9529) (symbols 48 6203 1) (strings 32 16184 1920) (string-bytes 1 513447) (vectors 16 9265) (vector-slots 8 129612 10712) (floats 8 24 26) (intervals 56 271 0) (buffers 992 13))