]> git.ipfire.org Git - people/ms/dma.git/blame - debian/migrate/dma-migrate.8
deliver_remote: only require host when not using smarthost
[people/ms/dma.git] / debian / migrate / dma-migrate.8
CommitLineData
d873a142
PP
1.\" Copyright (c) 2010 Peter Pentchev
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd May 11, 2009
26.Dt dma-migrate 8
27.Os
28.Sh NAME
29.Nm dma-migrate
30.Nd convert the DragonFly Mail Agent's queue files
31.Sh SYNOPSIS
32.Nm
33.Op Fl v
34.Op Fl d Ar spooldir
35.Nm
36.Op Fl h | Fl V
37.Sh DESCRIPTION
38The
39.Nm
40utility is used to convert the mail queue files in the
41.Xr dma 8
42spool directory to the latest spool directory format supported by
43the installed version of
44.Xr dma 8 .
45Currently it only handles the conversion from a single file containing
46both message and delivery metadata to the M/Q format.
47.Pp
48The following command-line options are available:
49.Bl -tag -width indent
50.It Fl d
51Specify the location of the
52.Xr dma 8
53spool directory, default
54.Pa /var/spool/dma .
55.It Fl h
56Display usage information and exit.
57.It Fl V
58Display program version information and exit.
59.It Fl v
60Verbose output - display diagnostic messages.
61.El
62.Sh ENVIRONMENT
63The operation of the
64.Nm
65utility is currently not influenced by environment variables.
66.Sh FILES
67The
68.Nm
69utility looks for the
70.Xr dma 8
71mail queue files in the
72.Pa /var/spool/dma
73directory, unless another location is specified by the
74.Fl d
75command-line option.
76.Sh EXIT STATUS
77The
78.Nm
79utility will scan the whole spool directory and attempt to convert all
80suitable files there.
81If there are no files to be converted, or if all the conversions are
82successful, it will complete with an exit code of zero.
83If any conversion errors are encountered, a message will be displayed
84to the standard error stream and
85.Nm
86will exit with an exit code of 1 after attempting to convert the rest of
87the suitable files in the spool directory.
88.Sh SEE ALSO
89.Xr dma 8
90.Sh STANDARDS
91No standards documentation was harmed in the process of creating
92.Nm .
93.Sh BUGS
94Please report any bugs in
95.Nm
96to the author.
97.Sh AUTHOR
98.An Peter Pentchev Aq roam@ringlet.net