unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Ivy Foster <joyfulgirl@archlinux.us>
To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>
Subject: Re: search for date received possible?
Date: Sun, 23 Oct 2011 12:47:41 -0400	[thread overview]
Message-ID: <87vcrfvemq.fsf@nausicaa.localdomain> (raw)
In-Reply-To: <20111023145329.GB21842@shi.workgroup>

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2011-10-23 16:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-23 14:53 search for date received possible? Gregor Zattler
2011-10-23 16:47 ` Ivy Foster [this message]
2011-10-23 21:42   ` Gregor Zattler
2011-10-23 22:33     ` Ivy Foster
2011-10-24 11:53     ` Daniel Schoepe
2011-10-25 17:31       ` how do you do everyday mail catchup with notmuch? (was: Re: search for date received possible?) Gregor Zattler
2011-10-25 18:29         ` Thomas Jost
2011-10-25 18:51         ` Daniel Schoepe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcrfvemq.fsf@nausicaa.localdomain \
    --to=joyfulgirl@archlinux.us \
    --cc=notmuch@notmuchmail.org \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).