From: Petter Reinholdtsen Date: Thu, 27 Feb 2014 20:31:50 +0000 (+0100) Subject: Unable to search for emails with content with a given MIME type X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ccd83241749c9172a211d376c9b2ee2bf009acd;p=notmuch-archives.git Unable to search for emails with content with a given MIME type --- diff --git a/c1/c5d07838933534eac7c74b67fe82fc8a1965ad b/c1/c5d07838933534eac7c74b67fe82fc8a1965ad new file mode 100644 index 000000000..7580ff51f --- /dev/null +++ b/c1/c5d07838933534eac7c74b67fe82fc8a1965ad @@ -0,0 +1,87 @@ +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 1BFAD431FAF + for ; Thu, 27 Feb 2014 12:46:19 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 B3fVYdGeFPYm for ; + Thu, 27 Feb 2014 12:46:13 -0800 (PST) +X-Greylist: delayed 860 seconds by postgrey-1.32 at olra; + Thu, 27 Feb 2014 12:46:13 PST +Received: from mail-out5.uio.no (mail-out5.uio.no [129.240.10.17]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1281C431FAE + for ; Thu, 27 Feb 2014 12:46:13 -0800 (PST) +Received: from mail-mx2.uio.no ([129.240.10.30]) + by mail-out5.uio.no with esmtp (Exim 4.80.1) + (envelope-from ) id 1WJ7cV-0001B0-Es + for notmuch@notmuchmail.org; Thu, 27 Feb 2014 21:31:51 +0100 +Received: from diskless.uio.no ([129.240.6.26]) + by mail-mx2.uio.no with esmtp (Exim 4.80) + (envelope-from ) + id 1WJ7cV-0002nz-30; Thu, 27 Feb 2014 21:31:51 +0100 +Received: from pre by diskless.uio.no with local (Exim 4.72) + (envelope-from ) + id 1WJ7cU-0005sw-60; Thu, 27 Feb 2014 21:31:50 +0100 +From: Petter Reinholdtsen +To: notmuch@notmuchmail.org +Subject: Unable to search for emails with content with a given MIME type +User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1 + (i486-pc-linux-gnu) +Date: Thu, 27 Feb 2014 21:31:50 +0100 +Message-ID: <2fl1tyos3ex.fsf@diskless.uio.no> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Sender: Petter Reinholdtsen +X-UiO-Ratelimit-Test: rcpts/h 7 msgs/h 2 sum rcpts/h 10 sum msgs/h 2 total + rcpts 11088 max rcpts/h 25 ratelimit 0 +X-UiO-Spam-info: not spam, SpamAssassin (score=-6.5, required=5.0, + autolearn=disabled, RP_MATCHES_RCVD=-1.498, + UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) +X-UiO-Scanned: C6845200E5EBCDB9F11AF5290313FF8332519F09 +X-UiO-SPAM-Test: remote_host: 129.240.6.26 spam_score: -64 maxlevel 80 + minaction 0 bait 0 mail/h: 2 total 2423 max/h 8 blacklist 0 + greylist 1 ratelimit 0 +X-UiOonly: A3E705B06FA86115CE4A80E78E8B6DC880292A8A +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, 27 Feb 2014 20:46:19 -0000 + + +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. +-- +Happy hacking +Petter Reinholdtsen