source: trunk/athena/bin/mitmailutils/mitmailmove.1 @ 23705

Revision 23705, 2.0 KB checked in by broder, 16 years ago (diff)
Initial revision of mitmailutils as the mitmail* packages merged.
Line 
1.\"
2.\" $Id: mitmailmove.1,v 1.1 2004-06-07 19:13:53 rbasch Exp $
3.\"
4.TH MITMAILMOVE 1
5.SH NAME
6mitmailmove, mitmailcopy \- move or copy messages between IMAP folders
7.SH SYNOPSIS
8.B mitmailmove | mitmailcopy
9[
10.B \--by-uid
11] [
12.B \--debug
13] [
14.B \--help
15] [
16.B \--host
17.I name
18] [
19.B \--mailbox
20.I name
21] [
22.B \--no-create
23]
24.I message-ID
25[ ... ]
26.I target-mailbox
27.SH DESCRIPTION
28The
29.I mitmailmove
30program
31copies the specified messages from one folder to another on an IMAP server,
32and then marks the original messages for deletion.
33
34The
35.I mitmailcopy
36command performs only the copy operation.
37.SH OPTIONS
38.I mitmailmove
39and
40.I mitmailcopy
41understand the following options:
42.TP
43.B \--by-uid
44specify that the given message ID arguments are unique identifiers, not
45sequence numbers.
46.TP
47.B \--debug
48turn on debugging.
49.TP
50.B \--help
51display usage information and exit.
52.TP
53.B \--host \fIname\fR
54query the given host, instead of the default post office server.
55.TP
56.B \--mailbox \fIname\fR
57move or copy messages from the IMAP folder \fIname\fR.  If this option is
58not specified, messages are moved or copied from the INBOX folder.
59.TP
60.B \--no-create
61do not create the target mailbox automatically.  By default, the target
62mailbox will be created automatically if necessary.
63.SH ARGUMENTS
64.I mitmailmove
65and
66.I mitmailcopy
67require one or more message ID arguments to be given.  The ID is
68either the message's sequence number, or, if the
69.I \--by-uid
70option is given, its unique identifier.
71.I mitmailscan(1)
72can be used to obtain the message ID.
73
74The message ID argument can be \fB*\fR, to indicate the last message
75in the mailbox.  An argument of the form
76.IB ID1 : ID2
77can be used to specify a range of IDs.
78
79The final argument on the command line is taken as the target mailbox
80name.  Unless the
81.I \--no-create
82option is given, this mailbox will be created automatically if necessary.
83.SH "SEE ALSO"
84mitmailscan(1), mitmaildel(1), mitmailexp(1),
85imtest(1), RFC\-2060 (Internet Message Access Protocol - Version 4rev1)
Note: See TracBrowser for help on using the repository browser.