2016-08-19 15:53:40 +00:00
|
|
|
.Dd August 19, 2016
|
|
|
|
.Dt MEXPORT 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mexport
|
|
|
|
.Nd export messages as mbox file
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl S
|
|
|
|
.Ar msgs\ ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2018-02-01 22:15:43 +00:00
|
|
|
writes the specified
|
|
|
|
.Ar msgs
|
|
|
|
to the standard output
|
|
|
|
as an MBOXRD file.
|
|
|
|
.Po
|
2016-08-19 15:53:40 +00:00
|
|
|
See
|
|
|
|
.Xr mmsg 7
|
|
|
|
for the message argument syntax.
|
2018-02-01 22:15:43 +00:00
|
|
|
.Pc
|
2016-08-19 15:53:40 +00:00
|
|
|
.Pp
|
|
|
|
If no
|
|
|
|
.Ar msgs
|
2017-07-01 12:45:46 +00:00
|
|
|
are specified,
|
2016-08-19 15:53:40 +00:00
|
|
|
.Nm
|
2017-07-02 16:22:51 +00:00
|
|
|
reads filenames from the standard input,
|
2018-02-01 22:15:43 +00:00
|
|
|
or uses the messages in the current sequence if used interactively.
|
2016-08-19 15:53:40 +00:00
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
uses the
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li Return\&-Path\&:
|
2016-08-19 15:53:40 +00:00
|
|
|
(or
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li X\&-Envelope\&-To\&: )
|
2017-07-01 12:45:46 +00:00
|
|
|
and
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li Date\&:
|
2018-02-01 22:15:43 +00:00
|
|
|
headers from each message for the mbox
|
2016-08-19 15:53:40 +00:00
|
|
|
.Sq Li "From "
|
|
|
|
line.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl S
|
|
|
|
Add
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li Status\&:
|
2016-08-19 15:53:40 +00:00
|
|
|
and
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li X\&-Status\&:
|
2017-07-01 12:45:46 +00:00
|
|
|
headers according to the
|
|
|
|
.Ar msgs
|
2018-02-01 22:15:43 +00:00
|
|
|
maildir flags.
|
2016-08-19 15:53:40 +00:00
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mdeliver 1 ,
|
|
|
|
.Xr maildir 5 ,
|
|
|
|
.Xr mbox 5
|
|
|
|
.Pp
|
|
|
|
.Lk http://www.digitalpreservation.gov/formats/fdd/fdd000385.shtml "MBOXRD Email Format"
|
|
|
|
.Pp
|
|
|
|
.Lk https://cr.yp.to/proto/maildir.html "Using maildir format"
|
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-08-19 15:53:40 +00:00
|
|
|
.Sh LICENSE
|
|
|
|
.Nm
|
|
|
|
is in the public domain.
|
|
|
|
.Pp
|
|
|
|
To the extent possible under law,
|
|
|
|
the creator of this work
|
|
|
|
has waived all copyright and related or
|
|
|
|
neighboring rights to this work.
|
|
|
|
.Pp
|
|
|
|
.Lk http://creativecommons.org/publicdomain/zero/1.0/
|