message: fall-back to received for dateless

For the (rare) messages without a Date: header, attempt to guess a date
from the top (most-recent) Received: header. Not perfect, of course, but
better than nothing.

Requires re-indexing to apply to already indexed messages.

Should help for #1083.
This commit is contained in:
Dirk-Jan C. Binnema
2026-07-30 23:38:45 +03:00
committed by Seth Ladygo
parent 4a8b797665
commit 54786e2e97
5 changed files with 86 additions and 15 deletions

View File

@ -10,7 +10,12 @@
- significant speed-ups in the cleanup process after ~mu index~ (1.14.0)
- record the timezone-offset for message sent dates (1.14.3)
- Record the timezone-offset for message sent dates as part of the index
(1.14.3)
- for (rare) messages without a =Date:= header, fall-back to the date of the
most recent =Received:= header. Not perfect, but better than nothing.
Requires re-indexing to apply to older messages (1.14.3)
*** mu4e