3 marshal \- formatting and sending mail
35 builds a mail message from standard input and passes it,
36 if the body is non-empty,
37 for transmission or delivery to
38 .BI /mail/box/ username /pipefrom
39 if it exists, otherwise to
41 The message format is both RFC 822 and
44 adds any required headers not already in the message, prefixed by
46 .BI /mail/box/ username /headers\f1.
47 This allows the addition of personal headers like
49 lines with a full name or a different
51 Command line options direct marshal to add a subject line
52 and append attachments. The arguments to
54 are the addresses of the recipients.
60 automatically puts the window into hold mode (see
62 this means that the message can be edited freely,
63 because nothing will be sent to
65 until the ESC key is hit to exit hold mode.
76 Unless explicitly specified by the
78 option, the type of the attachment is determined
86 but the message disposition is marked as
88 directing any mail reader to display the attachment
89 (if it can) when the mail message is read.
108 intentionally no standard input
111 are all passed as command line options to the
118 tells marshal what message this one is in reply to.
122 directory containing the message.
124 uses any message id in this message in its
126 field. It also passes the directory to
127 .BI /mail/box/ username /pipefrom
130 environment variable. Thus,
132 can alter the message to somehow match
133 the reply to the message it is replying to.
138 header line to the message if one does not
142 sets the content type for the attachments from
153 pgp encrypt the message
161 ) from RFC 822 header of the message
165 also expands any user mail aliases contained in
166 .BI /mail/box/ username /names.
167 The format of the alias file is the same as that
168 for system aliases, see
172 uses the login name as the reply address. This
173 can be overriden using the environment variable
175 Its value will become both the envelope
182 upasname=natasha@kremvax.com upas/mail boris@squirrel.com
186 interprets file attachment headers
194 options would have been given.
197 .B /mail/box/*/dead.letter
200 .B /sys/src/cmd/upas/marshal