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/mcom.1

119 lines
2.3 KiB
Groff

.Dd January 6, 2017
.Dt MCOM 1
8 years ago
.Os
.Sh NAME
.Nm mcom ,
.Nm mfwd ,
.Nm mbnc ,
.Nm mrep
.Nd compose, forward, bounce, reply to, and send mail
8 years ago
.Sh SYNOPSIS
.Nm mcom
.Op Ar recipients\ ...
.Nm mcom
.Fl r Op draft
.Nm mfwd
.Op Fl r
.Op Ar msgs\ ...
.Nm mbnc
.Ar msg
.Nm mrep
8 years ago
.Ar msg
.Sh DESCRIPTION
.Nm mcom
creates a new draft mail and opens it in an editor.
After editing, a loop is started where the user can re-edit,
send or cancel the mail.
Use
.Sq Nm Fl r
to resume the editing of a draft;
by default, the last modified draft will be edited.
8 years ago
.Pp
.Nm mfwd
behaves like
.Nm mcom
but creates the draft with a subject and body appropriate
for forwarding the message.
By default, messages are forwarded verbatim as MIME
.Sq Li message/rfc822
attachments.
Use
.Fl r
to forward as
.Xr mshow 1
rendered plain text, using RFC934 message encapsulation.
.Pp
.Nm mbnc
behaves like
.Nm mcom
but creates the draft from the original
.Ar msg
(including headers)
and adds a Resent-To header, to which the message will
be bounced directly.
.Pp
.Nm mrep
8 years ago
behaves like
.Nm mcom
but creates the draft such that the mail will be a reply to
8 years ago
.Ar msg .
See
.Xr mmsg 7
8 years ago
for the message argument syntax.
.Sh MENU COMMANDS
.Bl -tag -width 2n
.It Ic s
Send the mail.
The MIME version will be used when one has been created.
.It Ic c
Cancel sending and quit after displaying
the filename of the saved draft.
8 years ago
.It Ic m
Run
.Xr mmime 1
on the draft, and print the result of
8 years ago
.Ic mshow -t .
.It Ic e
Re-run the editor on the draft.
8 years ago
.It Ic d
Delete the draft and quit.
8 years ago
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev EDITOR
Editor used to compose mail.
.It Ev MBLAZE
Directory containing mblaze configuration files.
(Default:
.Pa $HOME/.mblaze )
8 years ago
.El
.Sh FILES
.Bl -tag -width Ds
.It Pa snd.*
Draft messages, kept in current directory.
This can be configured in
.Xr mblaze-profile 5 .
.It Pa ${MBLAZE:-$HOME/.mblaze}/headers
8 years ago
Default headers for each mail.
7 years ago
.It Pa ${MBLAZE:-$HOME/.mblaze}/signature No or Pa ~/.signature
8 years ago
Default signature.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmime 1 ,
.Xr mblaze-profile 5 ,
.Xr mmsg 7
8 years ago
.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/