]> git.notmuchmail.org Git - notmuch-wiki/blobdiff - manpages/notmuch-new-1.mdwn
news for release 0.28.2
[notmuch-wiki] / manpages / notmuch-new-1.mdwn
index dfa370cd855d9e8ac6dc4d7e0ce88de203ac66b5..51d567492a0f742f9ad65589c826f4630c6fee9b 100644 (file)
        create the initial database. The first run may take a long time if  you
        have a significant amount of mail (several hundred thousand messages or
        more). Subsequently, you should run <b>notmuch</b> <b>new</b> whenever  new  mail  is
        create the initial database. The first run may take a long time if  you
        have a significant amount of mail (several hundred thousand messages or
        more). Subsequently, you should run <b>notmuch</b> <b>new</b> whenever  new  mail  is
-       delivered and you wish to incorporate it into the database.  These sub-
+       delivered and you wish to incorporate it into the database.  These sub
        sequent runs will be much quicker than the initial run.
 
        sequent runs will be much quicker than the initial run.
 
-       Invoking notmuch with no command argument will run <b>new</b> if <b>notmuch</b> <b>setup</b>
+       Invoking <b>notmuch</b> with no command argument will run <b>new</b> if <b>notmuch</b> <b>setup</b>
        has  previously been completed, but <b>notmuch</b> <b>new</b> has not previously been
        run.
 
        <b>notmuch</b> <b>new</b> updates tags according  to  maildir  flag  changes  if  the
        has  previously been completed, but <b>notmuch</b> <b>new</b> has not previously been
        run.
 
        <b>notmuch</b> <b>new</b> updates tags according  to  maildir  flag  changes  if  the
-       <b>maildir.synchronize</b>_<b>flags</b>  configuration  option  is  enabled. See <a href='../notmuch-config-1/'>not-</a>
+       <b>maildir.synchronize</b>_<b>flags</b>  configuration  option  is  enabled. See <a href='../notmuch-config-1/'>not</a>
        <a href='../notmuch-config-1/'>much-config</a>(1) for details.
 
        The <b>new</b> command supports hooks. See <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5) for  more  details
        <a href='../notmuch-config-1/'>much-config</a>(1) for details.
 
        The <b>new</b> command supports hooks. See <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5) for  more  details
 
        Supported options for <b>new</b> include
 
 
        Supported options for <b>new</b> include
 
-           <b>--no-hooks</b>
+       <b>--no-hooks</b>
+              Prevents hooks from being run.
 
 
-                  Prevents hooks from being run.
+       <b>--quiet</b>
+              Do not print progress or results.
 
 
-           <b>--quiet</b>
+       <b>--decrypt=(true|nostash|auto|false)</b>
+              If  <b>true</b>, when encountering an encrypted message, try to decrypt
+              it while indexing, and stash any discovered  session  keys.   If
+              <b>auto</b>, try to use any session key already known to belong to this
+              message, but do not attempt to use the user&apos;s secret  keys.   If
+              decryption is successful, index the cleartext of the message.
 
 
-                  Do not print progress or results.
+              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   <b>--decrypt=true</b>   or
+              <b>--decrypt=nostash</b>  without  considering  the  security  of  your
+              index.
+
+              See also <b>index.decrypt</b> in <a href='../notmuch-config-1/'>notmuch-config</a>(1).
+
+       <b>--full-scan</b>
+              By  default  notmuch-new  uses  directory   modification   times
+              (mtimes)  to  optimize the scanning of directories for new mail.
+              This option turns that optimization off.
+</pre>
+
+<h2>EXIT STATUS</h2>
+<pre>
+       This command supports the following special exit status code
+
+       <b>75</b> <b>(EX</b>_<b>TEMPFAIL)</b>
+              A temporary failure occurred; the user is invited to retry.
 </pre>
 
 <h2>SEE ALSO</h2>
 <pre>
 </pre>
 
 <h2>SEE ALSO</h2>
 <pre>
-       <a href='../notmuch-1/'>notmuch</a>(1),  <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-hooks-5/'>not-</a>
+       <a href='../notmuch-1/'>notmuch</a>(1), <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1),  <a href='../notmuch-hooks-5/'>not‐</a>
        <a href='../notmuch-hooks-5/'>much-hooks</a>(5), <a href='../notmuch-insert-1/'>notmuch-insert</a>(1), <a href='../notmuch-reply-1/'>notmuch-reply</a>(1), <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
        <a href='../notmuch-hooks-5/'>much-hooks</a>(5), <a href='../notmuch-insert-1/'>notmuch-insert</a>(1), <a href='../notmuch-reply-1/'>notmuch-reply</a>(1), <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
-       <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),   <a href='../notmuch-tag-1/'>not-</a>
+       <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),   <a href='../notmuch-tag-1/'>not</a>
        <a href='../notmuch-tag-1/'>much-tag</a>(1)
 </pre>
 
        <a href='../notmuch-tag-1/'>much-tag</a>(1)
 </pre>
 
@@ -62,7 +89,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2014, Carl Worth and many others
+       2009-2018, Carl Worth and many others
 </pre>
 
 </pre>
 
-<h2>0.18</h2>
+<h2>0.28</h2>