Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com>,
	tools@linux.kernel.org
Subject: Re: b4 send --output-dir eml's sent with git send-email creates two From: in the mail body
Date: Fri, 21 Oct 2022 14:57:27 -0500	[thread overview]
Message-ID: <20221021195727.GA303980@bhelgaas> (raw)
In-Reply-To: <20221019193208.euw2lv2d2anpzvdf@meerkat.local>

On Wed, Oct 19, 2022 at 03:32:08PM -0400, Konstantin Ryabitsev wrote:
> On Wed, Oct 19, 2022 at 06:23:09PM +0200, Quentin Schulz wrote:
> ...

> That said...
> 
> > The eml file created by b4 send --output-dir has the From: field using the
> > current git identity which I assume is the issue.
> 
> Right, we're not doing quite the right thing here either, because when there's
> a sendemail.from set up, we should be using that instead of the user.name +
> user.email. I'll see how we can fix this up to do the right thing.

I think I'm seeing a similar issue.  I have:

  [user]
        name = Bjorn Helgaas
        email = bhelgaas@google.com

  [sendemail]
        from = Bjorn Helgaas <helgaas@kernel.org>

and when I send patches with "git send-email", it works fine, e.g.,
  https://lore.kernel.org/all/20221014001911.3342485-1-helgaas@kernel.org/

But if I send patches with "b4 send" (0.10.1), the email is sent with
"From: Bjorn Helgaas <bhelgaas@google.com>", e.g.,
  https://lore.kernel.org/all/20221021-wip-bjorn-22-10-slow-down-io-alpha-v2-0-4f89a85f1b61@google.com/
which seems to make it to the vger lists, but I get DMARC bounces for
other folks.

Bjorn

  parent reply	other threads:[~2022-10-21 19:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 16:23 b4 send --output-dir eml's sent with git send-email creates two From: in the mail body Quentin Schulz
2022-10-19 19:32 ` Konstantin Ryabitsev
2022-10-20  9:03   ` Quentin Schulz
2022-10-21 19:57   ` Bjorn Helgaas [this message]
2022-10-31 21:09     ` Konstantin Ryabitsev

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

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

  git send-email \
    --in-reply-to=20221021195727.GA303980@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=tools@linux.kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox