.\"
.\" %nmhwarning%
-.\" $Id$
.\"
.TH SLOCAL %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
.SH NAME
file.
.SS "Message Transfer Agents"
-If your MTA is
+Most modern MTAs including
.BR sendmail ,
-you should include the line
+.BR postfix
+and
+.BR exim
+support a \&.forward file for directing incoming mail.
+You should include the line
.PP
.RS 5
\*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
.RE
.PP
in your \&.forward file in your home directory. This will cause
-.B sendmail
-to invoke
+your MTA to invoke
.B slocal
on your behalf when a message arrives.
-.PP
-If your MTA is
-.BR MMDF-I ,
-you should (symbolically) link
-.B %libdir%/slocal
-to the file
-.B bin/rcvmail
-in your home directory. This will
-cause
-.B MMDF-I
-to invoke
-.B slocal
-on your behalf with the correct
-.RI \*(lq "address\ info\ sender" \*(rq
-arguments.
-.PP
-If your MTA is
-.BR MMDF-II ,
-then you should not use
-.B slocal.
-An equivalent functionality is already provided by
-.BR MMDF-II ;
-see
-.BR maildelivery (5)
-for details.
.SS "The Maildelivery File"
The
The action to take to deliver the message. When a message is delivered,
a \*(lqDelivery\-Date:\ date\*(rq header is added which indicates the date
and time that message was delivered.
-.TP \w'qpipezorztzzz'u
+.TP 4
.I destroy
This action always succeeds.
+.TP 4
.IR file ", " mbox ", or " >
Append the message to the file named by
.IR string .
appended to the file in mbox (uucp) format. This is the format used by most
other mail clients (such as mailx, elm). If the message can be appended to
the file, then this action succeeds.
-.TP \w'qpipezorztzzz'u
+.TP 4
.I mmdf
Identical to
.IR file ,
but always appends the message using the MMDF mailbox format.
-.TP \w'qpipezorztzzz'u
+.TP 4
.IR pipe " or " |
Pipe the message as the standard input to the command named by
.IR string ,
to interpret the string.
Prior to giving the string to the shell, it is expanded with the following
built-in variables:
-.RS \w'qpipezorztzzz'u
+.RS
.TP \w'zzreplyztozaaa'u
$(sender)
the out-of-band sender information
$(info)
the out-of-band information specified
.RE
-.PP
-.TP \w'qpipezorztzzz'u
+.TP 4
.IR qpipe " or " ^
Similar to
.IR pipe ,
directly, after built-in variable expansion, without assistance from
the shell. This action can be used to avoid quoting special characters
which your shell might interpret.
-.TP \w'qpipezorztzzz'u
+.TP 4
.IR folder " or " +
Store the message in the
.B nmh
default \- file ? mailbox
# always run rcvtty
-* \- pipe R /nmh/lib/rcvtty
+* \- pipe R %libdir%/rcvtty
.fi
.SS "Sub-process environment"
.SH FILES
.fc ^ ~
.nf
-.ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u
+.ta \w'%etcdir%/ExtraBigFileName 'u
^%etcdir%/mts.conf~^nmh mts configuration file
^$HOME/\&.maildelivery~^The file controlling local delivery
^%etcdir%/maildelivery~^Rather than the standard file