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

NAME

6       notmuch-reply - constructs a reply template for a set of messages
7

SYNOPSIS

9       notmuch reply [option ...] <search-term> ...
10

DESCRIPTION

12       Constructs a reply template for a set of messages.
13
14       To  make  replying to email easier, notmuch reply takes an existing set
15       of messages and constructs a suitable mail template. Its To: address is
16       set  according  to  the  original  email  in this way: if the Reply-to:
17       header is present and different from any To:/Cc: address  it  is  used,
18       otherwise  From: header is used. Unless --reply-to=sender is specified,
19       values from the To: and Cc: headers are copied, but not  including  any
20       of the current user's email addresses (as configured in primary_mail or
21       other_email in the .notmuch-config file) in the recipient list.
22
23       It also builds a suitable new subject, including Re: at the  front  (if
24       not  already present), and adding the message IDs of the messages being
25       replied to to the References list and setting  the  In-Reply-To:  field
26       correctly.
27
28       Finally,  the  original  contents of the emails are quoted by prefixing
29       each line with '> ' and included in the body.
30
31       The resulting message template is output to stdout.
32
33       Supported options for reply include
34
35       --format=(default|json|sexp|headers-only)
36
37              default
38                     Includes subject and quoted message body as an  RFC  2822
39                     message.
40
41              json   Produces  JSON output containing headers for a reply mes‐
42                     sage and the contents of the original message. This  out‐
43                     put  can  be  used  by a client to create a reply message
44                     intelligently.
45
46              sexp   Produces S-Expression output  containing  headers  for  a
47                     reply  message  and the contents of the original message.
48                     This output can be used by a client  to  create  a  reply
49                     message intelligently.
50
51              headers-only
52                     Only  produces  In-Reply-To,  References, To, Cc, and Bcc
53                     headers.
54
55       --format-version=N
56              Use the specified structured  output  format  version.  This  is
57              intended  for  programs  that  invoke  notmuch(1) internally. If
58              omitted, the latest supported version will be used.
59
60       --reply-to=(all|sender)
61
62              all (default)
63                     Replies to all addresses.
64
65              sender Replies only to the sender. If  replying  to  user's  own
66                     message  (Reply-to:  or From: header is one of the user's
67                     configured email addresses), try To:, Cc:, and Bcc: head‐
68                     ers  in  this  order, and copy values from the first that
69                     contains something other than only the user's addresses.
70
71       --decrypt=(false|auto|true)
72          If true, decrypt any MIME encrypted parts found in the selected con‐
73          tent  (i.e.,  "multipart/encrypted" parts). Status of the decryption
74          will be reported (currently only supported  with  --format=json  and
75          --format=sexp), and on successful decryption the multipart/encrypted
76          part will be replaced by the decrypted content.
77
78          If auto, and a session key is already known for the message, then it
79          will  be  decrypted,  but  notmuch will not try to access the user's
80          secret keys.
81
82          Use false to avoid even automatic decryption.
83
84          Non-automatic decryption expects a functioning gpg-agent(1) to  pro‐
85          vide any needed credentials. Without one, the decryption will likely
86          fail.
87
88          Default: auto
89
90       See notmuch-search-terms(7) for details of  the  supported  syntax  for
91       <search-terms>.
92
93       Note:  It  is  most  common  to  use notmuch reply with a search string
94       matching a single message, (such as id:<message-id>),  but  it  can  be
95       useful to reply to several messages at once. For example, when a series
96       of patches are sent in a single thread, replying to the  entire  thread
97       allows  for  the  reply to comment on issues found in multiple patches.
98       The default format supports replying to multiple messages at once,  but
99       the JSON and S-Expression formats do not.
100

EXIT STATUS

102       This command supports the following special exit status codes
103
104       20     The requested format version is too old.
105
106       21     The requested format version is too new.
107

SEE ALSO

109       notmuch(1),  notmuch-config(1), notmuch-count(1), notmuch-dump(1), not‐
110       much-hooks(5), notmuch-insert(1),  notmuch-new(1),  notmuch-restore(1),
111       notmuch-search(1),   notmuch-search-terms(7),   notmuch-show(1),   not‐
112       much-tag(1)
113

AUTHOR

115       Carl Worth and many others
116
118       2009-2019, Carl Worth and many others
119
120
121
122
1230.28.4                           May 06, 2019                 NOTMUCH-REPLY(1)
Impressum