Re: [PATCH 3/5] bpf: Let kernel code import pages into an arena

From: Konstantin Ryabitsev

Date: Thu Dec 03 2026 - 02:52:06 EST


On Thu, Dec 03, 2026 at 07:55:37AM +0100, Andrea Righi wrote:
> On Thu, Dec 03, 2026 at 04:25:33AM +0000, Alexei Starovoitov wrote:
> ...
> > Only half of the patches reached bpf list.
> > In this shape is unreviewable.
>
> I'm hitting this issue quite often recently with kernel.org addresses
> that forward to Gmail. I checked the bounces and Gmail rejected your
> copies of the cover letter, 2/5 and 5/5 after forwarding through
> ast@xxxxxxxxxx, reporting an SPF failure for kernel.org.
>
> But it looks like all five patches and the cover letter reached the BPF
> list:
> https://lore.kernel.org/bpf/20261202182648.2239421-1-arighi@xxxxxxxxxx
>
> Konstantin, is there anything we can do on our side to avoid these
> delivery failures?

Unfortunately, no. Gmail is pretty awful these days.

Take this particular case:

Dec 2 18:27:25 ... postfix/smtp[207088]: A6DEA4540D: to=<alexei.starovoitov@xxxxxxxxx>, relay=gmail-smtp-in.l.google.com[2607:f8b0:400e:c09::1a]:25, delay=0.44, delays=0.03/0/0.27/0.14, dsn=4.7.28, status=deferred (host gmail-smtp-in.l.google.com[2607:f8b0:400e:c09::1a] said: 421-4.7.28 Gmail has detected this message exceeded its quota for sending 421-4.7.28 messages with the same Message-ID. To best protect our users, the 421-4.7.28 message has been temporarily rejected. For more information, go to 421 4.7.28 https://support.google.com/mail/answer/188131 41be03b00d2f7-cde6ceca70csi69339089a12.1 - gsmtp (in reply to end of DATA command))

"This message exceeded its quota for sending messages" is just chef's kiss.
Even when worded properly, it's just a completely arbitrary metric invented by
Gmail to stop legitimate mail from getting delivered.

Dec 2 18:42:03 ... postfix/smtp[235252]: C0BE3455DF: to=<alexei.starovoitov@xxxxxxxxx>, relay=gmail-smtp-in.l.google.com[74.125.195.26]:25, delay=0.32, delays=0.01/0.01/0.06/0.24, dsn=2.0.0, status=sent (250 2.0.0 OK 1796236923 d9443c01a7336-2f0472a7856si957428775ad.47 - gsmtp)
Dec 2 18:43:15 ... postfix/smtp[235251]: A6DEA4540D: to=<alexei.starovoitov@xxxxxxxxx>, relay=gmail-smtp-in.l.google.com[74.125.195.26]:25, conn_use=7, delay=951, delays=950/0.42/0.15/0.16, dsn=5.7.27, status=bounced (host gmail-smtp-in.l.google.com[74.125.195.26] said: 550-5.7.27 Your email has been blocked because SPF authentication didn't pass 550-5.7.27 for this message. Gmail requires all bulk email senders to 550-5.7.27 authenticate Authentication results: 550-5.7.27 SPF [kernel.org] with ip: [172.234.252.31] = did not pass 550-5.7.27 550-5.7.27 To set up SPF for your sending domains, visit 550-5.7.27 https://support.google.com/a?p=setup-spf 550-5.7.27 To learn more about Gmail requirements for bulk senders, visit 550 5.7.27 https://support.google.com/a?p=sender-guidelines. d2e1a72fcca58-8c872c5153csi91938962b3a.70 - gsmtp (in reply to end of DATA command))

This one is my favourite -- two back-to-back messages with one passing the SPF
check and the other, from the exact same IP a minute later, failing the SPF
check. I'm guessing because some lookup failed and Gmail doesn't believe in
caching? And then immediately at that exact second:

Dec 2 18:43:15 ... postfix/smtp[230805]: 450BA441EF: to=<alexei.starovoitov@xxxxxxxxx>, relay=gmail-smtp-in.l.google.com[74.125.195.26]:25, conn_use=2, delay=923, delays=922/0.69/0.16/0.1, dsn=4.7.28, status=deferred (host gmail-smtp-in.l.google.com[74.125.195.26] said: 421-4.7.28 Gmail has detected this message exceeded its quota for sending 421-4.7.28 messages with the same Message-ID. To best protect our users, the 421-4.7.28 message has been temporarily rejected. For more information, go to 421 4.7.28 https://support.google.com/mail/answer/188131 d9443c01a7336-2f12cd525e6si301869005ad.31 - gsmtp (in reply to end of DATA command))

SPF passes again! But only to trip on the same "too many messages with this
message-id".

I wish everyone could stop using Gmail as it's rapidly approaching unusable
for any serious work. Unfortunately, I can't make this happen, and there is
also nothing I can do to stop Gmail from arbitrarily rejecting legitimate
mail.

My best recommendation is to switch to using korgalore for mail delivery if
you must use Gmail.

https://korgalore.docs.kernel.org/

-K