All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: Andrea Righi <arighi@nvidia.com>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	 Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	 Andrii Nakryiko <andrii@kernel.org>,
	Eduard Zingerman <eddyz87@gmail.com>,
	 Kumar Kartikeya Dwivedi <memxor@gmail.com>,
	Martin KaFai Lau <martin.lau@linux.dev>,
	 Song Liu <song@kernel.org>,
	Yonghong Song <yonghong.song@linux.dev>,
	 Jiri Olsa <jolsa@kernel.org>,
	Emil Tsalapatis <emil@etsalapatis.com>,
	 Ihor Solodrai <ihor.solodrai@linux.dev>,
	John Fastabend <john.fastabend@gmail.com>,
	 Vishal Verma <vishal.l.verma@intel.com>,
	Dave Jiang <dave.jiang@intel.com>,
	 Alison Schofield <alison.schofield@intel.com>,
	Matthew Wilcox <willy@infradead.org>, Jan Kara <jack@suse.cz>,
	 Tejun Heo <tj@kernel.org>, David Vernet <void@manifault.com>,
	 Changwoo Min <changwoo@igalia.com>,
	Josh Don <joshdon@google.com>,
	 Vineeth Pillai <vineethrp@google.com>,
	Peilin Ye <yepeilin@google.com>, Zhi Wang <zhiw@nvidia.com>,
	 Lee Trager <ltrager@nvidia.com>,
	Balbir Singh <balbirs@nvidia.com>,
	 Shameer Kolothum <skolothumtho@nvidia.com>,
	Himadri Chhaya-Shailesh <himadrics@protonmail.com>,
	 NchangRoy <royfru44@gmail.com>,
	bpf@vger.kernel.org, sched-ext@lists.linux.dev,
	 nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org,
	linux-fsdevel@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/5] bpf: Let kernel code import pages into an arena
Date: Thu, 3 Dec 2026 02:51:55 -0500	[thread overview]
Message-ID: <20261203-eccentric-industrious-zebu-603cbc@toolbx> (raw)
In-Reply-To: <axESaU7dczuVf6Jt@gpd4>

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@kernel.org, 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@nvidia.com
> 
> 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@gmail.com>, 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@gmail.com>, 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@gmail.com>, 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@gmail.com>, 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

  reply	other threads:[~2026-12-03  7:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 18:23 [PATCH v3 bpf-next 0/5] bpf: Import external pages into an arena Andrea Righi
2026-12-02 18:23 ` [PATCH 1/5] dax: Declare inode_dax() in linux/dax.h Andrea Righi
2026-12-02 18:23 ` [PATCH 2/5] bpf: Allow importing memfd pages into an arena Andrea Righi
2026-12-02 18:51   ` sashiko-bot
2026-12-02 18:23 ` [PATCH 3/5] bpf: Let kernel code import " Andrea Righi
2026-12-02 18:41   ` sashiko-bot
2026-12-03  4:25   ` Alexei Starovoitov
2026-12-03  6:55     ` Andrea Righi
2026-12-03  7:51       ` Konstantin Ryabitsev [this message]
2026-12-04  3:52       ` Alexei Starovoitov
2026-12-02 18:23 ` [PATCH 4/5] bpf: Allow importing device-dax " Andrea Righi
2026-12-02 18:23 ` [PATCH 5/5] selftests/bpf: Test importing " Andrea Righi
2026-12-02 18:42   ` sashiko-bot

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=20261203-eccentric-industrious-zebu-603cbc@toolbx \
    --to=konstantin@linuxfoundation.org \
    --cc=alexei.starovoitov@gmail.com \
    --cc=alison.schofield@intel.com \
    --cc=andrii@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=ast@kernel.org \
    --cc=balbirs@nvidia.com \
    --cc=bpf@vger.kernel.org \
    --cc=changwoo@igalia.com \
    --cc=daniel@iogearbox.net \
    --cc=dave.jiang@intel.com \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=himadrics@protonmail.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=jack@suse.cz \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=joshdon@google.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltrager@nvidia.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=nvdimm@lists.linux.dev \
    --cc=royfru44@gmail.com \
    --cc=sched-ext@lists.linux.dev \
    --cc=skolothumtho@nvidia.com \
    --cc=song@kernel.org \
    --cc=tj@kernel.org \
    --cc=vineethrp@google.com \
    --cc=vishal.l.verma@intel.com \
    --cc=void@manifault.com \
    --cc=willy@infradead.org \
    --cc=yepeilin@google.com \
    --cc=yonghong.song@linux.dev \
    --cc=zhiw@nvidia.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.