Bug: does not handle resent messages
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
As per RFC 2822, an original message can be resent to the same mailing list.
This message must have the following headers prefixed to it:
Resent-From:
Resent-Date:
It should also have the following:
Resent-Message-ID:
It may have other headers added (see the RFC)
At present, these headers are not used.
Since the rest of the resent message is the same, failure to take account of the headers may mean that the original and new message are given the same database id; i.e. only one of them will be stored.
If the Resent-Message-ID: is present, that should perhaps be used instead of the original message-id when generating the database id. However the orginal M-Id needs to be kept for searches.
There is at least one example in the ASF archives, see: INFRA-15174
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing RFC 2822 and the ASF example referenced as INFRA-15174, then trace the message-header parsing and database-ID generation paths. Determine how resent headers are currently handled; done means resent messages receive distinct stored IDs while the original Message-ID remains available for searches, with the behavior covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100