]> diplodocus.org Git - nmh/blobdiff - man/mh-mail.man
new.c: Order two return statements to match comment.
[nmh] / man / mh-mail.man
index 30506e996153c92a318af70d80543771c60cf980..3fb70954613f614ba5bc2334c7920c48243bc7b9 100644 (file)
@@ -1,13 +1,9 @@
-.\"
+.TH MH-MAIL %manext5% 2014-01-08 "%nmhversion%"
+.
 .\" %nmhwarning%
-.\"
-.TH MH-MAIL %manext5% "%nmhdate%" MH.6.8 [%nmhversion%]
+.
 .SH NAME
 mh-mail \- message format for nmh message system
-.SH SYNOPSIS
-any
-.B nmh
-command
 .SH DESCRIPTION
 .B nmh
 processes messages in a particular format.  It should be noted
@@ -16,30 +12,29 @@ in the format that
 .B nmh
 prefers,
 .B nmh
-can read message files in that antiquated format.
+can read message files in that format.
 .PP
-Each user possesses a mail drop box which initially receives all messages
+Each user possesses a mail drop which initially receives all messages
 processed by
 .BR post .
-.B Inc
-will read from that drop
-box and incorporate the new messages found there into the user's own
-mail folders (typically
+.B inc
+will read from that mail drop and incorporate new messages found there
+into the user's own mail folders (typically
 .RI \*(lq +inbox \*(rq).
-The mail drop box consists of one or more messages.
+The mail drop consists of one or more messages.
 .PP
 Messages are expected to consist of lines of text.  Graphics and binary
 data are not handled.  No data compression is accepted.  All text is
 clear ASCII 7-bit data.
 .PP
-The general \*(lqmemo\*(rq framework of RFC\-822 is used.  A message
+The general \*(lqmemo\*(rq framework of RFC 822 is used.  A message
 consists of a block of information in a rigid format, followed by
 general text with no specified format.  The rigidly formatted first
 part of a message is called the header, and the free-format portion is
 called the body.  The header must always exist, but the body is optional.
 These parts are separated by an empty line, i.e., two consecutive newline
 characters.  Within
-.B nmh ,
+.BR nmh ,
 the header and body may be separated by a line consisting of dashes:
 .PP
 .RS 5
@@ -59,8 +54,10 @@ are indicated by leading spaces or tabs.
 .PP
 Each header item is called a component and is composed of a keyword or
 name, along with associated text.  The keyword begins at the left margin,
-may NOT contain spaces or tabs, may not exceed 63 characters (as specified
-by RFC\-822), and is terminated by a colon (`:').  Certain components
+may
+.I not
+contain spaces or tabs, may not exceed 63 characters (as specified
+by RFC 822), and is terminated by a colon (`:').  Certain components
 (as identified by their keywords) must follow rigidly defined formats
 in their text portions.
 .PP
@@ -86,8 +83,7 @@ programs.
 .RS 5
 Added by
 .BR post ,
-contains date and time of the message's entry
-into the mail transport system.
+contains date and time of the message's entry into the mail transport system.
 .RE
 .PP
 .BR From :
@@ -95,28 +91,38 @@ into the mail transport system.
 This header is filled in by default with the system's idea of the user's local
 mailbox.  This can be changed with the
 .B Local\-Mailbox
-profile entry.  It
-contains the address of the author or authors
-(may be more than one if a \*(lqSender:\*(rq field is present).  For a
-standard reply (using
+profile entry.
+It contains the address of the author or authors (may be more than one if a
+\*(lqSender:\*(rq field is present).  For a standard reply (using
 .BR repl ),
-the reply address is constructed by
-checking the following headers (in this order): \*(lqMail-Reply\-To:\*(rq,
-\*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq, \*(lqSender:\*(rq.
-A \*(lqFrom:\*(rq
-header MUST exist when the message is sent to
-.BR post,
+the reply address is constructed by checking the following headers (in this
+order): \*(lqMail-Reply\-To:\*(rq, \*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq,
+\*(lqSender:\*(rq.  A \*(lqFrom:\*(rq header MUST exist when the message is
+sent to
+.BR post ,
 otherwise the message will be rejected.
 .RE
 .PP
+.BR Envelope\-From :
+.RS 5
+Used by
+.B post
+to specify a value for the sender's envelope address to the mail transport
+system.  If omitted,
+.B post
+will use the value of the \*(lqSender:\*(rq or the \*(lqFrom:\*(rq header.
+See
+.IR send (1)
+for more details.
+.RE
+.PP
 .BR Mail\-Reply\-To :
 .RS 5
 For a standard reply (using
 .BR repl ),
-the reply address is
-constructed by checking the following headers (in this order):
-\*(lqMail-Reply\-To:\*(rq, \*(lqReply\-To:\*(rq, \*(lqFrom:\*(rq,
-\*(lqSender:\*(rq.
+the reply address is constructed by checking the following headers
+(in this order): \*(lqMail-Reply\-To:\*(rq, \*(lqReply\-To:\*(rq,
+\*(lqFrom:\*(rq, \*(lqSender:\*(rq.
 .RE
 .PP
 .BR Mail\-Followup\-To :
@@ -148,8 +154,7 @@ Required by
 .B post
 in the event that the message has multiple addresses on the
 \*(lqFrom:\*(rq line.  It is otherwise optional.  This line should
-contain the address of the actual
-sender.
+contain the address of the actual sender.
 .RE
 .PP
 .BR To :
@@ -169,20 +174,20 @@ copied onto the message as delivered, so these recipients are not
 listed.
 .B nmh
 uses an encapsulation method for blind copies, see
-.BR send (1).
+.IR send (1).
 .RE
 .PP
 .BR Dcc :
 .RS 5
 Still more recipients.  However, the \*(lqDcc:\*(rq line is not
 copied onto the messages as delivered.  Recipients on the \*(lqDcc:\*(rq
-line receive the same messsage as recipients on the \*(lqTo:\*(rq and
+line receive the same message as recipients on the \*(lqTo:\*(rq and
 \*(lqcc:\*(rq lines.  See
-.BR send (1)
+.IR send (1)
 for more details.
 .B Dcc
 is not supported with the
-.B pipe
+.B sendmail/pipe
 mail transport method.
 .RE
 .PP
@@ -224,11 +229,12 @@ Added when redistributing a message by
 .PP
 .BR Resent\-From :
 .RS 5
-Added when redistributing a message by
-.BR post .
+Used instead of the \*(lqFrom:\*(rq header when
+.B post
+redistributes a message.  See \*(lqFrom:\*(rq.
 .RE
 .PP
-.BR Resent\-To:
+.BR Resent\-To :
 .RS 5
 New recipients for a message resent by
 .BR dist .
@@ -236,12 +242,12 @@ New recipients for a message resent by
 .PP
 .BR Resent\-cc :
 .RS 5
-Still more recipients. See \*(lqcc:\*(rq and \*(lqResent\-To:\*(rq.
+Still more recipients.  See \*(lqcc:\*(rq and \*(lqResent\-To:\*(rq.
 .RE
 .PP
 .BR Resent\-Bcc :
 .RS 5
-Even more recipients. See \*(lqBcc:\*(rq and \*(lqResent\-To:\*(rq.
+Even more recipients.  See \*(lqBcc:\*(rq and \*(lqResent\-To:\*(rq.
 .RE
 .PP
 .BR Resent\-Fcc :
@@ -286,17 +292,22 @@ under the
 .B \-annotate
 option.
 .RE
-
+.PP
+.BR Attach :
+.RS 5
+Used by
+.B mhbuild
+to specify a filename to attach to this message.  See
+.IR mhbuild (1)
+for more information.
+.RE
 .SH FILES
-.fc ^ ~
-.nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%mailspool%/$USER~^Location of mail drop
-.fi
-
+.TP 20
+%mailspool%/$USER
+Location of mail drop.
 .SH "SEE ALSO"
-.I "Standard for the Format of ARPA Internet Text Messages
-(RFC\-822)
-
+.I
+Standard for the Format of ARPA Internet Text Messages
+(RFC 822)
 .SH CONTEXT
 None