mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
6a9626a2fd
There are some situations where the user wants to get rid of the cleartext index of a message. For example, if they're indexing encrypted messages normally, but suddenly they run across a message that they really don't want any trace of in their index. In that case, the natural thing to do is: notmuch reindex --decrypt=false id:whatever@example.biz But of course, clearing the cleartext index without clearing the stashed session key is just silly. So we do the expected thing and also destroy any stashed session keys while we're destroying the index of the cleartext. Note that stashed session keys are stored in the xapian database, but xapian does not currently allow safe deletion (see https://trac.xapian.org/ticket/742). As a workaround, after removing session keys and cleartext material from the database, the user probably should do something like "notmuch compact" to try to purge whatever recoverable data is left in the xapian freelist. This problem really needs to be addressed within xapian, though, if we want it fixed right. |
||
---|---|---|
.. | ||
notmuch-address.rst | ||
notmuch-compact.rst | ||
notmuch-config.rst | ||
notmuch-count.rst | ||
notmuch-dump.rst | ||
notmuch-emacs-mua.rst | ||
notmuch-insert.rst | ||
notmuch-new.rst | ||
notmuch-reindex.rst | ||
notmuch-reply.rst | ||
notmuch-restore.rst | ||
notmuch-search.rst | ||
notmuch-show.rst | ||
notmuch-tag.rst | ||
notmuch.rst |