SLOCAL(1m,C) AIX Commands Reference SLOCAL(1m,C)
-------------------------------------------------------------------------------
slocal
PURPOSE
Processes incoming mail.
SYNTAX
+----------------+ +----------+
slocal ---| one of |---| |---|
| | +------------+ | +- -debug -+ |
| +-| -verbose |-+ |
| | -noverbose | |
| +------------+ |
+-------------- -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 Message Handling (MH) 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
.mail delivery 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 $HOME/$USER.
The actions that can be specified in .mail delivery 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.
Processed November 8, 1990 SLOCAL(1m,C) 1
SLOCAL(1m,C) AIX Commands Reference SLOCAL(1m,C)
-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 message handlinglocal delivery
instructions file.
$HOME/.maildelivery The user's local delivery instructions file.
$HOME/.forward The user's default message filter file.
RELATED INFORMATION
See the following commands: "rcvdist," "rcvpack," "rcvstore," "rcvtty,"
"sendmail, mailq, newaliases."
See the mh-format, mhook, mh-mail and mh-profile file formats in AIX Operating
System Technical Reference.
Processed November 8, 1990 SLOCAL(1m,C) 2