post
PURPOSE
Delivers a message.
SYNOPSIS
post [-alias aliasfile][-filter filterfile]
[-nofilter][-format][-noformat][msgid]
[-nomsgid][-verbose][-noverbose]
[-watch][-nowatch][-width columns]
file...
post -help
DESCRIPTION
The post command is used to route messages to the proper
destinations. post is not designed to be run directly by
the user; it is designed to be called by other programs.
The post command is part of the MH (Message Handling)
package.
The post command searches all components of a message
that specify a recipient's address and parses each
address to check for proper format. post puts proper
addresses in the standard format and calls the sendmail
command. post also performs header operations, such as
appending the Date: and From: components and processing
the Bcc: component.
The post command may report errors when parsing complex
addresses (for example, "@A:harold@B.UUCP"). If the
sendmail program is installed on your system and you use
complex addresses, use the spost command instead of the
post command.
FLAGS
-alias file Searches the specified mail alias file for
addresses. You can use this flag repet-
itively to specify multiple mail alias files.
post automatically searches the file
/usr/lib/mh/MailAliases.
-filter file Uses the header components in the specified
file for copies of the message sent to Bcc:
recipients.
-format Puts all recipient addresses in a standard
format for the delivery transport system.
This flag is the default.
-help Displays help information for the command.
-msgid Adds a message-identification component (such
as Message-ID:) to the message.
-nofilter Strips the Bcc: header from the message for
the To: and cc: recipients. Sends the
message with minimal headers to the Bcc:
recipients. This flag is the default.
-noformat Does not alter the format of the recipient
addresses.
-nomsgid Does not add a message-identification compo-
nent to the message. This flag is the
default.
-noverbose Does not display information during the
delivery of the message to the sendmail
command. This flag is the default.
-nowatch Does not display information during delivery
by the sendmail command. This flag is the
default.
-verbose Displays information during the delivery of
the message to the sendmail command. This
information allows you to monitor the steps
involved.
-watch Displays information during the delivery of
the message by the sendmail command. This
information allows you to monitor the steps
involved.
-width num Sets the width of components that contain
addresses. The default is 72 columns.
FILES
/usr/lib/mh/MailAliases The default mail alias
file.
/usr/lib/mh/mtstailor The MH tailor file.
RELATED INFORMATION
Other commands: "ali," "conflict," "mhmail," "send,"
"sendmail," "spost," and "whom."
The mh-alias, mh-format, mh-mail, and mh-profile files in
AIX Operating System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.