--- /dev/null
+Return-Path: <joyfulgirl@archlinux.us>\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 D63C0431FD0\r
+ for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 09:50:33 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.69\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.69 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] 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 JhtAhVvBpThI for <notmuch@notmuchmail.org>;\r
+ Sun, 23 Oct 2011 09:50:33 -0700 (PDT)\r
+Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com\r
+ [209.85.216.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 72D9C431FB6\r
+ for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 09:50:33 -0700 (PDT)\r
+Received: by qadc1 with SMTP id c1so5025093qad.26\r
+ for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 09:50:32 -0700 (PDT)\r
+Received: by 10.229.99.67 with SMTP id t3mr4258291qcn.207.1319388632239;\r
+ Sun, 23 Oct 2011 09:50:32 -0700 (PDT)\r
+Received: from localhost (209-6-79-248.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com.\r
+ [209.6.79.248])\r
+ by mx.google.com with ESMTPS id du8sm23833507qab.11.2011.10.23.09.50.31\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Sun, 23 Oct 2011 09:50:31 -0700 (PDT)\r
+From: Ivy Foster <joyfulgirl@archlinux.us>\r
+To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: search for date received possible?\r
+In-Reply-To: <20111023145329.GB21842@shi.workgroup>\r
+References: <20111023145329.GB21842@shi.workgroup>\r
+User-Agent: Notmuch/0.9-6-g8bb5b62 (http://notmuchmail.org) Emacs/23.3.1\r
+ (i686-pc-linux-gnu)\r
+Date: Sun, 23 Oct 2011 12:47:41 -0400\r
+Message-ID: <87vcrfvemq.fsf@nausicaa.localdomain>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha1; protocol="application/pgp-signature"\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 16:50:34 -0000\r
+\r
+--=-=-=\r
+\r
+On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler <telegraph@gmx.net> wrote:\r
+> Hi notmuch users, notmuch developers,\r
+\r
+Howdy,\r
+\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
+Hope that works out for you.\r
+\r
+Ivy\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk6kRS0ACgkQFCESW0OqVDfl3gCfXcwdNWoeTWUE3Scus0qC3tWL\r
+QD0AniMMtats1X/ntxn3QlDt/qAJ2Mx0\r
+=9ncq\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r