SPOST(1m,C) AIX Commands Reference SPOST(1m,C)
-------------------------------------------------------------------------------
spost
PURPOSE
Delivers a message.
SYNTAX
+- -alias /usr/lib/mh/MailAlias -+ +--- -format ---+
spost ---| +---- -noalias -----+ |---| |--->
+-| |----------+ | one of |
+--- -alias file ---+ | +-----------+ |
^ | +-| -format |-+
+---------------+ | -noformat |
+-----------+
+--- -nofilter ----+ +- -width 72 --+ +-- -nowatch --+
>---| |---| |---| |--->
| one of | +- -width num -+ | one of |
| +--------------+ | | +----------+ |
+-| -filter file |-+ +-| -watch |-+
| -nofilter | | -nowatch |
+--------------+ +----------+
+--- -remove ---+ +-- -nobackup --+ +-- -noverbose --+
>---| |---| |---| |--- file ---|
| one of | | one of | | one of | ^ |
| +-----------+ | | +-----------+ | | +------------+ | +--------+
+-| -remove |-+ +-| -backup |-+ +-| -verbose |-+
| -noremove | | -nobackup | | -noverbose |
+-----------+ +-----------+ +------------+
spost --- -help ---|
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The spost command is used to route messages to the proper destinations. The
command is designed to be called by other programs rather than being run
directly by users. The spost command is part of the Message Handling (MH)
package.
The spost 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 invokes the sendmail
Processed November 8, 1990 SPOST(1m,C) 1
SPOST(1m,C) AIX Commands Reference SPOST(1m,C)
command. The spost command performs a similar function as the post command,
but spost does less internal error checking than post.
FLAGS
-alias file Searches the specified mail alias file for addresses. You can
use this flag repetitively to specify multiple mail alias files.
The spost command automatically searches the file
/usr/lib/mh/MailAliases.
-backup Renames the message file by placing a "," (comma) before the file
name after spost successfully posts the message.
-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.
-nofilter Strips the bcc: header from the message and sends it to
recipients specified in the bcc: component. This flag is the
default.
-noalias Does not use any alias files for delivering the message.
-nobackup Does not rename the message after posting the file. This flag is
the default.
-noformat Does not alter the format of the recipient addresses.
-noremove Does not remove the temporary message file after posting the
message.
-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.
-remove Removes the temporary message file after the successful
completion of posting the message. 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.
Processed November 8, 1990 SPOST(1m,C) 2
SPOST(1m,C) AIX Commands Reference SPOST(1m,C)
-width num Sets the width of components that contain addresses. The default
is 72 columns.
FILES
$HOME/.mh_profile The MH user profile.
/temp/pstnum The temporary message file.
RELATED INFORMATION
See the following commands: "ali," "conflict," "mhmail," "post," "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 the "Overview of the Message Handling Package" in Managing the AIX
Operating System.
Processed November 8, 1990 SPOST(1m,C) 3