tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Daniel Gomez <da.gomez@samsung.com>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: I915-ci-infra@lists.freedesktop.org,
	intel-xe@lists.freedesktop.org, tools@kernel.org,
	d+samsung@kruces.com
Subject: Re: Incorrect response address when using B4
Date: Tue, 01 Oct 2024 11:26:12 +0300	[thread overview]
Message-ID: <875xqcw7ob.fsf@intel.com> (raw)
In-Reply-To: <20240930211519.tquvjw7davr7zlfz@AALNPWDAGOMEZ1.aal.scsc.local>

On Mon, 30 Sep 2024, Daniel Gomez <da.gomez@samsung.com> wrote:
> On Mon, Sep 30, 2024 at 05:45:08PM +0300, Jani Nikula wrote:
>> On Mon, 30 Sep 2024, Daniel Gomez <da.gomez@samsung.com> wrote:
>> > On Mon, Sep 30, 2024 at 10:20:57AM -0400, Konstantin Ryabitsev wrote:
>> >> On Mon, Sep 30, 2024 at 04:18:39PM GMT, Daniel Gomez wrote:
>> >> > > Was it an automated tool that sent you that message? Normally, email clients
>> >> > > would honour the "Reply-To" field and not use the From: address put in by the
>> >> > > relay.
>> >> > 
>> >> > It was a CI Patchwork tool. Response [1] to my patch was sent from "From:
>> >> > Patchwork <patchwork@emeril.freedesktop.org>".
>> >> > 
>> >> > [1] https://lore.kernel.org/all/172735727458.1107233.1757281470637305143@2413ebb6fbb6/
>> >> > 
>> >> > I think that tool is ignoring the "Reply-To" field [2] from the B4 message and
>> >> > using the From field.
>> >> > 
>> >> > 	From: Daniel Gomez via B4 Relay <devnull+da.gomez.samsung.com@kernel.org>
>> >> > 	Reply-To: da.gomez@samsung.com
>> >> 
>> >> It's no big deal as long as you got the email response in the end. We expect
>> >> this to happen with a lot of automation, which is why any replies to the relay
>> >> address are auto-discarded.
>> >
>> > To clarify, the email response didn't land into my inbox. I realized a response
>> > was sent after checking at lore.kernel.org.
>> 
>> Yeah, our patchwork instance tries not to spam everyone, and limits the
>> replies to the submitter + intel-gfx/intel-xe mailing lists, but
>> apparently uses From instead of Reply-To.
>
> I've just realized that it also happened with 0-day here:
> https://lore.kernel.org/all/20240917-blktrace-algn-v1-1-9fb54b7b1dfa@samsung.com/#t
>
> The answer from 0-day went to the same wrong devnull B4 Relay address.
>
> And lore's git-send-email + mailto: Reply instruction section is using the wrong
> address as well. I'm not sure why is the Reply instructions [1] section using
> From instead of Reply-To?

It's just that email is hard. It seems to be surprisingly difficult to
follow the requirements of the relevant email RFCs to the letter, but
also just by following the requirements or even recommendations of the
RFCs won't give you the kind of interoperability you might expect.

For example:

- In all cases, the "From:" field SHOULD NOT contain any mailbox that
  does not belong to the author(s) of the message. [1]

- When a message is a reply to another message, the mailboxes of the
  authors of the original message (the mailboxes in the "From:" field)
  or mailboxes specified in the "Reply-To:" field (if it exists) MAY
  appear in the "To:" field of the reply since these would normally be
  the primary recipients of the reply. [2]

I assume b4 is not using your address in From: because it's very likely
to get the email classified as spam due to From: spoofing. Worse, it
might get kernel.org on spam sender lists.

Yet using Reply-To: in replies is completely optional. It's not required
or even recommended, it's optional.

I realize this does not really help you with the issue, but might help
you adjust your expectations...


BR,
Jani.


[1] https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.2

[2] https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.3


-- 
Jani Nikula, Intel

  reply	other threads:[~2024-10-01  8:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240930133009eucas1p14b11ee712ae3ab1ca3aafc2833103bcb@eucas1p1.samsung.com>
2024-09-30 13:30 ` Incorrect response address when using B4 Daniel Gomez
2024-09-30 14:07   ` Konstantin Ryabitsev
2024-09-30 14:18     ` Daniel Gomez
2024-09-30 14:20       ` Konstantin Ryabitsev
2024-09-30 14:33         ` Daniel Gomez
2024-09-30 14:45           ` Jani Nikula
2024-09-30 21:15             ` Daniel Gomez
2024-10-01  8:26               ` Jani Nikula [this message]
2024-10-01 13:26                 ` Konstantin Ryabitsev
2024-10-04  9:23         ` Daniel Gomez
2024-10-04 10:00           ` Jani Nikula
2024-09-30 14:09   ` Jani Nikula
2024-09-30 14:28     ` Daniel Gomez

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=875xqcw7ob.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=I915-ci-infra@lists.freedesktop.org \
    --cc=d+samsung@kruces.com \
    --cc=da.gomez@samsung.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@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;
as well as URLs for NNTP newsgroup(s).