1INCM(1) General Commands Manual INCM(1)
2
3
4
6 incm - Incorporating new mails for Mew
7
9 incm [options]
10
12 The incm utility incorporates new mails from the mbox or the maildir to
13 Mew's inbox folder.
14
15 The options are as follows:
16
17 -a Retrieve all mails from maildir/{cur,new} for maildir.
18
19 -b Backup mails. mbox: No truncate mbox file. maildir: To
20 maildir/cur directory.
21
22 -c Use the Content-Length: field, instead of the "From " line, as
23 a mail separator for mbox.
24
25 -d path Path to mbox/maildir. If path is a file, mbox is assumed. If
26 path is a directory, maildir is assumed.
27
28 -m path The same as the -d option.
29
30 -s Read one mail from stdin instead of mbox/maildir.
31
32 -i inboxdir
33 A path to the inbox directory.
34
35 -u Don't touch ".mew-mtime".
36
37 -f Preserve Unix From (Envelope Sender) line in mbox case.
38
39 -p mode Specify file mode that creates in mbox case.
40
41 -o Use the suffix when creating messages.
42
43 -x suffix
44 Use this suffix.
45
46 -h Display this help message.
47
48 -v Display the version.
49
50 mbox
51 For mbox, the mail separator is "From " in the beginning of lines. The
52 incm utility does not convert ">From " to "From " in the beginning of
53 lines in the body. On Solaris, Content-Length: should be used with the
54 -c option to tell the end of mail.
55
56 To lock mbox, a lock file("<user>.lock"), flock() or lockf(), and
57 open(O_EXLOCK) are used.
58
59 maildir
60 For maildir, no lock and no separator are necessary.
61
62 Consider the following situation:
63 cur/{1,2}
64 new/{3,4}
65
66 Executing incm without the options results in:
67 cur/{1,2}
68 new/{}
69 to inbox: {3,4}
70
71 Executing incm with the -a option results in:
72 cur/{}
73 new/{}
74 to inbox: {1,2,3,4}
75
76 Executing incm with the -b option results in:
77 cur/{1,2,3,4}
78 new/{}
79 to inbox: {3,4}
80
81 Executing incm with the -a option and the -b option results in:
82 cur/{1,2,3,4}
83 new/{}
84 to inbox: {1,2,3,4}
85 So, if both options are specified, messages are retrieved multiple
86 times.
87
88
89
90 December 25, 2001 INCM(1)