marshal – formatting and sending mail|
upas/marshal [ –[aA] attachment ] [ –C copyaddr ] [ –B copyaddr ]
[ –Fr#xn ] [ –p[es] ] [ –R reply–msg ] [ –s subject ] [ –t mime–type
] [ –8 | mailaddr ... ]|
Marshal builds a mail message from standard input and passes it,
if the body is non–empty, for transmission or delivery to /mail/box/username/pipefrom
if it exists, otherwise to /bin/upas/send. The message format
is both RFC 822 and MIME conformant, so marshal adds any required
headers not already
in the message, prefixed by the contents of /mail/box/username/headers.
This allows the addition of personal headers like From: lines
with a full name or a different return address. Command line options
direct marshal to add a subject line and append attachments. The
arguments to marshal are the
addresses of the recipients. |
When running in a rio(1) window, marshal automatically puts the window into hold mode (see rio(1)); this means that the message can be edited freely, because nothing will be sent to marshal until the ESC key is hit to exit hold mode.
The options are:
–ttype sets the content type for the attachments from all subsequent –a and –A options.
–ps pgp sign the message
–pe pgp encrypt the message
–8 reads recipients ( To: Cc: and Bcc: ) from RFC 822 header of the message
Marshal also expands any user mail aliases contained in /mail/box/username/names. The format of the alias file is the same as that for system aliases, see aliasmail(8).
Marshal uses the login name as the reply address. This can be
overriden using the environment variable upasname. Its value will
become both the envelope and From: mailbox name. For example:
aliasmail(8), faces(1), filter(1), mail(1), mlmgr(1), nedmail(1),
qer(8), rewrite(6), send(8), smtp(8), upasfs(4)|