notmuch clon
Find a file
Carl Worth 653ff260f5 [sup-compat] Don't index mime parts with content-disposition of attachment
Here's another change which I'm making for sup compatibility against
my better judgment. It seems that sup never indexes content from
mime parts with content-disposition of attachment. But these
attachments are often very indexable, (for example, the first one
I encountered was a small shell script).

So I'll have to think a bit about whether or not I want to revert
this commit. To do this properly we would really want to distinguish
between attachments that are indexable, (such as text), and those
that aren't, (such as binaries). I know the mime-type alone isn't
alwas sufficient here as even this little plaintext shell script
was attached as octet-stream.

And if we wanted to get really fancy we could run things like antiword
to generate text from non-text attachments and index their output.
2009-10-14 16:20:45 -07:00
.gitignore Rename g_mime_test to notmuch-index-message 2009-10-13 13:31:17 -07:00
Makefile Rename g_mime_test to notmuch-index-message 2009-10-13 13:31:17 -07:00
notmuch-index-message.cc [sup-compat] Don't index mime parts with content-disposition of attachment 2009-10-14 16:20:45 -07:00
xapian-dump.cc xapian-dump: Add a little mor indentation 2009-10-13 13:21:47 -07:00