You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mblaze/man/mexport.1

70 lines
1.2 KiB
Groff

8 years ago
.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
exports the specified messages as an MBOXRD file,
to the standard output.
8 years ago
See
.Xr mmsg 7
for the message argument syntax.
.Pp
If no
.Ar msgs
are specified,
8 years ago
.Nm
reads file names from the standard input,
or uses the mails in the current sequence if used interactively.
8 years ago
.Pp
.Nm
uses the
.Sq Li "Return-Path:"
(or
.Sq Li "X-Envelope-To:" )
and
8 years ago
.Sq Li "Date:"
headers from the message for the mbox
8 years ago
.Sq Li "From "
line.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl S
Add
.Sq Li "Status:"
and
.Sq Li "X-Status:"
headers according to the
.Ar msgs
Maildir flags.
8 years ago
.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
7 years ago
.An Leah Neukirchen Aq Mt leah@vuxu.org
8 years ago
.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/