8 **notmuch** **config** **get** <*section*>.<*item*>
10 **notmuch** **config** **set** <*section*>.<*item*> [*value* ...]
12 **notmuch** **config** **list**
17 The **config** command can be used to get or set settings in the notmuch
21 The value of the specified configuration item is printed to
22 stdout. If the item has multiple values (it is a list), each
23 value is separated by a newline character.
26 The specified configuration item is set to the given value. To
27 specify a multiple-value item (a list), provide each value as a
28 separate command-line argument.
30 If no values are provided, the specified configuration item will
31 be removed from the configuration file.
34 Every configuration item is printed to stdout, each on a
35 separate line of the form:
37 *section*.\ *item*\ =\ *value*
39 No additional whitespace surrounds the dot or equals sign
40 characters. In a multiple-value item (a list), the values are
41 separated by semicolon characters.
43 The available configuration items are described below.
46 The top-level directory where your mail currently exists and to
47 where mail will be delivered in the future. Files should be
48 individual email messages. Notmuch will store its database
49 within a sub-directory of the path configured here named
55 **user.primary\_email**
56 Your primary email address.
59 A list of other email addresses at which you receive email.
62 A list of tags that will be added to all messages incorporated
66 A list of file and directory names, without path, that will not
67 be searched for messages by **notmuch new**. All the files and
68 directories matching any of the names specified here will be
69 ignored, regardless of the location in the mail store directory
72 **search.exclude\_tags**
73 A list of tags that will be excluded from search results by
74 default. Using an excluded tag in a query will override that
77 **maildir.synchronize\_flags**
78 If true, then the following maildir flags (in message filenames)
79 will be synchronized with the corresponding notmuch tags:
81 +--------+-----------------------------------------------+
83 +========+===============================================+
85 +--------+-----------------------------------------------+
87 +--------+-----------------------------------------------+
89 +--------+-----------------------------------------------+
91 +--------+-----------------------------------------------+
92 | S | unread (added when 'S' flag is not present) |
93 +--------+-----------------------------------------------+
95 The **notmuch new** command will notice flag changes in
96 filenames and update tags, while the **notmuch tag** and
97 **notmuch restore** commands will notice tag changes and update
100 If there have been any changes in the maildir (new messages
101 added, old ones removed or renamed, maildir flags changed,
102 etc.), it is advisable to run **notmuch new** before **notmuch
103 tag** or **notmuch restore** commands to ensure the tag changes
104 are properly synchronized to the maildir flags, as the commands
105 expect the database and maildir to be in sync.
110 The following environment variables can be used to control the behavior
114 Specifies the location of the notmuch configuration file. Notmuch
115 will use ${HOME}/.notmuch-config if this variable is not set.
120 **notmuch(1)**, **notmuch-count(1)**, **notmuch-dump(1)**,
121 **notmuch-hooks(5)**, **notmuch-insert(1)**, **notmuch-new(1)**,
122 **notmuch-reply(1)**, **notmuch-restore(1)**, **notmuch-search(1)**,
123 **notmuch-search-terms(7)**, **notmuch-show(1)**, **notmuch-tag(1)**