POST(1m,C) AIX Commands Reference POST(1m,C)
-------------------------------------------------------------------------------
post
PURPOSE
Delivers a message.
SYNTAX
+- -alias /usr/lib/mh/MailAliases -+ +--- -format ---+
post ---| |---| |--->
+--- -alias file ------------------+ | one of |
^ | | +-----------+ |
+---------------+ +-| -format |-+
| -noformat |
+-----------+
+-- -nomsgid --+ +--- -nofilter ----+ +- -width 72 --+
>---| |---| |---| |--->
| one of | | one of | +- -width num -+
| +----------+ | | +--------------+ |
+-| -msgid |-+ +-| -filter file |-+
| -nomsgid | | -nofilter |
+----------+ +--------------+
+-- -noverbose --+ +-- -nowatch --+
>---| |---| |--- file ---|
| one of | | one of | ^ |
| +------------+ | | +----------+ | +--------+
+-| -verbose |-+ +-| -watch |-+
| -noverbose | | -nowatch |
+------------+ +----------+
post --- -help ---|
DESCRIPTION
The post command is used to route messages to the proper destinations. This
command is designed to be called by other programs rather than being called
directly by the user. The post command is part of the Message Handling (MH)
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. The
command puts proper addresses in the standard format and calls the sendmail
command. The command also performs header operations such as appending the
Date: and From: components and processing the Bcc: component.
Processed November 8, 1990 POST(1m,C) 1
POST(1m,C) AIX Commands Reference POST(1m,C)
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 repetitively to specify multiple mail alias files. The
post command 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 Removes 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 Prevents alteration of the format of the recipient addresses.
-nomsgid Does not add a message-identification component 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
Default mail alias file.
Processed November 8, 1990 POST(1m,C) 2
POST(1m,C) AIX Commands Reference POST(1m,C)
/usr/lib/mh/mtstailor
MH tailor file.
RELATED INFORMATION
See the following commands: "ali," "mhmail," "send," "sendmail, mailq,
newaliases," and "whom."
See the mh-alias, mh-format, mh-mail, and mh-profile files in AIX Operating
System Technical Reference.
See "Overview of the Message Handling Package" in Managing the AIX Operating
System.
Processed November 8, 1990 POST(1m,C) 3