]> diplodocus.org Git - nmh/blobdiff - man/slocal.man
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / man / slocal.man
index fa6625e888c3fc23569d189dec6752b29808ba28..520ef531b2d2e40a25f565c060f99eab2aa72404 100644 (file)
@@ -1,9 +1,9 @@
-.TH SLOCAL %manext1% "May 2, 2016" "%nmhversion%"
-.\"
+.TH SLOCAL %manext1% 2016-05-02 "%nmhversion%"
+.
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
-slocal \- asynchronously filter and deliver new mail
+slocal \- asynchronously filter and deliver new mail to nmh
 .SH SYNOPSIS
 .HP 5
 .na
@@ -43,9 +43,9 @@ is invoked on your behalf by your system's Message Transfer Agent
 when the message arrives.
 .PP
 The message selection criteria used by
-.B slocal is specified
-in the file
-.RI \*(lq \&.maildelivery \*(rq
+.B slocal
+is specified in the file
+.RI \*(lq .maildelivery \*(rq
 in the user's home directory.
 You can specify an alternate file with the
 .B \-maildelivery
@@ -68,7 +68,7 @@ The message is normally read from the standard input.  The
 .B \-file
 switch sets the name of the file from which the message should be
 read, instead of reading stdin.  This is useful when debugging a
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file.
 .PP
 The
@@ -109,19 +109,19 @@ stdout about its progress.  The
 switch produces more
 verbose debugging output on stderr.  These flags are useful when
 creating and debugging your
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file, as they
 allow you to see the decisions and actions that
 .B slocal
 is taking, as well as check for syntax errors in your
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file.
 .SS "Message Transfer Agents"
 Most modern MTAs including
 .BR sendmail ,
-.BR postfix
+.BR postfix ,
 and
-.BR exim
+.B exim
 support a \&.forward file for directing incoming mail.
 You should include the line
 .PP
@@ -134,7 +134,7 @@ your MTA to invoke
 on your behalf when a message arrives.
 .SS "The Maildelivery File"
 The
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file controls how
 .B slocal
 filters and delivers
@@ -145,7 +145,7 @@ argument in double-quotes.  A double-quote can be included by preceding it
 with a backslash.  Lines beginning with `#' and blank lines are ignored.
 .PP
 The format of each line in the
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file is:
 .PP
 .RS 5
@@ -168,7 +168,7 @@ the address that was used to cause delivery to the recipient
 .TP \w'defaultrrr'u
 .I default
 this matches
-.B only
+.I only
 if the message hasn't been delivered yet
 .TP \w'defaultrrr'u
 .I *
@@ -275,13 +275,13 @@ can be made and several actions can be taken.
 .RE
 .SS "Security of Delivery Files"
 In order to prevent security problems, the
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file must be owned either by the user or by root, and must be
 writable only by the owner.  If this is not the case, the file is
 not read.
 .PP
 If the
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file cannot be found, or does not
 perform an action which delivers the message, then
 .B slocal
@@ -366,7 +366,7 @@ quicker delivery into your mail drop.
 .nf
 .ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^%nmhetcdir%/mts.conf~^nmh mts configuration file
-^$HOME/\&.maildelivery~^The file controlling local delivery
+^$HOME/.maildelivery~^The file controlling local delivery
 ^%nmhetcdir%/maildelivery~^Rather than the standard file
 ^%mailspool%/$USER~^The default mail drop
 .fi
@@ -380,7 +380,7 @@ quicker delivery into your mail drop.
 .nf
 .RB ` \-noverbose '
 .RB ` \-nosuppressdup '
-.RB ` \-maildelivery "' defaults to $HOME/\&.maildelivery"
+.RB ` \-maildelivery "' defaults to $HOME/.maildelivery"
 .RB ` \-mailbox "' defaults to %mailspool%/$USER"
 .RB ` \-file "' defaults to stdin"
 .RB ` \-addr "' defaults to the current user"
@@ -401,7 +401,7 @@ the
 facility provided by
 .BR MMDF-II .
 Thus, the
-.RI \*(lq \&.maildelivery \*(rq
+.RI \*(lq .maildelivery \*(rq
 file syntax is somewhat limited.  But
 .B slocal
 has been modified and extended, so that is it no longer compatible with