1 .TH MH-MAIL %manext5% "July 9, 2012" "%nmhversion%"
6 mh-mail \- message format for nmh message system
9 processes messages in a particular format. It should be noted
10 that although neither Bell nor Berkeley mailers produce message files
15 can read message files in that antiquated format.
17 Each user possesses a mail drop box which initially receives all messages
21 will read from that drop
22 box and incorporate the new messages found there into the user's own
23 mail folders (typically
24 .RI \*(lq +inbox \*(rq).
25 The mail drop box consists of one or more messages.
27 Messages are expected to consist of lines of text. Graphics and binary
28 data are not handled. No data compression is accepted. All text is
29 clear ASCII 7-bit data.
31 The general \*(lqmemo\*(rq framework of RFC 822 is used. A message
32 consists of a block of information in a rigid format, followed by
33 general text with no specified format. The rigidly formatted first
34 part of a message is called the header, and the free-format portion is
35 called the body. The header must always exist, but the body is optional.
36 These parts are separated by an empty line, i.e., two consecutive newline
39 the header and body may be separated by a line consisting of dashes:
43 From: Local Mailbox <user@example.com>
51 The header is composed of one or more header items. Each header item can
52 be viewed as a single logical line of ASCII characters. If the text of
53 a header item extends across several real lines, the continuation lines
54 are indicated by leading spaces or tabs.
56 Each header item is called a component and is composed of a keyword or
57 name, along with associated text. The keyword begins at the left margin,
58 may NOT contain spaces or tabs, may not exceed 63 characters (as specified
59 by RFC 822), and is terminated by a colon (`:'). Certain components
60 (as identified by their keywords) must follow rigidly defined formats
61 in their text portions.
63 The text for most formatted components (e.g., \*(lqDate:\*(rq and
64 \*(lqMessage\-Id:\*(rq) is produced automatically. The only ones entered
65 by the user are address fields such as \*(lqTo:\*(rq, \*(lqcc:\*(rq,
66 etc. Internet addresses are assigned mailbox names and host computer
67 specifications. The rough format is \*(lqlocal@domain\*(rq, such as
68 \*(lqMH@UCI\*(rq, or \*(lqMH@UCI\-ICSA.ARPA\*(rq. Multiple addresses
69 are separated by commas. A missing host/domain is assumed to be the
72 As mentioned above, a blank line (or a line of dashes) signals that all
73 following text up to the end of the file is the body. No formatting is
74 expected or enforced within the body.
76 Following is a list of header components that are considered
85 contains date and time of the message's entry
86 into the mail transport system.
91 This header is filled in by default with the system's idea of the user's local
92 mailbox. This can be changed with the
95 contains the address of the author or authors
96 (may be more than one if a \*(lqSender:\*(rq field is present). For a
99 the reply address is constructed by
100 checking the following headers (in this order): \*(lqMail-Reply\-To:\*(rq,
101 \*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq, \*(lqSender:\*(rq.
103 header MUST exist when the message is sent to
105 otherwise the message will be rejected.
108 .BR Mail\-Reply\-To :
110 For a standard reply (using
113 constructed by checking the following headers (in this order):
114 \*(lqMail-Reply\-To:\*(rq, \*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq,
118 .BR Mail\-Followup\-To :
120 When making a \*(lqgroup\*(rq reply (using
123 any addresses in this field will take precedence, and no other reply address
124 will be added to the draft. If this header is not available, then the
125 return addresses will be constructed from the \*(lqMail-Reply\-To:\*(rq,
126 or \*(lqReply\-To:\*(rq, or \*(lqFrom:\*(rq, along with adding the
127 addresses from the headers \*(lqTo:\*(rq, \*(lqcc:\*(rq, as well as
128 adding your personal address.
133 For a standard reply (using
136 constructed by checking the following headers (in this order):
137 \*(lqMail-Reply\-To:\*(rq, \*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq,
145 in the event that the message has multiple addresses on the
146 \*(lqFrom:\*(rq line. It is otherwise optional. This line should
147 contain the address of the actual
153 Contains addresses of primary recipients.
158 Contains addresses of secondary recipients.
163 Still more recipients. However, the \*(lqBcc:\*(rq line is not
164 copied onto the message as delivered, so these recipients are not
167 uses an encapsulation method for blind copies, see
173 Still more recipients. However, the \*(lqDcc:\*(rq line is not
174 copied onto the messages as delivered. Recipients on the \*(lqDcc:\*(rq
175 line receive the same messsage as recipients on the \*(lqTo:\*(rq and
176 \*(lqcc:\*(rq lines. See
180 is not supported with the
182 mail transport method.
189 to copy the message into the specified folder for the sender,
190 if the message was successfully given to the transport system.
195 A unique message identifier added by
204 Sender's commentary. It is displayed by
210 A commentary line added by
212 when replying to a message.
217 Added when redistributing a message by
223 Added when redistributing a message by
229 New recipients for a message resent by
235 Still more recipients. See \*(lqcc:\*(rq and \*(lqResent\-To:\*(rq.
240 Even more recipients. See \*(lqBcc:\*(rq and \*(lqResent\-To:\*(rq.
245 Copy resent message into a folder.
246 See \*(lqFcc:\*(rq and \*(lqResent\-To:\*(rq.
249 .BR Resent\-Message\-Id :
251 A unique identifier glued on by
256 See \*(lqMessage\-Id:\*(rq and \*(lqResent\-To:\*(rq.
288 .ta \w'%etcdir%/ExtraBigFileName 'u
289 ^%mailspool%/$USER~^Location of mail drop
293 Standard for the Format of ARPA Internet Text Messages