]> diplodocus.org Git - nmh/blobdiff - man/mh-tailor.man
Mention `nmh' in man-page NAME section for apropos(1).
[nmh] / man / mh-tailor.man
index c446b2e2cc2cbaa597af19c92935b19d842a6e77..40e416260fb345b84605a8c9134f6e6a97d4937e 100644 (file)
@@ -6,7 +6,7 @@
 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
 .SH DESCRIPTION
 The file
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 defines run-time options for those
 .B nmh
 programs which interact (in some form) with the message transport system.
@@ -14,7 +14,6 @@ At present, these (user) programs are:
 .BR ap ,
 .BR inc ,
 .BR msgchk ,
-.BR msh ,
 .BR post ,
 .BR rcvdist ,
 and
@@ -35,8 +34,8 @@ and
 .PP
 If you use
 .BR smtp ,
-this will enable a direct SMTP (simple mail transport
-protocol) interface in
+this will enable a direct SMTP
+interface in
 .BR nmh .
 When sending mail, instead of passing the
 message to the mail transport agent,
@@ -85,7 +84,7 @@ qualified hostname.  If this is not set, depending on the version of
 UNIX you're running,
 .B nmh
 will query the system for this value
-(e.g. uname, gethostname, etc.), and attempt to fully qualify this
+(e.g.\& uname, gethostname, etc.), and attempt to fully qualify this
 value.
 .PP
 If you are using POP to retrieve new messages, you may want to set this
@@ -101,7 +100,7 @@ hostname.
 This should only be needed, if for some reason
 .B nmh
 is not able to
-fully qualify the hostname returned by the system (e.g. uname,
+fully qualify the hostname returned by the system (e.g.\& uname,
 gethostname, etc.).
 .RE
 .PP
@@ -157,14 +156,14 @@ file.
 .BR mmdfldir :
 %mailspool%
 .RS 5
-The directory where maildrops are kept.  If this option is set, but empty,
+The directory where mail drops are kept.  If this option is set, but empty,
 the user's home directory is used.  This overrides the default value
 chosen at the time of compilation.
 .RE
 .PP
 .BR mmdflfil :
 .RS 5
-The name of the maildrop file in the directory where maildrops are kept.
+The name of the mail drop file in the directory where mail drops are kept.
 If this is empty, the user's login name is used.  This overrides the default
 value (which is empty).
 .RE
@@ -172,19 +171,19 @@ value (which is empty).
 .BR mmdelim1 :
 \&\\001\\001\\001\\001\\n
 .RS 5
-The beginning-of-message delimiter for maildrops.
+The beginning-of-message delimiter for mail drops.
 .RE
 .PP
 .BR mmdelim2 :
 \&\\001\\001\\001\\001\\n
 .RS 5
-The end-of-message delimiter for maildrops.
+The end-of-message delimiter for mail drops.
 .RE
 .PP
 .BR spoollocking :
 %default_locking%
 .RS 5
-The locking algorithm to use when opening the maildrop.  Can be any one of
+The locking algorithm to use when opening the mail drop.  Can be any one of
 the following:
 .PP
 .RS 5
@@ -195,7 +194,7 @@ the following:
 .RE
 .PP
 .BR maildelivery :
-%libdir%/maildelivery
+%nmhlibexecdir%/maildelivery
 .RS 5
 The name of the system-wide default
 .I maildelivery
@@ -204,21 +203,6 @@ See
 .IR slocal (1)
 for the details.
 .RE
-.PP
-.BR everyone :
-200
-.RS 5
-The highest user-id which should NOT receive mail addressed to
-\*(lqeveryone\*(rq.
-.RE
-.PP
-.BR noshell :
-.RS 5
-If set, then each user-id greater than \*(lqeveryone\*(rq that has a
-login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
-indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
-This is useful for handling admin, dummy, and guest logins.
-.RE
 .SS "SMTP support"
 This option is only available if you set
 .B mts
@@ -228,12 +212,25 @@ to
 .BR servers :
 localhost
 .RS 5
-A lists of hosts and networks which to look for SMTP servers when
-posting non\-local mail.  It turns out this is a major win for hosts
-which don't run an message transport system.  The value of
+A SINGLE hostname to be used when performing mail submission via SMTP.  Previous
+versions of
+.B nmh
+supported multiple hostnames for
+.BR servers ,
+but the current version of
+.B nmh
+only supports a single entry (the name is kept for backwards compatibility
+reasons).  This can be overridden via the
+.B \-server
+option to
+.IR send (1).
+It is not possible to change the mail submission port number in the
 .B servers
-should be one or more items.  Each item is the name of a host which
-is (hopefully) running a SMTP server.
+entry; see the
+.B \-port
+option to
+.BR send (1)
+for this functionality.
 .SS "SendMail"
 This option is only available if you set
 .B mts
@@ -252,7 +249,7 @@ program.
 .RS 5
 The name of the default POP service host.  If this is not set, then
 .B nmh
-looks in the standard maildrop areas for waiting mail, otherwise
+looks in the standard mail drop areas for waiting mail, otherwise
 the named POP service host is consulted.
 .RE
 .\"  .SS "BBoards Delivery"
@@ -282,7 +279,7 @@ the named POP service host is consulted.
 .\"  .RE
 .\"  .PP
 .\"  .BR popbblist :
-.\"  %etcdir%/hosts.popbb
+.\"  %nmhetcdir%/hosts.popbb
 .\"  .RS 5
 .\"  A file containing of lists of hosts that are allowed to use the POP
 .\"  facility to access BBoards using the guest account.  If this file is not
@@ -298,7 +295,7 @@ during updates.  These locking methods can be configured separately
 from each other.
 .PP
 For locking the mail spool, the
-.I spoollocking
+.B spoollocking
 entry in
 .IR mh\-tailor (5)
 will control the locking algorithm to use when
@@ -307,12 +304,12 @@ incorporates mail from the spool file.  If no entry is given, a default
 based on the operating system type will be chosen.
 .PP
 For locking all other files, the
-.I datalocking
+.B datalocking
 entry in
 .IR mh-profile (5)
 controls the locking algorithm used for all other file access.
 If no entry is given, the
-.I fcntl
+.B fcntl
 lock method will be chosen.
 .PP
 If you do not wish to use kernel\-based locking,
@@ -329,11 +326,9 @@ Prior to installing
 you should see how locking is done at
 your site, and set the appropriate values.
 .SH FILES
-.fc ^ ~
-.nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
-.fi
+.TP 20
+%nmhetcdir%/mts.conf
+nmh mts configuration file
 .SH "PROFILE COMPONENTS"
 None
 .SH "SEE ALSO"
@@ -342,16 +337,17 @@ None
 .SH DEFAULTS
 As listed above.  The path of the mail transport configuration
 file can be changed with the
-.B MHMTSCONF
+MHMTSCONF
 environment variable and augmented with the
-.B MHMTSUSERCONF
-environment variable, see mh\-profile(5).
+MHMTSUSERCONF
+environment variable, see
+.IR mh\-profile (5).
 .SH BUGS
 Failure to open any mail transport configuration file is silently
 ignored.  Therefore, it's best to avoid dynamic creation of such
 a file with the intent of use via the
-.B MHMTSCONF
+MHMTSCONF
 or
-.B MHMTSUSERCONF
+MHMTSUSERCONF
 environment variables.  If such use is necessary, the ability
 to successfully open the file should first be verified.