Re: search for date received possible?

Subject: Re: search for date received possible?

Date: Sun, 23 Oct 2011 12:47:41 -0400

To: Gregor Zattler, notmuch

Cc:

From: Ivy Foster


On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph@gmx.net> wrote:
> Hi notmuch users, notmuch developers,

Howdy,

> is it possible to limit searches to date received ranges
> instead of date (sent) ranges?

If your mail is delivered by procmail, I know you can insert
arbitrary headers as part of the mail-processing stage,
generally using formail. Such a recipe could look something
like this:

      NOW=$(date)
      :0 fhw
      | /usr/bin/formail -a "X-Date-Received: " $NOW

Hope that works out for you.

Ivy
part-000.sig (application/pgp-signature)

Thread: