post(8mh) post(8mh)
Name
post - deliver a message
Syntax
/usr/lib/mh/post [ options ] file
Description
The program is called by to deliver the message in the named file to local and remote users. In fact, all of the functions attributed to
on its reference page are performed by with acting as a relatively simple pre-processor. Thus, it is which parses the various header
fields, appends From: and Date: lines, and interacts with the transport system.
Normally, 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 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
message.
Options
-alias aliasfile
Specifies a file that should take aliases from. More than one file can be specified, each being preceded with the -alias option.
automatically consults the system alias file, If there is an Aliasfile entry in your 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 fil-
tered 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 stop 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 ULTRIX 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 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 command does not consult the user's
Files
The system customization file.
The program to process Fcc:s.
The program to process Bcc:s.
The system alias file.
See Also
comp(1mh), mhmail(1mh), send(1mh), mh-alias(5mh), mh-mail(5mh), mtstailor(5mh)
Standard for the Format of ARPA Internet Text Messages (RFC 822)
post(8mh)