From: Carl Worth Date: Fri, 5 Feb 2010 01:08:11 +0000 (-0800) Subject: notmuch new: Don't index uuencoded data. X-Git-Tag: 0.1~117 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3767c6f9f9c4719f36569daa05cd56470b3fd00f;hp=3767c6f9f9c4719f36569daa05cd56470b3fd00f notmuch new: Don't index uuencoded data. With modern MIME attachments, we're already avoiding indexing the attachments. But for old-school uuencoded data in the mail, we have been directly indexing the encoded data as terms, (which is not useful at all---nobody will ever ytry to search based on the seemingly random uuencoded data). Additionally, indexing a modestly large uuencoded file seems to make Xapian go insane, (consuming *lots* of memory). We fix both problems by detecting uuencoded content and not performing any indexing of it. ---