Re: Unable to search for emails with content with a given MIME type
authorTodd <todd@electricoding.com>
Wed, 28 Jan 2015 02:01:31 +0000 (20:01 +1800)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:51 +0000 (14:47 -0700)
16/dfb5fc283f2d13280b742fc7e44f35d1a6b4e5 [new file with mode: 0644]

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