1NOTMUCH-NEW(1)                      notmuch                     NOTMUCH-NEW(1)
2
3
4

NAME

6       notmuch-new - incorporate new mail into the notmuch database
7

SYNOPSIS

9       notmuch new [options]
10

DESCRIPTION

12       Find and import any new messages to the database.
13
14       The  new  command scans all sub-directories of the database, performing
15       full-text indexing on new messages that are  found.  Each  new  message
16       will automatically be tagged with both the inbox and unread tags.
17
18       You  should  run  notmuch new once after first running notmuch setup to
19       create the initial database. The first run may take a long time if  you
20       have a significant amount of mail (several hundred thousand messages or
21       more). Subsequently, you should run notmuch new whenever  new  mail  is
22       delivered and you wish to incorporate it into the database.  These sub‐
23       sequent runs will be much quicker than the initial run.
24
25       Invoking notmuch with no command argument will run new if notmuch setup
26       has  previously been completed, but notmuch new has not previously been
27       run.
28
29       notmuch new updates tags according  to  maildir  flag  changes  if  the
30       maildir.synchronize_flags  configuration  option  is  enabled. See not‐
31       much-config(1) for details.
32
33       The new command supports hooks. See notmuch-hooks(5) for  more  details
34       on hooks.
35
36       Supported options for new include
37
38       --no-hooks
39              Prevents hooks from being run.
40
41       --quiet
42              Do not print progress or results.
43
44       --verbose
45              Print  file  names  being  processed. Ignored when combined with
46              --quiet.
47
48       --decrypt=(true|nostash|auto|false)
49              If true, when encountering an encrypted message, try to  decrypt
50              it  while  indexing,  and stash any discovered session keys.  If
51              auto, try to use any session key already known to belong to this
52              message,  but  do not attempt to use the user's secret keys.  If
53              decryption is successful, index the cleartext of the message.
54
55              Be aware that the index is likely sufficient  (and  the  session
56              key is certainly sufficient) to reconstruct the cleartext of the
57              message itself, so please ensure that the notmuch message  index
58              is   adequately   protected.    DO  NOT  USE  --decrypt=true  or
59              --decrypt=nostash  without  considering  the  security  of  your
60              index.
61
62              See also index.decrypt in notmuch-config(1).
63
64       --full-scan
65              By   default   notmuch-new  uses  directory  modification  times
66              (mtimes) to optimize the scanning of directories for  new  mail.
67              This option turns that optimization off.
68

EXIT STATUS

70       This command supports the following special exit status code
71
72       75 (EX_TEMPFAIL)
73              A temporary failure occurred; the user is invited to retry.
74

SEE ALSO

76       notmuch(1),  notmuch-config(1), notmuch-count(1), notmuch-dump(1), not‐
77       much-hooks(5), notmuch-insert(1), notmuch-reply(1), notmuch-restore(1),
78       notmuch-search(1),   notmuch-search-terms(7),   notmuch-show(1),   not‐
79       much-tag(1)
80

AUTHOR

82       Carl Worth and many others
83
85       2009-2020, Carl Worth and many others
86
87
88
89
900.31.3                           Dec 25, 2020                   NOTMUCH-NEW(1)
Impressum