-.TH SLOCAL %manext1% "January 16, 2006" "%nmhversion%"
+.TH SLOCAL %manext1% "May 2, 2016" "%nmhversion%"
.\"
.\" %nmhwarning%
.\"
.SH SYNOPSIS
.HP 5
.na
-.B %libdir%/slocal
-[address\ info\ sender]
+.B %nmhlibexecdir%/slocal
+.RB [ \-help ]
+.RB [ \-version ]
.RB [ \-addr
.IR address ]
.RB [ \-info
.RB [ \-verbose " | " \-noverbose ]
.RB [ \-suppressdup " | " \-nosuppressdup ]
.RB [ \-debug ]
-.RB [ \-version ]
-.RB [ \-help ]
.ad
.SH DESCRIPTION
.B Slocal
.BR sendmail ,
the sender will obtained from the UUCP
\*(lqFrom:\*(rq line, if present. The user may override these
-values with command line arguments, or arguments to the
+values with the
.B \-addr
and
.B \-sender
switch tells
.B slocal
the name of the user for
-whom it is delivering mail. The
+whom it is delivering mail. It must exist on the local system. The
.B \-mailbox
switch tells
.B slocal
You should include the line
.PP
.ce
-\*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
+\*(lq|\ %nmhlibexecdir%/slocal\ \-user\ username\*(rq
.PP
in your \&.forward file in your home directory. This will cause
your MTA to invoke
.B slocal
filters and delivers
incoming mail. Each line of this file consists of five fields, separated
-by white-space or comma. Since double-quotes are honored, these
+by whitespace or comma. Since double-quotes are honored, these
characters may be included in a single argument by enclosing the entire
argument in double-quotes. A double-quote can be included by preceding it
with a backslash. Lines beginning with `#' and blank lines are ignored.
is considered delivered.
.TP \w'Azzz'u
.I R
-Perform the action. Regardless of the outcome of the action,
+Perform the action. Regardless of the outcome of the action,
the message is not considered delivered.
.TP \w'Azzz'u
.I ?
perform an action which delivers the message, then
.B slocal
will check for a global delivery file at
-.IR %etcdir%/maildelivery .
+.IR %nmhetcdir%/maildelivery .
This file is read according to the same rules. This file must be
-owned by the root and must be writable only by the root.
+owned by root and must be writable only by root.
.PP
If a global delivery file cannot be found or does not perform an
action which delivers the message, then standard delivery to the
default \- file ? mailbox
# always run rcvtty
-* \- pipe R %libdir%/rcvtty
+* \- pipe R %nmhlibexecdir%/rcvtty
.fi
.SS "Sub-process environment"
When a process is invoked, its environment is: the user/group-ids are
.SH FILES
.fc ^ ~
.nf
-.ta \w'%etcdir%/ExtraBigFileName 'u
-^%etcdir%/mts.conf~^nmh mts configuration file
+.ta \w'%nmhetcdir%/ExtraBigFileName 'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
^$HOME/\&.maildelivery~^The file controlling local delivery
-^%etcdir%/maildelivery~^Rather than the standard file
+^%nmhetcdir%/maildelivery~^Rather than the standard file
^%mailspool%/$USER~^The default maildrop
.fi
.SH "SEE ALSO"
.RB ` \-maildelivery "' defaults to $HOME/\&.maildelivery"
.RB ` \-mailbox "' deaults to %mailspool%/$USER"
.RB ` \-file "' defaults to stdin"
+.RB ` \-addr "' defaults to the current user"
.RB ` \-user "' defaults to the current user"
.fi
+.PP
+.B \-addr
+and
+.B \-user
+will be set the the user part of the Local-Mailbox profile entry, if set.
.SH CONTEXT
None
.SH HISTORY