|
|
@ -3,7 +3,7 @@
|
|
|
|
.Os
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mdeliver
|
|
|
|
.Nm mdeliver
|
|
|
|
.Nd deliver message or mailbox into Maildir
|
|
|
|
.Nd deliver messages or import mbox file
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Nm
|
|
|
|
.Op Fl c
|
|
|
|
.Op Fl c
|
|
|
@ -22,15 +22,15 @@
|
|
|
|
.Ar mbox
|
|
|
|
.Ar mbox
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
.Nm
|
|
|
|
adds a message given on standard input
|
|
|
|
adds a message given on the standard input
|
|
|
|
as a new message in the Maildir
|
|
|
|
as a new message in the maildir
|
|
|
|
.Ar dir .
|
|
|
|
.Ar dir .
|
|
|
|
.Pp
|
|
|
|
.Pp
|
|
|
|
When
|
|
|
|
When
|
|
|
|
.Fl M
|
|
|
|
.Fl M
|
|
|
|
is used,
|
|
|
|
is used,
|
|
|
|
.Nm
|
|
|
|
.Nm
|
|
|
|
will regard standard input as
|
|
|
|
will regard the standard input as
|
|
|
|
an MBOXRD mailbox, split it on
|
|
|
|
an MBOXRD mailbox, split it on
|
|
|
|
.Dq Li "From "
|
|
|
|
.Dq Li "From "
|
|
|
|
and deliver each message,
|
|
|
|
and deliver each message,
|
|
|
@ -38,12 +38,12 @@ decoding it according to the MBOXRD convention.
|
|
|
|
.Nm
|
|
|
|
.Nm
|
|
|
|
will set the mtime according to the value of
|
|
|
|
will set the mtime according to the value of
|
|
|
|
.Sq Li Date\&:
|
|
|
|
.Sq Li Date\&:
|
|
|
|
and the Maildir flags according to the value of
|
|
|
|
and the maildir flags according to the value of
|
|
|
|
.Sq Li Status\&:
|
|
|
|
.Sq Li Status\&:
|
|
|
|
or
|
|
|
|
or
|
|
|
|
.Sq Li X-Status\&: .
|
|
|
|
.Sq Li X-Status\&: .
|
|
|
|
.Pp
|
|
|
|
.Pp
|
|
|
|
The messages are delivered in a reliable way and use default
|
|
|
|
The messages are delivered in a reliable way and use the default
|
|
|
|
.Xr umask 2 .
|
|
|
|
.Xr umask 2 .
|
|
|
|
.Pp
|
|
|
|
.Pp
|
|
|
|
Please note that no syntactical checks are performed
|
|
|
|
Please note that no syntactical checks are performed
|
|
|
@ -60,7 +60,7 @@ not
|
|
|
|
.Pa new/
|
|
|
|
.Pa new/
|
|
|
|
(the default).
|
|
|
|
(the default).
|
|
|
|
.It Fl v
|
|
|
|
.It Fl v
|
|
|
|
Print each message filename after delivery.
|
|
|
|
Print each new message filename after delivery.
|
|
|
|
.It Fl X Ar flg
|
|
|
|
.It Fl X Ar flg
|
|
|
|
Override the flags of the new message file to be
|
|
|
|
Override the flags of the new message file to be
|
|
|
|
.Ar flg .
|
|
|
|
.Ar flg .
|
|
|
|