Skip to contentSkip to conversation

doc: Add section about mail providers which modify Message-ID

PATCH Superseded Vencislav Atanasov 2 participants 4 messages Nov 18 – Nov 23

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Add section about mail providers which modify Message-ID

A short debugging session revealed that AWS SES completely replaces the Message-ID header, even though the API is called SendRawEmail.

---
 doc/develop/sending_patches.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/develop/sending_patches.rst +13 -0
index 99581dc0ba0..e2d5e4b15c2 100644
@@ -184,6 +184,19 @@ General Patch Submission Rules
   cases, you did something wrong if your patch exceeds this limit. Think again
   if you should not split it into separate logical parts.
 
+* If you use a mail service which modifies the Message-ID header, your
+  individual patches won't point back to the cover letter and vice versa. A
+  notable example is `Amazon Web Services' Simple E-mail Service (AWS SES)
+  <aws-ses-sendrawemail-message-id-link_>`_.
+  In this case, you can use the Web endpoint of kernel.org's B4 Relay. See the
+  `b4 documentation <b4-web-endpoint-link_>`_ for setup and usage instructions.
+
+.. _aws-ses-sendrawemail-message-id-link:
+   https://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html#:~:text=Amazon%20SES%20automatically%20applies%20its%20own%20Message%2DID
+
+.. _b4-web-endpoint-link:
+   https://b4.docs.kernel.org/en/latest/contributor/send.html#configuring-the-web-endpoint
+
 Attributing Code, Copyrights, Signing
 -------------------------------------
 

---
base-commit: 2f83ef8a7dd4a409b534ea68cd13b17b686cc53c
change-id: 20261118-doc-msgid-d3e5a451071a

Best regards,

Signature · 1 line
Vencislav Atanasov <[email protected]>
#1 lore raw

Hi Vencislav,

Quoted 17 lines · On 11/18/26 4:46 PM, Vencislav Atanasov via B4 Relay wrote:

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

From: Vencislav Atanasov <[email protected]>

A short debugging session revealed that AWS SES completely replaces the Message-ID header, even though the API is called SendRawEmail.

---
  doc/develop/sending_patches.rst | 13 +++++++++++++
  1 file changed, 13 insertions(+)
doc/develop/sending_patches.rst +0 -0
index 99581dc0ba0..e2d5e4b15c2 100644

doc/develop/sending_patches.rst General Patch Submission Rules · line 193

Quoted 10 lines
doc/develop/sending_patches.rst +7 -0
@@ -184,6 +184,19 @@ General Patch Submission Rules
    cases, you did something wrong if your patch exceeds this limit. Think again
    if you should not split it into separate logical parts.
 
+* If you use a mail service which modifies the Message-ID header, your
+  individual patches won't point back to the cover letter and vice versa. A
+  notable example is `Amazon Web Services' Simple E-mail Service (AWS SES)
+  <aws-ses-sendrawemail-message-id-link_>`_.
+  In this case, you can use the Web endpoint of kernel.org's B4 Relay. See the
+  `b4 documentation <b4-web-endpoint-link_>`_ for setup and usage instructions.
+

suggestion: reword so it's not that specific

I've met people who struggle to use GMail, Proton or their corporate mail server, to contribute to mailing list-based projects. I think something more generic would maybe help them understand the web endpoint is the solution to their problems and that's accessible regardless of your mail server. I also don't think it matters much *how* it's broken (though indeed people may still be using AWS SES with broken cover letters unknowingly). I can suggest:

"""
* If sending patches through your mail server is broken, doesn't work at all or is not possible, consider using b4's web endpoint[1]. It will allow you to send patches without using your mail server. GMail, Proton Mail, Amazon Web Services Simple E-mail Service (AWS SES)[2] and various corporate servers are known to be particularly broken. """

What do you think?

doc/develop/sending_patches.rst General Patch Submission Rules · line 199

Quoted 6 lines
doc/develop/sending_patches.rst +6 -0
+.. _aws-ses-sendrawemail-message-id-link:
+   https://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html#:~:text=Amazon%20SES%20automatically%20applies%20its%20own%20Message-ID
+
+.. _b4-web-endpoint-link:
+   https://b4.docs.kernel.org/en/latest/contributor/send.html#configuring-the-web-endpoint
+

question: is the attestation necessary for sending over the web endpoint?

If so, then we should point at https://b4.docs.kernel.org/en/latest/contributor/send.html#authenticating-with-the-web-submission-endpoint instead I think?

Cheers,
Quentin

#2 lore raw

Hi Quentin,

Quoted 6 lines · Quentin Schulz

