Incorrect response address when using B4

Jani Nikula jani.nikula at linux.intel.com
Tue Oct 1 08:26:12 UTC 2024


On Mon, 30 Sep 2024, Daniel Gomez <da.gomez at 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 at 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 at 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 at kernel.org>
>> >> > 	Reply-To: da.gomez at 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


More information about the Intel-xe mailing list