Re: notmuch should search on date received

Subject:Re: notmuch should search on date received

Date:Tue, 5 May 2015 18:58:32 +0200



From:Gregor Zattler

Hi David,
* David Bremner <> [04. May. 2015]:
> Gregor Zattler <> writes:
>> I wished notmuch could search on (the top most) Received: -header
>> since not all emails have correct Date: -headers.
>> Rationale: Show all emails since yesterday\u2026  This is immensely
>> important for my work flow.
> These are two somewhat different requests. Being able to search on the
> Received headers would involve a usual kind of term search, but not date
> searching.

This way one could at least search for years but it would not be

> This might be problematic as a default because of the volume
> of received headers.  In order to use it for date search, it would need
> to be parsed for data information and either override the Date:-header
> or provide a second prefix like received-date.

This is what I wish for.  There are several Received: -headers,
the top most contains the actual moment when the email arrived on
the system.  I would like to search for date ranges of arrival.

> Or maybe a single
> message could have multiple date: prefixed terms, I'm not sure.

This I don\u2019t understand.

Ciao, Gregor
 -... --- .-. . -.. ..--.. ...-.-