On Thu, Jan 29, 2026 at 10:04:57AM +0800, Kevin J. McCarthy wrote:
Yes, it currently requires the date-time at the end. And it stores the value in HEADER->received, which can be used for sorting and display in the index via %(). The original reverse scanner purpose was to address ticket 433 and the exampes therein.
What does the current code recognize as a return path? Why does it fail on #433's bizarre examples? (Two of them look like RFC 822 (which shouldn't be there at all), scrambled.)
I think you proposed to accept anything in the return path field -- whatever is between "From " and the date-time. I guess that's reasonably safe. I'd hate to accept a putative From_ line with nothing there, though, no return path field at all. That feels like a step too far, risky.
Reading mbox is kind of a black art. I suppose any change to it should get a lot of testing.
