[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

slocal Command

Purpose

Processes incoming mail.

Syntax

slocal [ -verbose | -noverbose ] [ -debug ]

Description

The slocal command performs a set of actions each time a message is sent to the user. The slocal command is not started by the user. The slocal command is called by the sendmail command.

The sendmail command starts the slocal command upon encountering the following line in the $HOME/.forward files:

/usr/lib/mh/slocal

For each incoming message, the slocal command performs the actions specified in the .maildelivery file. If the slocal command cannot find the $HOME/.maildelivery file, the slocal command uses the /etc/mh/maildelivery default file. If the delivery request fails, the slocal command delivers the message to the /usr/mail/$USER file.

Flags

-debug Provides information for debugging.
-help Lists the command syntax, available switches (toggles), and version information.

Note: For Message Handler (MH), the name of this flag must be fully spelled out.
-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 Contains MH command definitions.
/etc/mh/.maildelivery Contains the default MH instructions for local mail delivery.
$HOME/.maildelivery Provides the user with MH instructions for local mail delivery.
$HOME/.forward Contains either the line that starts the slocal command or a path to forward mail.
/etc/mh/mh_profile Contains parameters that customize the MH package.

Related Information

The rcvdist command, rcvpack command, rcvstore command, rcvtty command, sendmail command.

Mail Overview in AIX 5L Version 5.2 System User's Guide: Communications and Networks.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]