Commit | Line | Data |
---|---|---|
2117e02e MW |
1 | .TH maildir2mbox 1 |
2 | .SH NAME | |
3 | maildir2mbox \- move mail from a maildir to an mbox | |
4 | .SH SYNOPSIS | |
5 | .B maildir2mbox | |
6 | .SH DESCRIPTION | |
7 | .B maildir2mbox | |
8 | moves mail from a | |
9 | .IR maildir -format | |
10 | directory to an | |
11 | .IR mbox -format | |
12 | file. | |
13 | ||
14 | You must supply three environment variables to | |
15 | .BR maildir2mbox : | |
16 | .B MAILDIR | |
17 | is the name of your | |
18 | .I maildir | |
19 | directory; | |
20 | .B MAIL | |
21 | is the name of your | |
22 | .I mbox | |
23 | file; | |
24 | and | |
25 | .B MAILTMP | |
26 | is a temporary file that | |
27 | .B maildir2mbox | |
28 | can overwrite. | |
29 | .B MAILTMP | |
30 | and | |
31 | .B MAIL | |
32 | must be on the same filesystem. | |
33 | ||
34 | .B maildir2mbox | |
35 | is reliable: | |
36 | it will not remove messages | |
37 | from | |
38 | .B MAILDIR | |
39 | until the messages have been successfully appended to | |
40 | .BR MAIL . | |
41 | ||
42 | .B maildir2mbox | |
43 | locks | |
44 | .B MAIL | |
45 | to protect against simultaneous access by a mail reader. | |
46 | This locking system does not protect against simultaneous access | |
47 | by another | |
48 | .BR maildir2mbox ; | |
49 | you should run only one | |
50 | .B maildir2mbox | |
51 | at a time. | |
52 | .SH "SEE ALSO" | |
53 | maildir(5) |