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 -------------- next part -------------- Petter Reinholdtsen <pere at hungry.com> 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. > -- > Happy hacking > Petter Reinholdtsen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150127/d9a572d8/attachment.pgp>