1 .TH MH-TAILOR %manext5% "April 18, 2014" "%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:
23 Each option should be given on a single line. Blank lines and lines
24 which begin with `#' are ignored. The options available along with
25 default values and a description of their meanings are listed below:
29 The mail transport method to use. The three acceptable options are
31 (which is the default),
38 this will enable a direct SMTP (simple mail transport
39 protocol) interface in
41 When sending mail, instead of passing the
42 message to the mail transport agent,
44 will open a socket connection
45 to the mail port on the machine specified in the
53 will send messages by forking a
56 It will still speak SMTP with this local copy of
58 For backward compatibility,
63 The third alternative,
65 also forks a local copy of
67 but feeds the message directly to it, using
70 This replaces the old, undocumented
72 mechanism and retains some of its limitations, such as lack of
76 \*(lqDcc:\*(rq header field.
83 considers local. It should typically be a fully
84 qualified hostname. If this is not set, depending on the version of
87 will query the system for this value
88 (e.g. uname, gethostname, etc.), and attempt to fully qualify this
91 If you are using POP to retrieve new messages, you may want to set this
92 value to the name of the POP server, so that outgoing message appear to
93 have originated on the POP server.
98 If this is set, a `.' followed by this string will be appended to your
101 This should only be needed, if for some reason
104 fully qualify the hostname returned by the system (e.g. uname,
110 This option specifies the host name that
117 command, when posting mail. If not
118 set, the default is to use the host name that
123 above). If this option is set, but empty, no
125 command will be given.
129 command is required by RFC 821, many SMTP servers
130 do not require it. Early versions of
132 will fail if the hostname
135 command is the local host. Later versions of
137 will complain if you omit the
141 find out what your system expects and set this field if needed.
146 This option is only used for UUCP mail. It specifies the name of the
147 local host in the UUCP \*(lqdomain\*(rq. If not set, depending
148 on the version of UNIX you're running,
150 will query the system
151 for this value. This has no equivalent in the
160 The directory where maildrops are kept. If this option is set, but empty,
161 the user's home directory is used. This overrides the default value
162 chosen at the time of compilation.
167 The name of the maildrop file in the directory where maildrops are kept.
168 If this is empty, the user's login name is used. This overrides the default
169 value (which is empty).
173 \&\\001\\001\\001\\001\\n
175 The beginning-of-message delimiter for maildrops.
179 \&\\001\\001\\001\\001\\n
181 The end-of-message delimiter for maildrops.
187 The locking algorithm to use when opening the maildrop. Can be any one of
198 %libdir%/maildelivery
200 The name of the system-wide default
211 The highest user-id which should NOT receive mail addressed to
217 If set, then each user-id greater than \*(lqeveryone\*(rq that has a
218 login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
219 indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
220 This is useful for handling admin, dummy, and guest logins.
223 This option is only available if you set
231 A lists of hosts and networks which to look for SMTP servers when
232 posting non\-local mail. It turns out this is a major win for hosts
233 which don't run an message transport system. The value of
235 should be one or more items. Each item is the name of a host which
236 is (hopefully) running a SMTP server.
238 This option is only available if you set
250 .SS "Post Office Protocol"
253 The name of the default POP service host. If this is not set, then
255 looks in the standard maildrop areas for waiting mail, otherwise
256 the named POP service host is consulted.
258 .\" .SS "BBoards Delivery"
259 .\" This option is only available if you compiled \fInmh\fP with
260 .\" \*(lqbbdelivery:\ on\*(rq.
264 .\" The local BBoards domain (a UCI hack).
266 .\" .SS "BBoards & The POP"
267 .\" These options are only available if you compiled \fInmh\fP with
268 .\" \*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq.
272 .\" The POP service host which also acts as a BBoard server. This variable
273 .\" should be set on the POP BBoards client host.
278 .\" The guest account on the POP/BB service host. This should be a different
279 .\" login ID than either the POP user or the BBoards user. (The user-id
280 .\" \*(lqftp\*(rq is highly recommended.) This variable should be set on
281 .\" both the POP BBoards client and service hosts.
285 .\" %etcdir%/hosts.popbb
287 .\" A file containing of lists of hosts that are allowed to use the POP
288 .\" facility to access BBoards using the guest account. If this file is not
289 .\" present, then no check is made. This variable should be set on the POP
290 .\" BBoards service host.
293 A few words on locking:
295 has two main uses for locking: locking the mail spool during mail
296 incorporation, and locking metadata files (sequence files, the context)
297 during updates. These locking methods can be configured separately
300 For locking the mail spool, the
304 will control the locking algorithm to use when
306 incorporates mail from the spool file. If no entry is given, a default
307 based on the operating system type will be chosen.
309 For locking all other files, the
313 controls the locking algorithm used for all other file access.
314 If no entry is given, the
316 lock method will be chosen.
318 If you do not wish to use kernel\-based locking,
320 locking is an option available.
321 If \*(lq--enable-lockdir=directory\*(rq
322 is not specified at build time, lock files will be created
323 in the directory where the file being locked resides. Otherwise, lock
324 files will be created in the directory specified by
325 \*(lq--enable-lockdir\*(rq.
329 you should see how locking is done at
330 your site, and set the appropriate values.
334 .ta \w'%etcdir%/ExtraBigFileName 'u
335 ^%etcdir%/mts.conf~^nmh mts configuration file
337 .SH "PROFILE COMPONENTS"
343 As listed above. The path of the mail transport configuration
344 file can be changed with the
346 environment variable and augmented with the
348 environment variable, see mh\-profile(5).
350 Failure to open any mail transport configuration file is silently
351 ignored. Therefore, it's best to avoid dynamic creation of such
352 a file with the intent of use via the
356 environment variables. If such use is necessary, the ability
357 to successfully open the file should first be verified.