mu/man/mu.1

138 lines
3.4 KiB
Groff
Raw Normal View History

.TH MU 1 "August 2010" "User Manuals"
2010-01-17 13:03:15 +01:00
2010-01-01 19:45:33 +01:00
.SH NAME
2010-01-17 13:03:15 +01:00
mu \- index and search e-mail messages stored in Maildirs
2010-01-01 19:45:33 +01:00
.SH SYNOPSIS
2010-01-17 13:03:15 +01:00
.B mu index [options]
2010-02-04 21:44:05 +01:00
.B mu cleanup [options]
2010-01-17 13:03:15 +01:00
2010-02-04 21:44:05 +01:00
.B mu find [options] <search expression>
2010-01-01 19:45:33 +01:00
2010-02-04 21:44:05 +01:00
.B mu view <file> [<files>]
2010-02-04 21:44:05 +01:00
.B mu mkdir [options] <dir> [<dirs>]
2010-01-17 14:12:57 +01:00
.B mu [options]
2010-01-01 19:45:33 +01:00
.SH DESCRIPTION
2010-01-17 13:03:15 +01:00
2010-02-04 21:44:05 +01:00
\fBmu\fR is a set of tools for dealing with e-mail messages in Maildirs.
Its main function is enable searching of e-mail messages. It does so by
scanning a Maildir directory tree and analyzing the e-mail messages found. The
results of this analysis are stored in a database, which can then be queried.
In addition to indexing and searching, \fBmu\fR also offers functionality for
viewing messages and creating maildirs.
\fBmu\fR can be used from the command line, or can be integrated with e-mail
clients. Note: the various sub-commands have their own manpages.
.SH COMMANDS
\fBmu\fR offers the following commands:
.TP
\fBindex\fR
for indexing (analyzing) the contents of your Maildirs, and storing the
information in a database. See
.BR mu-index(1)
\.
2010-02-11 19:18:50 +01:00
.TP
\fBcleanup\fR
for removing messages from the database for which there is no longer a
corresponding message file in the file system. See
.BR mu-cleanup(1)
\.
2010-02-11 19:18:50 +01:00
.TP
\fBfind\fR for finding messages in your database, using certain search
parameters. See
.BR mu-find(1)
\.
2010-02-04 21:44:05 +01:00
.TP
\fBview\fR
for displaying e-mail messages. See
.BR mu-view(1)
\.
.TP
\fBmkdir\fR
for creating Maildirs. See
.BR mu-mkdir(1)
\.
.TP
The various commands are discussed in their separate manpages; here the
general options are discussed.
2010-01-01 19:45:33 +01:00
2010-01-06 20:40:46 +01:00
.SH GENERAL OPTIONS
2010-01-17 13:03:15 +01:00
\fBmu\fR offers a number of general options that apply to all commands:
2010-01-06 20:40:46 +01:00
.TP
2010-01-17 14:12:57 +01:00
\fB\-a\fR, \fB\-\-muhome\fR
causes \fBmu\fR to use an alternative directory to
2010-01-17 13:03:15 +01:00
store and read its database and logs. By default, \fI~/.mu\fR is used.
2010-01-06 20:40:46 +01:00
.TP
2010-01-17 14:12:57 +01:00
\fB\-d\fR, \fB\-\-debug\fR
makes \fBmu\fR generate extra debug information,
2010-01-17 13:03:15 +01:00
useful for debugging the program itself. By default, debug information goes to
the log file, \fI~/.mu/mu.log\fR. It can safely be deleted when \fBmu\fR is
not running. Note, with the debug option, the log file can grow rather
quickly. See the note on logging below.
2010-01-06 20:40:46 +01:00
.TP
2010-01-17 14:12:57 +01:00
\fB\-q\fR, \fB\-\-quiet\fR
causes \fBmu\fR not to output informational
2010-01-17 13:03:15 +01:00
messages and progress information to standard output, but only to the log
file. Error messages will still be sent to standard error. Note that \fBmu
index\fR is \fBmuch\fR faster with \fB\-\-quiet\fR, so it is recommended you
use this option when using \fBmu\fR from scripts etc.
2010-01-06 20:40:46 +01:00
.TP
2010-01-17 14:12:57 +01:00
\fB\-e\fR, \fB\-\-log-stderr\fR
causes \fBmu\fR not to output all log messages
2010-01-06 20:40:46 +01:00
to standard error, in addition to sending them to the log file.
.TP
2010-01-17 14:12:57 +01:00
\fB\-v\fR, \fB\-\-version\fR
outputs the \fBmu\fR-version and copyright
2010-01-06 20:40:46 +01:00
information.
.TP
2010-01-17 14:12:57 +01:00
\fB\-h\fR, \fB\-\-help\fR
list the various command line options, while
2010-01-06 20:40:46 +01:00
\fB\-\-help\-index\fR, \fB\-\-help\-find\fR and \fB\-\-help\-all\fR list only
the options for one command, or all of the commands.
2010-01-01 19:45:33 +01:00
.SH ENVIRONMENT
2010-01-17 13:03:15 +01:00
2010-01-06 20:40:46 +01:00
As mentioned, \fBmu index\fR uses \fBMAILDIR\fR to find the user's Maildir if
it has not been specified explicitly \fB\-\-maildir\fR=\fI<maildir>\fR. If
MAILDIR is not set, \fBmu index\fR will try \fI~/Maildir\fR.
2010-01-01 19:45:33 +01:00
.
.SH BUGS
2010-01-17 13:03:15 +01:00
2010-01-01 19:45:33 +01:00
There probably are some; please report bugs when you find them:
.BR http://code.google.com/p/mu0/issues/list
.SH AUTHOR
2010-01-17 13:03:15 +01:00
2010-01-01 19:45:33 +01:00
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
.SH "SEE ALSO"
2010-01-17 13:03:15 +01:00
.BR mu-index(1)
.BR mu-find(1)
.BR mu-mkdir(1)
.BR mu-view(1)
.BR mu-cleanup(1)