[PATCH] Ignore encrypted parts when indexing.
Xavier Maillard
xavier at maillard.im
Wed Dec 28 04:40:42 PST 2011
Hi Jameson,
On Tue, 27 Dec 2011 09:11:41 -0800, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> It appears to be an oversight that encrypted parts were indexed
> previously. The terms generated from encrypted parts are meaningless
> and do nothing but add bloat to the database. It is not worth
> indexing the encrypted content, just as it's not worth indexing the
> signatures in signed parts.
+1 for this.
But,
> + if (GMIME_IS_MULTIPART_ENCRYPTED (multipart)) {
> + /* Don't index encrypted parts. */
> + continue
This needs a semicolon, doesn't it ?
/Xavier
More information about the notmuch
mailing list