post(8)post(8)NAMEpost - deliver a message
SYNOPSIS
/usr/lib/mh/post [options] file
OPTIONS
Specifies a file that post should take aliases from. More than one file
can be specified, each being preceded with the -alias option. The post
program automatically consults the system alias file,
/usr/lib/mh/MailAliases. If there is an Aliasfile entry in your post
also consults the file named in that entry. Filters (re-formats) mes‐
sages sent to blind copy recipients. Recipients named in the Bcc:
field normally receive a new message which includes a copy of the mes‐
sage sent to the other recipients. If this option is specified, this
copy of the message is filtered according to the instructions in the
named file. The default is -nofilter. Formats messages so as to con‐
form to ARPAnet Internet Message Format protocol. This is the default
behavior. You can post from formatting messages in this way by using
the -noformat option. Prints a list of the valid options to this com‐
mand. Adds a Message-ID: or Resent-Message-ID: field to the header.
Specifies the mail system over which mail is sent. The only value
allowed is smtp, which is the standard mail system. Additional values
are supported only for use with other mail systems. Informs the user
of each step of the posting/filing process. Allows the user to watch
the transport system's handling of the message (for example, local and
fast delivery). Specifies the preferred length of the header compo‐
nents that contain addresses.
The default settings for post are:
-alias /usr/lib/mh/MailAliases
-format
-nomsgid
-mts smtp
-noverbose
-nowatch
-width 72
-nofilter
DESCRIPTION
The program post is called by send(1) to deliver the message in the
named file to local and remote users. In fact, all of the functions at‐
tributed to send on its reference page are performed by post, with send
acting as a relatively simple pre-processor. Thus, it is post which
parses the various header fields, appends From: and Date: lines, and
interacts with the transport system.
Normally, post would not be called directly by the user.
It searches the To:, cc:, Bcc:, and Resent-xxx: header lines of the
specified message for destination addresses, checks these addresses for
validity, and formats them so as to conform to ARPAnet Internet Message
Format protocol (unless the -noformat option is set). This will nor‐
mally cause @local-site to be appended to each local destination
address, as well as any local return addresses.
If a Bcc: field is encountered, the mail system will use its addresses
for delivery. The Bcc: is removed from the message sent to original
recipients. The copied recipients will receive an entirely new message
with a minimal set of headers. The mail system includes a copy of the
message sent to the original recipients in the body of the message.
This command consults the environment variable $SIGNATURE to determine
the sender's personal name in constructing the From: line of the mes‐
sage.
RESTRICTIONS
For this version, the -mts option only supports the value smtp. Addi‐
tional values are supported for use only with other mail systems.
PROFILE COMPONENTS
The post command does not consult the user's
FILES
The system customization file. The program to process Fcc:s. The pro‐
gram to process Bcc:s. The system alias file.
SEE ALSO
Commands: comp(1), mhmail(1), send(1)
Files: mh-alias(4), mh-mail(4), mtstailor(4)
Standard for the Format of ARPA Internet Text Messages (RFC 822)
post(8)