slocal
PURPOSE
Processes incoming mail.
SYNOPSIS
slocal [-noverbose][-verbose][-debug][-help]
DESCRIPTION
The slocal command is used to perform a set of actions
each time a message is sent to the user. slocal is not
designed to be run directly by the user; it is designed
to be called by the sendmail command. The slocal command
is part of the MH (Message Handling) package and can be
used with other MH and AIX commands.
The sendmail command invokes the slocal command when it
encounters the following line in $HOME/.forward:
| /usr/lib/mh/slocal
For each new incoming message, slocal performs the
actions specified in the .maildelivery file. If slocal
cannot find the file $HOME/.maildelivery, slocal uses the
default file /usr/lib/mh/maildelivery. If the delivery
request fails, slocal delivers the message to
/usr/mail/$USER.
The actions that can be specified in .maildelivery are
described in AIX Operating System Technical Reference
under mhooks.
FLAGS
-debug Provides information for debugging.
-help Displays help information for the
command.
-noverbose Does not display information as the
system executes commands in the
maildelivery file. This flag is the
default.
-verbose Displays information as the system
executes commands in the maildelivery
file.
FILES
/usr/lib/mh/mtstailor The MH tailor file.
/usr/lib/mh/maildelivery The default MH local delivery
instructions file.
$HOME/.maildelivery The user's local delivery
instructions file.
$HOME/.forward The user's default message
filter file.
RELATED INFORMATION
The following commands: "rcvdist," "rcvpack,"
"rcvstore," "rcvtty," "sendmail."
The mh-format, mhook, mh-mail, and mh-profile file
formats in AIX Operating System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.