Re: [PATCH 3/4] config: only set search.exclude_tags to "deleted; spam; " during...
[notmuch-archives.git] / a3 / 4f33685d01cf0681c303884cb3496ac897c325
1 Return-Path: <error4me@gmx.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 94CCE431FD0\r
6         for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 14:43:02 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 3QdQckr8VSfb for <notmuch@notmuchmail.org>;\r
17         Sun, 23 Oct 2011 14:42:58 -0700 (PDT)\r
18 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])\r
19         by olra.theworths.org (Postfix) with SMTP id 2B8D5431FB6\r
20         for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 14:42:58 -0700 (PDT)\r
21 Received: (qmail invoked by alias); 23 Oct 2011 21:42:57 -0000\r
22 Received: from p54BE2C59.dip.t-dialin.net (EHLO shi.workgroup) [84.190.44.89]\r
23         by mail.gmx.net (mp011) with SMTP; 23 Oct 2011 23:42:57 +0200\r
24 X-Authenticated: #19296480\r
25 X-Provags-ID: V01U2FsdGVkX19W5O9jdDpWKNveiYzdYHyMLohipgmiNpojcDE3aw\r
26         QH6YMmLy4w+q2i\r
27 Received: from grfz by shi.workgroup with local (Exim 4.77)\r
28         (envelope-from <error4me@gmx.de>)\r
29         id 1RI5ok-000716-Ba; Sun, 23 Oct 2011 23:42:54 +0200\r
30 From: Gregor Zattler <telegraph@gmx.net>\r
31 To: Ivy Foster <joyfulgirl@archlinux.us>, Gregor Zattler <telegraph@gmx.net>,\r
32         notmuch <notmuch@notmuchmail.org>\r
33 Subject: Re: search for date received possible?\r
34 In-Reply-To: <87vcrfvemq.fsf@nausicaa.localdomain>\r
35 References: <20111023145329.GB21842@shi.workgroup>\r
36         <87vcrfvemq.fsf@nausicaa.localdomain>\r
37 User-Agent: Notmuch/0.9 (http://notmuchmail.org) Emacs/23.3.1\r
38         (i486-pc-linux-gnu)\r
39 Date: Sun, 23 Oct 2011 23:42:54 +0200\r
40 Message-ID: <87ehy35qqp.fsf@shi.workgroup>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-Y-GMX-Trusted: 0\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Sun, 23 Oct 2011 21:43:02 -0000\r
57 \r
58 Hi Ivy,\r
59 On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster <joyfulgirl@archlinux.us> wrote:\r
60 > On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph@gmx.net> wrote:\r
61 > > is it possible to limit searches to date received ranges\r
62 > > instead of date (sent) ranges?\r
63\r
64 > If your mail is delivered by procmail, I know you can insert\r
65 > arbitrary headers as part of the mail-processing stage,\r
66 > generally using formail. Such a recipe could look something\r
67 > like this:\r
68\r
69 >       NOW=$(date)\r
70 >       :0 fhw\r
71 >       | /usr/bin/formail -a "X-Date-Received: " $NOW\r
72 \r
73 Obviously I miss something here?  There are already Received:-Headers in\r
74 emails which contain the date when the mail was received.  How do I\r
75 search on arbitrary headers?  This is especially difficult since date\r
76 specifications are so complex.\r
77 \r
78 Ciao; gregor\r