summaryrefslogtreecommitdiff
path: root/maildir2mbox.1
blob: 31423d9761c293af7d412fb3972b644cbac8f55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.TH maildir2mbox 1
.SH NAME
maildir2mbox \- move mail from a maildir to an mbox
.SH SYNOPSIS
.B maildir2mbox
.SH DESCRIPTION
.B maildir2mbox
moves mail from a
.IR maildir -format
directory to an
.IR mbox -format
file.

You must supply three environment variables to
.BR maildir2mbox :
.B MAILDIR
is the name of your
.I maildir
directory;
.B MAIL
is the name of your
.I mbox
file;
and
.B MAILTMP
is a temporary file that
.B maildir2mbox
can overwrite.
.B MAILTMP
and
.B MAIL
must be on the same filesystem.

.B maildir2mbox
is reliable:
it will not remove messages
from
.B MAILDIR
until the messages have been successfully appended to
.BR MAIL .

.B maildir2mbox
locks
.B MAIL
to protect against simultaneous access by a mail reader.
This locking system does not protect against simultaneous access
by another
.BR maildir2mbox ;
you should run only one
.B maildir2mbox
at a time.
.SH "SEE ALSO"
maildir(5)