From: Suvayu Ali Date: Thu, 5 Feb 2015 07:51:39 +0000 (+0100) Subject: Re: Unable to search for emails with content with a given MIME type X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b65ab65609ea737138203d1b83fbe5179c859125;p=notmuch-archives.git Re: Unable to search for emails with content with a given MIME type --- diff --git a/8e/a40f32705b41fec150e07ed22f355332a38c1b b/8e/a40f32705b41fec150e07ed22f355332a38c1b new file mode 100644 index 000000000..6fd0c0ccd --- /dev/null +++ b/8e/a40f32705b41fec150e07ed22f355332a38c1b @@ -0,0 +1,102 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 07D40431FC7 + for ; Wed, 4 Feb 2015 23:51:50 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.639 +X-Spam-Level: * +X-Spam-Status: No, score=1.639 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + DNS_FROM_AHBL_RHSBL=2.438, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] 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 2lrSO9hYxRrO for ; + Wed, 4 Feb 2015 23:51:46 -0800 (PST) +Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com + [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9A719431FBC + for ; Wed, 4 Feb 2015 23:51:46 -0800 (PST) +Received: by mail-wi0-f175.google.com with SMTP id fb4so36930861wid.2 + for ; Wed, 04 Feb 2015 23:51:43 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:date:from:to:cc:subject:message-id:mail-followup-to + :references:mime-version:content-type:content-disposition + :in-reply-to:user-agent; + bh=zScsYLUhuLC0UEiRF6RAvtswkv76TCvd62wIH1YM6Fo=; + b=faUYloqb5fbu11ZeLFKHAFR2Z+te/YuOmrk5dQuW0i37v8zfWQ0IGfTfXqR1Cf3GP3 + Tq1KBzTXNi1vpEDn+sZ8IpGutBAi7ey8JMjoZVkEgdYCqrohVOfBSa/KOi5es52M+oom + LNQVuECd3yUMGXV/BTap3bsedz9DPgLdSI8p5oOsDcgaVwlAsefSnQD8h4gyuwU49E9G + 8lCVLy3xIjZOkhCsCBfHC32tz/5ObDDC0iQUND6HP8PNYftoS3t/++lIYEt87lqXhNXv + iAny6aFGD1/EbUQvuH4sX30hvmpEIduvYO5m911QrB/ZVtAlhxDXFnATd6idoj9re8U5 + yORQ== +X-Received: by 10.194.20.67 with SMTP id l3mr4938833wje.94.1423122703273; + Wed, 04 Feb 2015 23:51:43 -0800 (PST) +Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) + by mx.google.com with ESMTPSA id vh8sm6129955wjc.12.2015.02.04.23.51.41 + (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); + Wed, 04 Feb 2015 23:51:42 -0800 (PST) +Sender: Suvayu Ali +Date: Thu, 5 Feb 2015 08:51:39 +0100 +From: Suvayu Ali +To: David Bremner +Subject: Re: Unable to search for emails with content with a given MIME type +Message-ID: <20150205075139.GC18466@chitra.no-ip.org> +Mail-Followup-To: David Bremner , + notmuch@notmuchmail.org +References: <2fl1tyos3ex.fsf@diskless.uio.no> + <877fw7r7d0.fsf@electricoding.com> + <20150204205340.GB18466@chitra.no-ip.org> + <87fvaltmdy.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87fvaltmdy.fsf@maritornes.cs.unb.ca> +User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) +Cc: notmuch@notmuchmail.org +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: Thu, 05 Feb 2015 07:51:50 -0000 + +Hi David, + +On Wed, Feb 04, 2015 at 10:08:57PM +0100, David Bremner wrote: +> Suvayu Ali writes: +> +> > Hi, +> > +> > On Tue, Jan 27, 2015 at 08:01:31PM -0600, Todd wrote: +> >> +> >> The feature you wanted was committed a few days ago (searching with a +> >> "mimetype:" prefix). Searching for "mimetype:calendar" would get any +> >> "text/calendar" or "ics/calendar" attachments. +> > +> > I am using notmuch from HEAD, but I do not get any results with +> > mimetype:. Is this only available for new emails? If so, how do +> > I enable, searching with mimetype: for old emails? +> > +> +> You'll have to dump your tags, re-index, and restore your tags. + +I thought that might be needed. It worked very nicely :). + +Cheers, + +-- +Suvayu + +Open source is the future. It sets us free.