Skip to content

Stop sending email on behalf of users - #126

Merged
JelteF merged 5 commits into
mainfrom
link-to-archives-resend
Oct 25, 2026
Merged

JelteF merged 5 commits into
mainfrom
link-to-archives-resend

Conversation

@JelteF

@JelteF JelteF commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Comments and reviews posted through the commitfest app were sent to the mailinglist with the user's own address as both the From header and the envelope sender. Our mail servers can't pass SPF or DKIM for the user's domain, so these emails bounced or ended up in spam for any domain with a strict DMARC policy, without the user ever finding out. This also caused a steady stream of delivery errors for pginfra.

This removes the Comment/Review form entirely. Instead a new Review button on the patch page opens a small dialog that links to the latest message of each thread in the archives, and explains how to use "Resend email" there to get a copy you can reply to from your own email client. The help page explains the same.

The bulk emails that CF managers can send to authors and reviewers had the same problem. These are now sent from NOTIFICATION_FROM, with the manager's name in the display name and their address in Reply-To, so replies still go to them.

Fixes #37

Comments and reviews posted through the commitfest app were sent to the
mailinglist with the user's own address as both the `From` header and the
envelope sender. Our mail servers can't pass SPF or DKIM for the user's
domain, so these emails bounced or ended up in spam for any domain with a
strict DMARC policy, without the user ever finding out. This also caused
a steady stream of delivery errors for pginfra.

Instead of sending the email ourselves, the Comment and Review pages now
link to the latest message of each thread in the archives, and explain
how to use its "Resend email" button to get a copy of the message in
your own inbox, so you can reply from your own email client. The review
page also shows the usual review checklist, so people can still include
it in their reply.

The bulk emails that CF managers can send to authors and reviewers had
the same problem. These are now sent from `NOTIFICATION_FROM`, with the
manager's name in the display name and their address in `Reply-To`, so
replies still go to them.

Fixes #37
The separate page explaining how to reply through the archives was more
verbose than needed. Now the Comment/Review dropdown and its route are
removed, and each thread on the patch page gets a "reply" link to its
latest message in the archives, with a tooltip explaining to use "Resend
email" there.
The "reply" link pointed to the exact same archives URL as the "Latest
at" link right before it, so it didn't add anything. The archives'
"Resend email" requires a POST from the archives page itself, so we
can't link to it directly either. Instead the help page now explains
how to reply to a patch thread that isn't in your inbox.
With the Comment/Review form gone, there was nothing on the patch page
anymore that tells people how to review a patch, which is mostly a
problem for newcomers that aren't subscribed to the mailinglist. The new
Review button opens a small dialog that links to the latest message of
each thread in the archives, and explains how to use "Resend email"
there to get a copy that you can reply to.
@JelteF
JelteF marked this pull request as ready for review October 25, 2026 17:16
@JelteF
JelteF merged commit 72bb129 into main Oct 25, 2026
2 checks passed
@JelteF
JelteF deleted the link-to-archives-resend branch October 25, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix email sending envelope sender and process

2 participants