unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: "Jose A. Ortega Ruiz" <jao@gnu.org>
Cc: 36937@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#36937: 26.1; Sending mails doesn't set From: correctly
Date: Mon, 05 Aug 2019 21:46:01 +0200	[thread overview]
Message-ID: <87y307xuo6.fsf@turtle.gmx.de> (raw)
In-Reply-To: <87pnljijap.fsf@gnus.jao.io> (Jose A. Ortega Ruiz's message of "Mon, 05 Aug 2019 19:00:46 +0100")

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





  reply	other threads:[~2019-08-05 19:46 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y307xuo6.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=36937@debbugs.gnu.org \
    --cc=jao@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).