X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=doc%2Fman1%2Fnotmuch-new.rst;h=3ddd4621a3806c87bc2d54f2391033a6aeb04c92;hp=d11fceed98482d574a298d6cf169da19e93f78ce;hb=fccebbaeef1e4b6489425afb13f419543d53d285;hpb=d736260385a689b5c77d8121f48e29440e3adfa4 diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index d11fceed..3ddd4621 100644 --- a/doc/man1/notmuch-new.rst +++ b/doc/man1/notmuch-new.rst @@ -5,7 +5,7 @@ notmuch-new SYNOPSIS ======== -**notmuch** **new** [--no-hooks] +**notmuch** **new** [options] DESCRIPTION =========== @@ -43,10 +43,44 @@ Supported options for **new** include ``--quiet`` Do not print progress or results. + ``--decrypt=(true|nostash|auto|false)`` + + If ``true``, when encountering an encrypted message, try to + decrypt it while indexing, and stash any discovered session + keys. If ``auto``, try to use any session key already known + to belong to this message, but do not attempt to use the + user's secret keys. If decryption is successful, index the + cleartext of the message. + + Be aware that the index is likely sufficient (and the session + key is certainly sufficient) to reconstruct the cleartext of + the message itself, so please ensure that the notmuch message + index is adequately protected. DO NOT USE ``--decrypt=true`` + or ``--decrypt=nostash`` without considering the security of + your index. + + See also ``index.decrypt`` in **notmuch-config(1)**. + +EXIT STATUS +=========== + +This command supports the following special exit status code + +``75 (EX_TEMPFAIL)`` + A temporary failure occurred; the user is invited to retry. + SEE ALSO ======== -**notmuch(1)**, **notmuch-config(1)**, **notmuch-count(1)**, -**notmuch-dump(1)**, **notmuch-hooks(5)**, **notmuch-insert(1)**, -**notmuch-reply(1)**, **notmuch-restore(1)**, **notmuch-search(1)**, -**notmuch-search-terms(7)**, **notmuch-show(1)**, **notmuch-tag(1)** +**notmuch(1)**, +**notmuch-config(1)**, +**notmuch-count(1)**, +**notmuch-dump(1)**, +**notmuch-hooks(5)**, +**notmuch-insert(1)**, +**notmuch-reply(1)**, +**notmuch-restore(1)**, +**notmuch-search(1)**, +**notmuch-search-terms(7)**, +**notmuch-show(1)**, +**notmuch-tag(1)**