From: Todd Date: Wed, 28 Jan 2015 02:01:31 +0000 (+1800) 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=6b19d945032618d38e204325740e017d9b50c984;p=notmuch-archives.git Re: Unable to search for emails with content with a given MIME type --- diff --git a/16/dfb5fc283f2d13280b742fc7e44f35d1a6b4e5 b/16/dfb5fc283f2d13280b742fc7e44f35d1a6b4e5 new file mode 100644 index 000000000..c6a98ec6b --- /dev/null +++ b/16/dfb5fc283f2d13280b742fc7e44f35d1a6b4e5 @@ -0,0 +1,130 @@ +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 BCCA5431FC9 + for ; Tue, 27 Jan 2015 18:02:22 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 OQCeYvlskFSO for ; + Tue, 27 Jan 2015 18:02:18 -0800 (PST) +Received: from s75.web-hosting.com (s75.web-hosting.com [198.187.31.9]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 340EC431FAF + for ; Tue, 27 Jan 2015 18:02:18 -0800 (PST) +Received: from user-69-73-37-128.knology.net ([69.73.37.128]:51810 + helo=tz-lab) by server75.web-hosting.com with esmtpsa + (UNKNOWN:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from + ) id 1YGHxQ-0034PU-TK; Tue, 27 Jan 2015 21:02:17 + -0500 +From: Todd +To: Petter Reinholdtsen , notmuch@notmuchmail.org +Subject: Re: Unable to search for emails with content with a given MIME type +In-Reply-To: <2fl1tyos3ex.fsf@diskless.uio.no> +References: <2fl1tyos3ex.fsf@diskless.uio.no> +User-Agent: Notmuch/0.19+38~g8fb1cbc (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-unknown-linux-gnu) +Date: Tue, 27 Jan 2015 20:01:31 -0600 +Message-ID: <877fw7r7d0.fsf@electricoding.com> +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="=-=-=" +X-AntiAbuse: This header was added to track abuse, + please include it with any abuse report +X-AntiAbuse: Primary Hostname - server75.web-hosting.com +X-AntiAbuse: Original Domain - notmuchmail.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - electricoding.com +X-Get-Message-Sender-Via: server75.web-hosting.com: authenticated_id: + todd@electricoding.com +X-Source: +X-Source-Args: +X-Source-Dir: +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: Wed, 28 Jan 2015 02:02:23 -0000 + +--=-=-= +Content-Type: text/plain + + +Petter, + +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. + +(Replying to the list so it will appear in the list archive as well.) + +Thanks, +Todd + + +--=-=-= +Content-Type: multipart/signed; boundary="==-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" + +--==-=-= +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + +Petter Reinholdtsen writes: + +> Not quite sure where to send a feature request, so I try to follow the +> instructions for bug reporst. +> +> I would like to be able to search for emails with content with a given +> MIME type. The latest use case I ran into was my need to locate Notes +> and Exchange emails with text/calendar attachments, but I've also needed +> to find application/pdf and application/vnd.oasis.opendocument.text +> emails. +> +> Please consider extending notmuch to be able to search for specific mime +> types, for example using attachment:text/calendar or mime:text/calendar +> or something like that. Or perhaps just index up the mime content type +> value, to allow me to search for "tag:attachment and text/calendar". +> +> PS: Please CC me on replies, as I am not subscribed to the list. +> --=20 +> Happy hacking +> Petter Reinholdtsen + +--==-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBAgAGBQJUyEL9AAoJEEc0ULlfRYDua7cP/in200dICGec9k3EUhtaiq8Y +LqjU1nPmvZSy07X1KAw4plRrRfJQITKXbGh1q+/Dv+z6itux3qt+cdMJe1lqW7mQ ++tKFvSx+GT2YDudKqA+Wy3X/4jPyNHdmujMtQYodbKTZ5C15HchMmLFMSynuCYhZ +OacJTkbyMOh70PfdCe2IM+xlXTGJnrRtlNm6V1vGLgtjfpCnJQNc6RFMw2muqSpf +N9WPMC28wAJFnycSMwqTtkGvSGgVlpKLZLdcbtVpHoY2JRDhpoNUNdsQh02+btm2 +9am/wCori33WPfYjpCjn6nN5TdErmnbzUJAZ2GjwjEu9oo2STbasIFre8jJiYKmQ +SW45zNknS1aa6QLu44lcv9l08B3X3Q4jVhmOQlO6K3c2ShyXEzsl/h7qdPEq+Gpj +f0S5UWYoelGn50DQ1B3EF4SRUKKy8sLPEyHfUJhZr3AHtdCHf48bef2pZiCULgw8 +8dolc4GmatDF8WXVGmQ7VWrxIY9AczT4a0HmnChs/zRk/Hv8Quau7gqesI2BTH7t +YyHq8ufWZG0WHApwvr3wgYwjRrcg76Dq1dWoRMBlvv8tQ+cb+91bd91oZczIKwzp +ubuQyVIGYMDuwry6UrXBuzYfKEpMuBJl1HCHINcSBI5oiSdFzq/ow2rwK6X7eEj8 +mg/Iv4MBknlNb0pnXrye +=wS3h +-----END PGP SIGNATURE----- +--==-=-=-- + +--=-=-=--