4 .TH MH-TAILOR %manext5% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
12 defines run-time options for those
14 programs which interact (in some form) with the message transport system.
15 At present, these (user) programs are:
26 Each option should be given on a single line. Blank lines and lines
27 which begin with `#' are ignored. The options available along with
28 default values and a description of their meanings are listed below:
32 The mail transport method to use. The two acceptable options are
34 (which is the default), and
39 this will enable a direct SMTP (simple mail transport
40 protocol) interface in
42 When sending mail, instead of passing the
43 message to the mail transport agent,
45 will open a socket connection
46 to the mail port on the machine specified in the
54 will send messages by forking a
57 Currently it will still speak SMTP with this local
66 considers local. It should typically be a fully
67 qualified hostname. If this is not set, depending on the version of
70 will query the system for this value
71 (e.g. uname, gethostname, etc.), and attempt to fully qualify this
74 If you are using POP to retrieve new messages, you may want to set this
75 value to the name of the POP server, so that outgoing message appear to
76 have originated on the POP server.
81 If this is set, a `.' followed by this string will be appended to your
84 This should only be needed, if for some reason
87 fully qualify the hostname returned by the system (e.g. uname,
93 This option specifies the host name that
100 command, when posting mail. If not
101 set, the default is to use the host name that
106 above). If this option is set, but empty, no
108 command will be given.
112 command is required by RFC\-821, many SMTP servers
113 do not require it. Early versions of
115 will fail if the hostname
118 command is the local host. Later versions of
120 will complain if you omit the
124 find out what your system expects and set this field if needed.
129 This option is only used for UUCP mail. It specifies the name of the
130 local host in the UUCP \*(lqdomain\*(rq. If not set, depending
131 on the version of UNIX you're running,
133 will query the system
134 for this value. This has no equivalent in the
143 The directory where maildrops are kept. If this option is set, but empty,
144 the user's home directory is used. This overrides the default value
145 chosen at the time of compilation.
150 The name of the maildrop file in the directory where maildrops are kept.
151 If this is empty, the user's login name is used. This overrides the default
152 value (which is empty).
156 \&\\001\\001\\001\\001\\n
158 The beginning-of-message delimiter for maildrops.
162 \&\\001\\001\\001\\001\\n
164 The end-of-message delimiter for maildrops.
168 %libdir%/maildelivery
170 The name of the system-wide default
181 The highest user-id which should NOT receive mail addressed to
187 If set, then each user-id greater than \*(lqeveryone\*(rq that has a
188 login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
189 indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
190 This is useful for handling admin, dummy, and guest logins.
193 This option is only available if you set
201 A lists of hosts and networks which to look for SMTP servers when
202 posting local mail. It turns out this is a major win for hosts which
203 don't run an message transport system. The value of
205 should be one or more items. Each item is the name of a host which
206 is (hopefully) running a SMTP server.
208 This option is only available if you set
220 .SS "Post Office Protocol"
221 This option is only available if you have compiled
223 with POP support enabled (i.e., \*(lq--enable-pop\*(rq).
227 The name of the default POP service host. If this is not set, then
229 looks in the standard maildrop areas for waiting mail, otherwise
230 the named POP service host is consulted.
232 \" .SS "BBoards Delivery"
233 \" This option is only available if you compiled \fInmh\fP with
234 \" \*(lqbbdelivery:\ on\*(rq.
238 \" The local BBoards domain (a UCI hack).
241 \" .SS "BBoards & The POP"
242 \" These options are only available if you compiled \fInmh\fP with
243 \" \*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq.
248 \" The POP service host which also acts as a BBoard server. This variable
249 \" should be set on the POP BBoards client host.
254 \" The guest account on the POP/BB service host. This should be a different
255 \" login ID than either the POP user or the BBoards user. (The user-id
256 \" \*(lqftp\*(rq is highly recommended.) This variable should be set on
257 \" both the POP BBoards client and service hosts.
261 \" %etcdir%/hosts.popbb
263 \" A file containing of lists of hosts that are allowed to use the POP
264 \" facility to access BBoards using the guest account. If this file is not
265 \" present, then no check is made. This variable should be set on the POP
266 \" BBoards service host.
270 A few words on locking:
272 has several methods for creating locks
273 on files. When configuring
275 you will need to decide on the
276 locking style and locking directory (if any). The first controls the
277 method of locking, the second says where lock files should be created.
281 for kernel locking, use the \*(lq--with-locking=flock\*(rq configure option if
284 system call; use \*(lq--with-locking=lockf\*(rq if
287 system call; or use \*(lq--with-locking=fcntl\*(rq
288 if you want to use the
290 system call for kernel-level locking.
292 Instead of kernel locking, you can configure
294 to use dot locking by using \*(lq--with-locking=dot\*(rq. Dot locking
296 a file should be created whose existence means \*(lqlocked\*(rq and
297 whose non-existence means \*(lqunlocked\*(rq. The name of this file is
298 constructed by appending \*(lq.lock\*(rq to the name of the file being
299 locked. If \*(lq--enable-lockdir=directory\*(rq
300 is not specified at build time, lock files will be created
301 in the directory where the file being locked resides. Otherwise, lock
302 files will be created in the directory specified by
303 \*(lq--enable-lockdir\*(rq.
307 you should see how locking is done at
308 your site, and set the appropriate values.
313 .ta \w'%etcdir%/ExtraBigFileName 'u
314 ^%etcdir%/mts.conf~^nmh mts configuration file
317 .SH "PROFILE COMPONENTS"
324 As listed above. The path of the mail transport configuration
325 file can be changed with the
327 environment variable and augmented with the
329 environment variable, see mh\-profile(5).
332 Failure to open any mail transport configuration file is silently
333 ignored. Therefore, it's best to avoid dynamic creation of such
334 a file with the intent of use via the
338 environment variables. If such use is necessary, the ability
339 to successfully open the file should first be verified.