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

Hi Ivy,
On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster <joyfulgirl@archlinux.us> wrote:
> On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph@gmx.net> wrote:
> > 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

Obviously I miss something here?  There are already Received:-Headers in
emails which contain the date when the mail was received.  How do I
search on arbitrary headers?  This is especially difficult since date
specifications are so complex.

Ciao; gregor

  reply	other threads:[~2011-10-23 21:43 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
2011-10-23 21:42   ` Gregor Zattler [this message]
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=87ehy35qqp.fsf@shi.workgroup \
    --to=telegraph@gmx.net \
    --cc=joyfulgirl@archlinux.us \
    --cc=notmuch@notmuchmail.org \
    /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).