search for date received possible?

Ivy Foster joyfulgirl at archlinux.us
Sun Oct 23 09:47:41 PDT 2011


On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111023/ea8714b3/attachment.pgp>


More information about the notmuch mailing list