1 .TH MH-TAILOR %manext5% "December 8, 2013" "%nmhversion%"
6 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
10 defines run-time options for those
12 programs which interact (in some form) with the message transport system.
13 At present, these (user) programs are:
24 Each option should be given on a single line. Blank lines and lines
25 which begin with `#' are ignored. The options available along with
26 default values and a description of their meanings are listed below:
30 The mail transport method to use. The three acceptable options are
32 (which is the default),
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 It will still speak SMTP with this local copy of
59 For backward compatibility,
64 The third alternative,
66 also forks a local copy of
68 but feeds the message directly to it, using
71 This replaces the old, undocumented
73 mechanism and retains some of its limitations, such as lack of
77 \*(lqDcc:\*(rq header field.
84 considers local. It should typically be a fully
85 qualified hostname. If this is not set, depending on the version of
88 will query the system for this value
89 (e.g. uname, gethostname, etc.), and attempt to fully qualify this
92 If you are using POP to retrieve new messages, you may want to set this
93 value to the name of the POP server, so that outgoing message appear to
94 have originated on the POP server.
99 If this is set, a `.' followed by this string will be appended to your
102 This should only be needed, if for some reason
105 fully qualify the hostname returned by the system (e.g. uname,
111 This option specifies the host name that
118 command, when posting mail. If not
119 set, the default is to use the host name that
124 above). If this option is set, but empty, no
126 command will be given.
130 command is required by RFC 821, many SMTP servers
131 do not require it. Early versions of
133 will fail if the hostname
136 command is the local host. Later versions of
138 will complain if you omit the
142 find out what your system expects and set this field if needed.
147 This option is only used for UUCP mail. It specifies the name of the
148 local host in the UUCP \*(lqdomain\*(rq. If not set, depending
149 on the version of UNIX you're running,
151 will query the system
152 for this value. This has no equivalent in the
161 The directory where maildrops are kept. If this option is set, but empty,
162 the user's home directory is used. This overrides the default value
163 chosen at the time of compilation.
168 The name of the maildrop file in the directory where maildrops are kept.
169 If this is empty, the user's login name is used. This overrides the default
170 value (which is empty).
174 \&\\001\\001\\001\\001\\n
176 The beginning-of-message delimiter for maildrops.
180 \&\\001\\001\\001\\001\\n
182 The end-of-message delimiter for maildrops.
188 The locking algorithm to use when opening the maildrop. Can be any one of
199 %libdir%/maildelivery
201 The name of the system-wide default
212 The highest user-id which should NOT receive mail addressed to
218 If set, then each user-id greater than \*(lqeveryone\*(rq that has a
219 login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
220 indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
221 This is useful for handling admin, dummy, and guest logins.
224 This option is only available if you set
232 A lists of hosts and networks which to look for SMTP servers when
233 posting non\-local mail. It turns out this is a major win for hosts
234 which don't run an message transport system. The value of
236 should be one or more items. Each item is the name of a host which
237 is (hopefully) running a SMTP server.
239 This option is only available if you set
251 .SS "Post Office Protocol"
254 The name of the default POP service host. If this is not set, then
256 looks in the standard maildrop areas for waiting mail, otherwise
257 the named POP service host is consulted.
259 .\" .SS "BBoards Delivery"
260 .\" This option is only available if you compiled \fInmh\fP with
261 .\" \*(lqbbdelivery:\ on\*(rq.
265 .\" The local BBoards domain (a UCI hack).
267 .\" .SS "BBoards & The POP"
268 .\" These options are only available if you compiled \fInmh\fP with
269 .\" \*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq.
273 .\" The POP service host which also acts as a BBoard server. This variable
274 .\" should be set on the POP BBoards client host.
279 .\" The guest account on the POP/BB service host. This should be a different
280 .\" login ID than either the POP user or the BBoards user. (The user-id
281 .\" \*(lqftp\*(rq is highly recommended.) This variable should be set on
282 .\" both the POP BBoards client and service hosts.
286 .\" %etcdir%/hosts.popbb
288 .\" A file containing of lists of hosts that are allowed to use the POP
289 .\" facility to access BBoards using the guest account. If this file is not
290 .\" present, then no check is made. This variable should be set on the POP
291 .\" BBoards service host.
294 A few words on locking:
296 has two main uses for locking: locking the mail spool during mail
297 incorporation, and locking metadata files (sequence files, the context)
298 during updates. These locking methods can be configured separately
301 For locking the mail spool, the
305 will control the locking algorithm to use when
307 incorporates mail from the spool file. If no entry is given, a default
308 based on the operating system type will be chosen.
310 For locking all other files, the
314 controls the locking algorithm used for all other file access.
315 If no entry is given, the
317 lock method will be chosen.
319 If you do not wish to use kernel\-based locking,
321 locking is an option available.
322 If \*(lq--enable-lockdir=directory\*(rq
323 is not specified at build time, lock files will be created
324 in the directory where the file being locked resides. Otherwise, lock
325 files will be created in the directory specified by
326 \*(lq--enable-lockdir\*(rq.
330 you should see how locking is done at
331 your site, and set the appropriate values.
335 .ta \w'%etcdir%/ExtraBigFileName 'u
336 ^%etcdir%/mts.conf~^nmh mts configuration file
338 .SH "PROFILE COMPONENTS"
344 As listed above. The path of the mail transport configuration
345 file can be changed with the
347 environment variable and augmented with the
349 environment variable, see mh\-profile(5).
351 Failure to open any mail transport configuration file is silently
352 ignored. Therefore, it's best to avoid dynamic creation of such
353 a file with the intent of use via the
357 environment variables. If such use is necessary, the ability
358 to successfully open the file should first be verified.