notmuch/doc/man1
Daniel Kahn Gillmor f6430bc06d doc: Examples of notmuch-reindex use and crypto policy
Currently, notmuch has the levers needed to set coherent crypto policy
around how cleartext is indexed, which also has an impact on how
messages are rendered.  But we don't have a lot of documentation about
how to do sensible things.  This is an initial attempt to address
that.

The first example shows a way to selectively index specific messages.

The next two examples are about aligning the existing database with
crypto indexing policy

The default crypto policy is to not index cleartext, and to only
decrypt messages on display when explicitly requested.

The other sensible crypto policy is to index cleartext while stashing
session keys. messages indexed in this way will be searchable, and
will be decrypted on display automatically unless the user explicitly
asks for it to *not* be decrypted.

The policy for indexing *new* messages is stored in the database as
the config variable index.decrypt.

But setting policy for new messages doesn't retroactively affect
already indexed messages.

This patch attempts to document ways that someone can efficiently
align their pre-existing database with their new policy.

I'm not sure this is the right place to document these examples, but i
do want them to be user-facing and relatively easy to find.  I'm happy
to entertain suggestions for where else we should put them.
2018-03-24 20:08:27 -03:00
..
notmuch-address.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-compact.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-config.rst fix typos 2018-01-04 20:35:58 -04:00
notmuch-count.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-dump.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-emacs-mua.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-insert.rst cli/insert: add --world-readable flag 2018-03-24 20:08:11 -03:00
notmuch-new.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-reindex.rst doc: Examples of notmuch-reindex use and crypto policy 2018-03-24 20:08:27 -03:00
notmuch-reply.rst doc/{reply, show}: match indentation 2017-12-31 09:34:28 -04:00
notmuch-restore.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-search.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch-show.rst doc/{reply, show}: match indentation 2017-12-31 09:34:28 -04:00
notmuch-tag.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00
notmuch.rst doc: unify definition list usage across man pages 2017-12-31 09:06:11 -04:00