Import ezmlm-idx 0.40
[ezmlm] / ezmlm-idx.1
CommitLineData
f8beb284
MW
1.TH ezmlm-idx 1
2.SH NAME
3ezmlm-idx \- create index for mailing list archive
4.SH SYNOPSIS
5.B ezmlm-idx
6[
7.B \-dDF
8][
9.B \-f\I msg
10]
11.I dir
12.SH DESCRIPTION
13.B ezmlm-idx
14reads all archived messages for the list in
15.I dir
16from
17.IR dir\fB/archive/
18and creates a message index. The index file format is identical to
19that produced by
20.B ezmlm-send(1)
21(when
22.IR dir\fB/indexed
23is present).
24
25.B ezmlm-idx
26will ignore messages that do not have the owner execute bit set.
27
28.B ezmlm-idx
29will create the the index file under a different name and then
30move it into place.
31
32If
33.IR dir\fB/indexed
34does not exist,
35.B ezmlm-idx
36will create it to enable the use of the newly created subject and author index.
37
38.B ezmlm-idx
39will remove reply-indicators and the prefix from the subject before
40entry into the index, as described for
41.BR ezmlm-send(1) .
42.B ezmlm-idx
43will decode rfc2047 encoded subject and author headers. When unfolding
44split lines,
45.B ezmlm-idx
46will remove redundant escape sequences for the character
47set specified in
48.IR dir\fB/charset .
49
50.B ezmlm-idx
51calculates a subject hash based on the normalized subject header. Normalization
52removes linear whitespace, case information, and message reply indicators.
53The subject hash is used by
54.B ezmlm-get(1)
55for message threading.
56.SH OPTIONS
57.TP
58.B \-d
59Use the ``Date:'' header for date information, rather than the top ``Received:''
60header. This is unreliable, but useful when messages have been transferred from
61another type of archive by mailing them to ezmlm.
62.B ezmlm-idx
63converts dates with two-digit years ``xx'' to 19xx if xx is >= 70. Otherwise,
6420xx is assumed.
65.TP
66.B \-D
67(Default.)
68Use the ``Received:'' header, not the ``Date:'' header. This is more reliable
69since this is the header added by the receiving qmail. Also, this results
70in always correctly formatted dates in the same time zone (usually UTC).
71.TP
72.B \-f\fI msg
73Start indexing with the archive section containing message
74.IR msg .
75This is useful if you have removed part of the archive and do not want to
76create (empty) directories and index files for these. It also decreases
77.B ezmlm-idx
78memory use.
79.TP
80.B \-F
81(Default.)
82Start indexing from message 1.
83.TP
84.B \-v
85Display
86.B ezmlm-idx
87version info.
88.TP
89.B \-V
90Display
91.B ezmlm-idx
92version info.
93.SH "SEE ALSO"
94ezmlm-archive(1),
95ezmlm-get(1),
96ezmlm-send(1),
97ezmlm(5)