INCM(1) | General Commands Manual | INCM(1) |
incm - Incorporating new mails for Mew
incm [options]
The incm utility incorporates new mails from the mbox or the maildir to Mew's inbox folder.
The options are as follows:
For mbox, the mail separator is "From " in the beginning of lines. The incm utility does not convert ">From " to "From " in the beginning of lines in the body. On Solaris, Content-Length: should be used with the -c option to tell the end of mail.
To lock mbox, a lock file("<user>.lock"), flock() or lockf(), and open(O_EXLOCK) are used.
For maildir, no lock and no separator are necessary.
Consider the following situation:
cur/{1,2}
new/{3,4}
Executing incm without the options results in:
cur/{1,2}
new/{}
to inbox: {3,4}
Executing incm with the -a option results in:
cur/{}
new/{}
to inbox: {1,2,3,4}
Executing incm with the -b option results in:
cur/{1,2,3,4}
new/{}
to inbox: {3,4}
Executing incm with the -a option and the -b option results in:
So, if both options are specified, messages are retrieved multiple times.
cur/{1,2,3,4}
new/{}
to inbox: {1,2,3,4}
December 25, 2001 |