From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D63C0431FD0 for ; Sun, 23 Oct 2011 09:50:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.69 X-Spam-Level: X-Spam-Status: No, score=-0.69 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JhtAhVvBpThI for ; Sun, 23 Oct 2011 09:50:33 -0700 (PDT) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 72D9C431FB6 for ; Sun, 23 Oct 2011 09:50:33 -0700 (PDT) Received: by qadc1 with SMTP id c1so5025093qad.26 for ; Sun, 23 Oct 2011 09:50:32 -0700 (PDT) Received: by 10.229.99.67 with SMTP id t3mr4258291qcn.207.1319388632239; Sun, 23 Oct 2011 09:50:32 -0700 (PDT) Received: from localhost (209-6-79-248.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com. [209.6.79.248]) by mx.google.com with ESMTPS id du8sm23833507qab.11.2011.10.23.09.50.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Oct 2011 09:50:31 -0700 (PDT) From: Ivy Foster To: Gregor Zattler , notmuch Subject: Re: search for date received possible? In-Reply-To: <20111023145329.GB21842@shi.workgroup> References: <20111023145329.GB21842@shi.workgroup> User-Agent: Notmuch/0.9-6-g8bb5b62 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Sun, 23 Oct 2011 12:47:41 -0400 Message-ID: <87vcrfvemq.fsf@nausicaa.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 16:50:34 -0000 --=-=-= On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6kRS0ACgkQFCESW0OqVDfl3gCfXcwdNWoeTWUE3Scus0qC3tWL QD0AniMMtats1X/ntxn3QlDt/qAJ2Mx0 =9ncq -----END PGP SIGNATURE----- --=-=-=--