2018-01-06 18:17:49 +00:00
|
|
|
.Dd January 6, 2017
|
2016-08-08 14:01:06 +00:00
|
|
|
.Dt MCOM 1
|
2016-07-22 19:36:46 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2016-08-08 14:01:06 +00:00
|
|
|
.Nm mcom ,
|
2017-06-18 15:48:24 +00:00
|
|
|
.Nm mfwd ,
|
2018-01-06 18:17:49 +00:00
|
|
|
.Nm mbnc ,
|
2016-08-08 14:01:06 +00:00
|
|
|
.Nm mrep
|
2018-01-31 13:17:02 +00:00
|
|
|
.Nd compose, reply, forward, bounce, send messages
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh SYNOPSIS
|
2016-08-08 14:01:06 +00:00
|
|
|
.Nm mcom
|
2018-02-27 14:14:29 +00:00
|
|
|
.Op Fl Ar header Ar values\ ...
|
2017-06-19 12:00:29 +00:00
|
|
|
.Op Ar recipients\ ...
|
|
|
|
.Nm mcom
|
|
|
|
.Fl r Op draft
|
2018-01-30 18:09:34 +00:00
|
|
|
.Nm mrep
|
2018-02-27 14:14:29 +00:00
|
|
|
.Op Fl Ar header Ar values\ ... Fl -
|
2018-01-30 18:09:34 +00:00
|
|
|
.Ar msg
|
2017-06-18 15:48:24 +00:00
|
|
|
.Nm mfwd
|
|
|
|
.Op Fl r
|
2018-02-27 14:14:29 +00:00
|
|
|
.Op Fl Ar header Ar values\ ... Fl -
|
2017-06-18 15:48:24 +00:00
|
|
|
.Op Ar msgs\ ...
|
2018-01-06 18:17:49 +00:00
|
|
|
.Nm mbnc
|
2018-02-27 14:14:29 +00:00
|
|
|
.Op Fl Ar header Ar values\ ... Fl -
|
2018-01-06 18:17:49 +00:00
|
|
|
.Ar msg
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh DESCRIPTION
|
2016-08-08 14:01:06 +00:00
|
|
|
.Nm mcom
|
2018-01-30 18:09:34 +00:00
|
|
|
creates a new draft message and opens it in an editor.
|
|
|
|
After editing, a loop is started where the user can send,
|
|
|
|
re-edit or cancel the message.
|
2017-06-19 12:00:29 +00:00
|
|
|
Use
|
|
|
|
.Sq Nm Fl r
|
2017-07-01 09:21:24 +00:00
|
|
|
to resume the editing of a draft;
|
|
|
|
by default, the last modified draft will be edited.
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
2018-01-30 18:09:34 +00:00
|
|
|
.Nm mrep
|
|
|
|
creates the draft such that the message will be a reply to
|
|
|
|
.Ar msg .
|
|
|
|
.Pp
|
2017-06-18 15:48:24 +00:00
|
|
|
.Nm mfwd
|
2018-01-30 18:09:34 +00:00
|
|
|
creates the draft with a subject and body appropriate
|
2017-07-01 09:21:24 +00:00
|
|
|
for forwarding the message.
|
2017-06-19 12:00:29 +00:00
|
|
|
By default, messages are forwarded verbatim as MIME
|
|
|
|
.Sq Li message/rfc822
|
|
|
|
attachments.
|
2017-06-18 15:48:24 +00:00
|
|
|
Use
|
|
|
|
.Fl r
|
2017-06-19 12:00:29 +00:00
|
|
|
to forward as
|
|
|
|
.Xr mshow 1
|
2018-01-30 18:09:34 +00:00
|
|
|
rendered plain text, using RFC 934 message encapsulation.
|
2017-06-18 15:48:24 +00:00
|
|
|
.Pp
|
2018-01-06 18:17:49 +00:00
|
|
|
.Nm mbnc
|
2018-01-30 18:09:34 +00:00
|
|
|
creates the draft from the original
|
2018-01-06 18:17:49 +00:00
|
|
|
.Ar msg
|
2018-01-30 18:09:34 +00:00
|
|
|
.Pq including headers
|
2018-01-06 18:17:49 +00:00
|
|
|
and adds a Resent-To header, to which the message will
|
|
|
|
be bounced directly.
|
2018-01-30 18:09:34 +00:00
|
|
|
.Po
|
2016-07-22 19:36:46 +00:00
|
|
|
See
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
for the message argument syntax.
|
2018-01-30 18:09:34 +00:00
|
|
|
.Pc
|
2018-02-27 14:14:29 +00:00
|
|
|
.Pp
|
|
|
|
All commands can take optional
|
|
|
|
.Ar header
|
|
|
|
flags
|
|
|
|
.Pq which consist of two or more characters
|
|
|
|
to prefill header fields,
|
|
|
|
e.g. you can use
|
|
|
|
.Sq Nm mcom Fl to No merrilyn Fl cc No elea becci Fl subject No 'Party invite'
|
|
|
|
to create a draft with the To, Cc and Subject fields already set.
|
2018-03-10 21:28:41 +00:00
|
|
|
The flag
|
|
|
|
.Fl body Ar file
|
|
|
|
can be used to prepopulate the draft for
|
|
|
|
.Nm mcom
|
|
|
|
and
|
|
|
|
.Nm mrep
|
|
|
|
with the contents of
|
|
|
|
.Ar file .
|
|
|
|
.Pp
|
2018-02-27 14:14:29 +00:00
|
|
|
Note that these flags apply to
|
|
|
|
.Em all
|
|
|
|
arguments after them
|
|
|
|
.Po e.g.
|
|
|
|
.Sq mcom Fl attach No *.c
|
|
|
|
works
|
|
|
|
.Pc ,
|
|
|
|
so you
|
|
|
|
need to use
|
|
|
|
.Sq Fl -
|
|
|
|
when you want to use this feature together with
|
|
|
|
.Nm mrep ,
|
|
|
|
.Nm mfwd ,
|
|
|
|
or
|
|
|
|
.Nm mbnc .
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh MENU COMMANDS
|
|
|
|
.Bl -tag -width 2n
|
|
|
|
.It Ic s
|
2018-01-30 18:09:34 +00:00
|
|
|
Send the message.
|
2016-07-22 19:36:46 +00:00
|
|
|
The MIME version will be used when one has been created.
|
|
|
|
.It Ic c
|
2018-01-30 18:09:34 +00:00
|
|
|
Cancel sending and quit, after displaying
|
2017-07-02 16:22:51 +00:00
|
|
|
the filename of the saved draft.
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Ic m
|
|
|
|
Run
|
|
|
|
.Xr mmime 1
|
2017-07-01 09:21:24 +00:00
|
|
|
on the draft, and print the result of
|
2016-07-22 19:36:46 +00:00
|
|
|
.Ic mshow -t .
|
|
|
|
.It Ic e
|
2018-01-30 18:09:34 +00:00
|
|
|
Re-edit the draft.
|
2016-08-08 14:06:52 +00:00
|
|
|
.It Ic d
|
|
|
|
Delete the draft and quit.
|
2016-07-22 19:36:46 +00:00
|
|
|
.El
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Ev EDITOR
|
2018-01-30 18:09:34 +00:00
|
|
|
Editor used to compose messages.
|
2016-09-01 23:50:20 +00:00
|
|
|
.It Ev MBLAZE
|
2017-07-01 09:21:24 +00:00
|
|
|
Directory containing mblaze configuration files.
|
2016-09-01 23:50:20 +00:00
|
|
|
(Default:
|
2016-09-02 21:48:56 +00:00
|
|
|
.Pa $HOME/.mblaze )
|
2016-07-22 19:36:46 +00:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Pa snd.*
|
2017-07-01 09:21:24 +00:00
|
|
|
Draft messages, kept in current directory.
|
|
|
|
This can be configured in
|
|
|
|
.Xr mblaze-profile 5 .
|
2016-09-01 23:50:20 +00:00
|
|
|
.It Pa ${MBLAZE:-$HOME/.mblaze}/headers
|
2018-01-30 18:09:34 +00:00
|
|
|
Default headers for each message.
|
2017-05-20 23:06:34 +00:00
|
|
|
.It Pa ${MBLAZE:-$HOME/.mblaze}/signature No or Pa ~/.signature
|
2016-07-22 19:36:46 +00:00
|
|
|
Default signature.
|
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mmime 1 ,
|
2017-02-20 14:39:21 +00:00
|
|
|
.Xr mblaze-profile 5 ,
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-07-22 19:36:46 +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/
|