 |
Index for Section 8 |
|
 |
Alphabetical listing for P |
|
post(8)
NAME
post - deliver a message
SYNOPSIS
/usr/lib/mh/post [ options ] file
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 attributed
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 flag is set). This will normally
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 message.
FLAGS
-alias aliasfile
Specifies a file that post should take aliases from. More than
one file can be specified, each being preceded with the -alias
option. post automatically consults the system alias file,
/usr/lib/mh/MailAliases. If there is an Aliasfile entry in your
.mh_profile, post also consults the file named in that entry.
-filter filterfile
-nofilter Filters (re-formats) messages sent to blind copy recipients.
Recipients named in the Bcc: field normally receive a new message
which includes a copy of the message 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.
-format
-noformat Formats messages so as to conform 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.
-help Prints a list of the valid options to this command.
-msgid
-nomsgid Adds a Message-ID: or Resent-Message-ID: field to the header.
-mts smtp 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.
-verbose
-noverbose
Informs the user of each step of the posting/filing process.
-watch
-nowatch Allows the user to watch the transport system's handling of the
message (for example, local and fast delivery).
-width columns
Specifies the preferred length of the header components that
contain addresses.
The default settings for post are:
-alias /usr/lib/mh/MailAliases
-format
-nomsgid
-mts smtp
-noverbose
-nowatch
-width 72
-nofilter
RESTRICTIONS
For this version, the -mts option only supports the value smtp. Additional
values are supported for use only with other mail systems.
PROFILE COMPONENTS
The post command does not consult the user's .mh_profile.
FILES
/usr/lib/mh/mtstailor
The system customization file.
/usr/bin/mh/refile
The program to process Fcc:s.
/usr/lib/mh/mhl
The program to process Bcc:s.
/usr/lib/mh/MailAliases
The system alias file.
RELATED INFORMATION
comp(1), mhmail(1), send(1), mh-alias(4), mh-mail(4), mtstailor(4)
Standard for the Format of ARPA Internet Text Messages (RFC 822)