Re: search for date received possible?
authorGregor Zattler <telegraph@gmx.net>
Sun, 23 Oct 2011 21:42:54 +0000 (23:42 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:44 +0000 (09:39 -0800)
a3/4f33685d01cf0681c303884cb3496ac897c325 [new file with mode: 0644]

diff --git a/a3/4f33685d01cf0681c303884cb3496ac897c325 b/a3/4f33685d01cf0681c303884cb3496ac897c325
new file mode 100644 (file)
index 0000000..9b75571
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <error4me@gmx.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 94CCE431FD0\r
+       for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 14:43:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3QdQckr8VSfb for <notmuch@notmuchmail.org>;\r
+       Sun, 23 Oct 2011 14:42:58 -0700 (PDT)\r
+Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])\r
+       by olra.theworths.org (Postfix) with SMTP id 2B8D5431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 14:42:58 -0700 (PDT)\r
+Received: (qmail invoked by alias); 23 Oct 2011 21:42:57 -0000\r
+Received: from p54BE2C59.dip.t-dialin.net (EHLO shi.workgroup) [84.190.44.89]\r
+       by mail.gmx.net (mp011) with SMTP; 23 Oct 2011 23:42:57 +0200\r
+X-Authenticated: #19296480\r
+X-Provags-ID: V01U2FsdGVkX19W5O9jdDpWKNveiYzdYHyMLohipgmiNpojcDE3aw\r
+       QH6YMmLy4w+q2i\r
+Received: from grfz by shi.workgroup with local (Exim 4.77)\r
+       (envelope-from <error4me@gmx.de>)\r
+       id 1RI5ok-000716-Ba; Sun, 23 Oct 2011 23:42:54 +0200\r
+From: Gregor Zattler <telegraph@gmx.net>\r
+To: Ivy Foster <joyfulgirl@archlinux.us>, Gregor Zattler <telegraph@gmx.net>,\r
+       notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: search for date received possible?\r
+In-Reply-To: <87vcrfvemq.fsf@nausicaa.localdomain>\r
+References: <20111023145329.GB21842@shi.workgroup>\r
+       <87vcrfvemq.fsf@nausicaa.localdomain>\r
+User-Agent: Notmuch/0.9 (http://notmuchmail.org) Emacs/23.3.1\r
+       (i486-pc-linux-gnu)\r
+Date: Sun, 23 Oct 2011 23:42:54 +0200\r
+Message-ID: <87ehy35qqp.fsf@shi.workgroup>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Y-GMX-Trusted: 0\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 23 Oct 2011 21:43:02 -0000\r
+\r
+Hi Ivy,\r
+On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster <joyfulgirl@archlinux.us> wrote:\r
+> On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph@gmx.net> wrote:\r
+> > is it possible to limit searches to date received ranges\r
+> > instead of date (sent) ranges?\r
+> \r
+> If your mail is delivered by procmail, I know you can insert\r
+> arbitrary headers as part of the mail-processing stage,\r
+> generally using formail. Such a recipe could look something\r
+> like this:\r
+> \r
+>       NOW=$(date)\r
+>       :0 fhw\r
+>       | /usr/bin/formail -a "X-Date-Received: " $NOW\r
+\r
+Obviously I miss something here?  There are already Received:-Headers in\r
+emails which contain the date when the mail was received.  How do I\r
+search on arbitrary headers?  This is especially difficult since date\r
+specifications are so complex.\r
+\r
+Ciao; gregor\r