Hi Vencislav,

suggestion: reword so it's not that specific

Quoted 8 lines

I've met people who struggle to use GMail, Proton or their corporate mail server, to contribute to mailing list-based projects. I think something more generic would maybe help them understand the web endpoint is the solution to their problems and that's accessible regardless of your mail server. I also don't think it matters much *how* it's broken (though indeed people may still be using AWS SES with broken cover letters unknowingly). I can suggest:

"""
* If sending patches through your mail server is broken, doesn't work at all or is not possible, consider using b4's web endpoint[1]. It will allow you to send patches without using your mail server. GMail, Proton Mail, Amazon Web Services Simple E-mail Service (AWS SES)[2] and various corporate servers are known to be particularly broken. """

What do you think?

I've tested sending an email with a specific Message-ID using GMail's SMTP service using cURL, and the Message ID was unchanged, unlike AWS SES. I also signed up for Proton Mail, but SMTP is a paid feature so I was unable to test it. If you have a complaint from someone who is using Proton Mail and their Message ID header gets replaced, please share a link to the message. Thanks.

Quoted 3 lines

question: is the attestation necessary for sending over the web endpoint?

If so, then we should point at https://b4.docs.kernel.org/en/latest/contributor/send.html#authenticating-with-the-web-submission-endpoint instead I think?

I've already done the attestation because the b4 setup instructions that I was following when I submitted my patches over SMTP already included patatt key generation. Later I found out that it wasn't required when submitting patches over SMTP. So I can't really tell, since I already validated my e-mail address at the b4 relay. The link you shared appears to imply that attestation is required for the web endpoint, so I'll include it instead.

Regards,
Vencislav

#3 lore raw
Quoted 10 lines · Vencislav Atanasov

Hi Quentin,

Quoted 8 lines · Quentin Schulz

Hi Vencislav,

suggestion: reword so it's not that specific

I've met people who struggle to use GMail, Proton or their corporate mail server, to contribute to mailing list-based projects. I think something more generic would maybe help them understand the web endpoint is the solution to their problems and that's accessible regardless of your mail server. I also don't think it matters much *how* it's broken (though indeed people may still be using AWS SES with broken cover letters unknowingly). I can suggest:

Quoted 9 lines
Quoted 6 lines

"""
* If sending patches through your mail server is broken, doesn't work at all or is not possible, consider using b4's web endpoint[1]. It will allow you to send patches without using your mail server. GMail, Proton Mail, Amazon Web Services Simple E-mail Service (AWS SES)[2] and various corporate servers are known to be particularly broken. """

What do you think?

I've tested sending an email with a specific Message-ID using GMail's SMTP service using cURL, and the Message ID was unchanged, unlike AWS SES. I also signed up for Proton Mail, but SMTP is a paid feature so I was unable to test it. If you have a complaint from someone who is using Proton Mail and their Message ID header gets replaced, please share a link to the message. Thanks.

I didn't say it was Message-ID related :)

For GMail, there are plenty of issues, not necessarily related to sending. https://b4.docs.kernel.org/en/latest/config.html#term-b4.attestation-check-dkim for the attestation part. See korgalore https://people.kernel.org/monsieuricon/tracking-kernel-development-with-korgalore for how things are messed up. See https://social.kernel.org/search?query=gmail for some examples of Konstantin cursing GMail.

For ProtonMail, it's related to the SMTP service only being available to paid tier users, c.f. https://lore.kernel.org/u-boot/wZ90PLwVcDDHWjgk7robBmaw1YmdSxF2l4qP0CirT50SG0pcnFMha3Ahz00Hzo_ZyZd5DGXiVDruI_ic8UhKYUIlRcDyCCy8LrH0ZtulEnY=@proton.me/

Quoted 7 lines
Quoted 4 lines

question: is the attestation necessary for sending over the web endpoint?

If so, then we should point at https://b4.docs.kernel.org/en/latest/contributor/send.html#authenticating-with-the-web-submission-endpoint instead I think?

I've already done the attestation because the b4 setup instructions that I was following when I submitted my patches over SMTP already included patatt key generation. Later I found out that it wasn't required when submitting patches over SMTP. So I can't really tell, since I already validated my e-mail address at the b4 relay. The link you shared appears to imply that attestation is required for the web endpoint, so I'll include it instead.

I don't have it set up (though I don't use the web endpoint), and need to call b4 send --no-sign for it to work without an attestation. Was wondering if it was an option for submission via the endpoint (I'm suspecting, it's a requirement to have it considering Konstantin really want people to use it).

Cheers,
Quentin