slocal [ -verbose | -noverbose ] [ -debug ]
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.
-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. |
/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. |
The rcvdist command, rcvpack command, rcvstore command, rcvtty command, sendmail command.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.