Skip to content

fix: restore previous reply-to header handling behaviour - #14212

Merged
kesselb merged 1 commit into
nextcloud:mainfrom
vermeeren:13952-revert-replyto-header-regression-bug
Nov 18, 2026
Merged

kesselb merged 1 commit into
nextcloud:mainfrom
vermeeren:13952-revert-replyto-header-regression-bug

Conversation

@vermeeren

Copy link
Copy Markdown
Contributor

Commit 45766ae introduced logic to ignore the Reply-To field in case of a mailing list. This introduced a regression bug for services that set the Reply-To header for special service-specific handling of replies.

For example notifications mails from GitHub and GitLab send From a no-reply with a Reply-To unique to the item within the service that replies must be sent to in order to be processed.

It is also my opinion that the RFCs should be respected, in this case RFC 5322, where the intention is clear that Reply-To should take precedence over From. It is the responsibility of the service operator to use Reply-To approriately for the desired method of operation.

This reverts commit 45766ae.

Closes #13952.

@welcome

welcome Bot commented Nov 17, 2026

Copy link
Copy Markdown

Thanks for opening your first pull request in this repository! ✌️

@vermeeren

vermeeren commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Should be good to go considering it is a relatively simple logic revert. No AI/LLM used.

Side note: Seems like the bot does not remember my previous PR #8880 from 2023.

Edit: Added sign-off.

Thanks!

Commit 45766ae introduced logic to
ignore the Reply-To field in case of a mailing list. This introduced a
regression bug for services that set the Reply-To header for special
service-specific handling of replies.

For example notifications mails from GitHub and GitLab send From a
no-reply with a Reply-To unique to the item within the service that
replies must be sent to in order to be processed.

It is also my opinion that the RFCs should be respected, in this case
RFC 5322, where the intention is clear that Reply-To should take
precedence over From. It is the responsibility of the service operator
to use Reply-To approriately for the desired method of operation.

This reverts commit 45766ae.

Signed-off-by: Melvin Vermeeren <vermeeren@vermwa.re>
@vermeeren
vermeeren force-pushed the 13952-revert-replyto-header-regression-bug branch from 81702e1 to f26da86 Compare November 17, 2026 10:18
@odzhychko

Copy link
Copy Markdown
Contributor

/backport to stable5.13

@ChristophWurst

This comment was marked as resolved.

@kesselb
kesselb merged commit 93cdfef into nextcloud:main Nov 18, 2026
34 checks passed
madbob pushed a commit to madbob/nextcloud-mail that referenced this pull request Nov 19, 2026
The Greek forward prefix was uppercase and never matched the lowercased
subject, the Arabic reply prefix was in the forward list, and the
full-width colon used by CJK clients was not handled, so replies and
forwards got a duplicate prefix.

Detecting mailing lists by List-Id is left out: nextcloud#14212 removes the
mailing-list special case for Reply-To.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Grigory V <scratchx@gmx.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: Reply-To header being ignored for mailing lists breaks replying to GitLab and GitHub emails

5 participants