2011-12-19 03:38:24 +01:00
|
|
|
.\" notmuch - Not much of an email program, (just index, search and tagging)
|
|
|
|
.\"
|
|
|
|
.\" Copyright © 2009 Carl Worth
|
|
|
|
.\"
|
|
|
|
.\" Notmuch is free software: you can redistribute it and/or modify
|
|
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
|
|
.\" the Free Software Foundation, either version 3 of the License, or
|
|
|
|
.\" (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" Notmuch is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program. If not, see http://www.gnu.org/licenses/ .
|
|
|
|
.\"
|
|
|
|
.\" Author: Carl Worth <cworth@cworth.org>
|
2013-02-17 14:40:52 +01:00
|
|
|
.TH NOTMUCH 1 2013-02-17 "Notmuch 0.15.2"
|
2011-12-19 03:38:24 +01:00
|
|
|
.SH NAME
|
|
|
|
notmuch \- thread-based email index, search, and tagging
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B notmuch
|
|
|
|
.IR command " [" args " ...]"
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Notmuch is a command-line based program for indexing, searching,
|
|
|
|
reading, and tagging large collections of email messages.
|
|
|
|
|
2011-12-19 14:21:26 +01:00
|
|
|
This page describes how to get started using notmuch from the command
|
|
|
|
line, and gives a brief overview of the commands available. For more
|
|
|
|
information on e.g.
|
|
|
|
.B notmuch show
|
|
|
|
consult the \fBnotmuch-show\fR(1) man page, also accessible via
|
|
|
|
.B notmuch help show
|
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
The quickest way to get started with Notmuch is to simply invoke the
|
|
|
|
.B notmuch
|
|
|
|
command with no arguments, which will interactively guide you through
|
|
|
|
the process of indexing your mail.
|
|
|
|
.SH NOTE
|
|
|
|
While the command-line program
|
|
|
|
.B notmuch
|
|
|
|
provides powerful functionality, it does not provide the most
|
|
|
|
convenient interface for that functionality. More sophisticated
|
|
|
|
interfaces are expected to be built on top of either the command-line
|
|
|
|
interface, or more likely, on top of the notmuch library
|
|
|
|
interface. See http://notmuchmail.org for more about alternate
|
2011-12-19 14:21:26 +01:00
|
|
|
interfaces to notmuch. The emacs-based interface to notmuch (available under
|
|
|
|
.B emacs/
|
|
|
|
in the Notmuch source distribution) is probably the most widely used at
|
|
|
|
this time.
|
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
.SH COMMANDS
|
2011-12-20 01:53:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
.SS SETUP
|
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
The
|
2011-12-20 01:53:37 +01:00
|
|
|
.B notmuch setup
|
2011-12-19 03:38:24 +01:00
|
|
|
command is used to configure Notmuch for first use, (or to reconfigure
|
|
|
|
it later).
|
|
|
|
|
|
|
|
The setup command will prompt for your full name, your primary email
|
|
|
|
address, any alternate email addresses you use, and the directory
|
|
|
|
containing your email archives. Your answers will be written to a
|
|
|
|
configuration file in ${NOTMUCH_CONFIG} (if set) or
|
|
|
|
${HOME}/.notmuch-config . This configuration file will be created with
|
|
|
|
descriptive comments, making it easy to edit by hand later to change the
|
|
|
|
configuration. Or you can run
|
|
|
|
.B "notmuch setup"
|
|
|
|
again to change the configuration.
|
|
|
|
|
|
|
|
The mail directory you specify can contain any number of
|
|
|
|
sub-directories and should primarily contain only files with individual
|
|
|
|
email messages (eg. maildir or mh archives are perfect). If there are
|
|
|
|
other, non-email files (such as indexes maintained by other email
|
|
|
|
programs) then notmuch will do its best to detect those and ignore
|
|
|
|
them.
|
|
|
|
|
|
|
|
Mail storage that uses mbox format, (where one mbox file contains many
|
|
|
|
messages), will not work with notmuch. If that's how your mail is
|
|
|
|
currently stored, it is recommended you first convert it to maildir
|
|
|
|
format with a utility such as mb2md before running
|
|
|
|
.B "notmuch setup" .
|
|
|
|
|
|
|
|
Invoking
|
|
|
|
.B notmuch
|
|
|
|
with no command argument will run
|
|
|
|
.B setup
|
|
|
|
if the setup command has not previously been completed.
|
|
|
|
.RE
|
|
|
|
|
2011-12-20 01:53:37 +01:00
|
|
|
.SS OTHER COMMANDS
|
2011-12-19 03:38:24 +01:00
|
|
|
|
|
|
|
Several of the notmuch commands accept search terms with a common
|
2011-12-20 02:41:48 +01:00
|
|
|
syntax. See \fNnotmuch-search-terms\fR(7)
|
|
|
|
for more details on the supported syntax.
|
2011-12-19 03:38:24 +01:00
|
|
|
|
|
|
|
The
|
|
|
|
.BR search ", " show " and " count
|
|
|
|
commands are used to query the email database.
|
|
|
|
|
|
|
|
The
|
|
|
|
.B reply
|
|
|
|
command is useful for preparing a template for an email reply.
|
|
|
|
|
|
|
|
The
|
|
|
|
.B tag
|
|
|
|
command is the only command available for manipulating database
|
|
|
|
contents.
|
|
|
|
|
|
|
|
|
|
|
|
The
|
|
|
|
.BR dump " and " restore
|
|
|
|
commands can be used to create a textual dump of email tags for backup
|
|
|
|
purposes, and to restore from that dump.
|
|
|
|
|
|
|
|
The
|
|
|
|
.B config
|
|
|
|
command can be used to get or set settings int the notmuch
|
|
|
|
configuration file.
|
|
|
|
|
|
|
|
.SH ENVIRONMENT
|
|
|
|
The following environment variables can be used to control the
|
|
|
|
behavior of notmuch.
|
|
|
|
.TP
|
|
|
|
.B NOTMUCH_CONFIG
|
|
|
|
Specifies the location of the notmuch configuration file. Notmuch will
|
|
|
|
use ${HOME}/.notmuch\-config if this variable is not set.
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
2011-12-20 02:41:48 +01:00
|
|
|
\fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
|
|
|
|
\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1),
|
2012-03-11 22:36:16 +01:00
|
|
|
\fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1),
|
|
|
|
\fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7),
|
|
|
|
\fBnotmuch-show\fR(1), \fBnotmuch-tag\fR(1)
|
2011-12-20 02:41:48 +01:00
|
|
|
|
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
The notmuch website:
|
|
|
|
.B http://notmuchmail.org
|
|
|
|
.SH CONTACT
|
|
|
|
Feel free to send questions, comments, or kudos to the notmuch mailing
|
|
|
|
list <notmuch@notmuchmail.org> . Subscription is not required before
|
|
|
|
posting, but is available from the notmuchmail.org website.
|
|
|
|
|
|
|
|
Real-time interaction with the Notmuch community is available via IRC
|
|
|
|
(server: irc.freenode.net, channel: #notmuch).
|