1 .TH MH-TAILOR %manext5% "April 18, 2014" "%nmhversion%"
6 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
9 .I %nmhetcdir%/mts.conf
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:
22 Each option should be given on a single line. Blank lines and lines
23 which begin with `#' are ignored. The options available along with
24 default values and a description of their meanings are listed below:
28 The mail transport method to use. The three acceptable options are
30 (which is the default),
37 this will enable a direct SMTP
40 When sending mail, instead of passing the
41 message to the mail transport agent,
43 will open a socket connection
44 to the mail port on the machine specified in the
52 will send messages by forking a
55 It will still speak SMTP with this local copy of
57 For backward compatibility,
62 The third alternative,
64 also forks a local copy of
66 but feeds the message directly to it, using
69 This replaces the old, undocumented
71 mechanism and retains some of its limitations, such as lack of
75 \*(lqDcc:\*(rq header field.
82 considers local. It should typically be a fully
83 qualified hostname. If this is not set, depending on the version of
86 will query the system for this value
87 (e.g.\& uname, gethostname, etc.), and attempt to fully qualify this
90 If you are using POP to retrieve new messages, you may want to set this
91 value to the name of the POP server, so that outgoing message appear to
92 have originated on the POP server.
97 If this is set, a `.' followed by this string will be appended to your
100 This should only be needed, if for some reason
103 fully qualify the hostname returned by the system (e.g.\& uname,
109 This option specifies the host name that
116 command, when posting mail. If not
117 set, the default is to use the host name that
122 above). If this option is set, but empty, no
124 command will be given.
128 command is required by RFC 821, many SMTP servers
129 do not require it. Early versions of
131 will fail if the hostname
134 command is the local host. Later versions of
136 will complain if you omit the
140 find out what your system expects and set this field if needed.
145 This option is only used for UUCP mail. It specifies the name of the
146 local host in the UUCP \*(lqdomain\*(rq. If not set, depending
147 on the version of UNIX you're running,
149 will query the system
150 for this value. This has no equivalent in the
159 The directory where maildrops are kept. If this option is set, but empty,
160 the user's home directory is used. This overrides the default value
161 chosen at the time of compilation.
166 The name of the maildrop file in the directory where maildrops are kept.
167 If this is empty, the user's login name is used. This overrides the default
168 value (which is empty).
172 \&\\001\\001\\001\\001\\n
174 The beginning-of-message delimiter for maildrops.
178 \&\\001\\001\\001\\001\\n
180 The end-of-message delimiter for maildrops.
186 The locking algorithm to use when opening the maildrop. Can be any one of
197 %nmhlibexecdir%/maildelivery
199 The name of the system-wide default
207 This option is only available if you set
215 A lists of hosts and networks which to look for SMTP servers when
216 posting non\-local mail. It turns out this is a major win for hosts
217 which don't run an message transport system. The value of
219 should be one or more items. Each item is the name of a host which
220 is (hopefully) running a SMTP server.
222 This option is only available if you set
234 .SS "Post Office Protocol"
237 The name of the default POP service host. If this is not set, then
239 looks in the standard maildrop areas for waiting mail, otherwise
240 the named POP service host is consulted.
242 .\" .SS "BBoards Delivery"
243 .\" This option is only available if you compiled \fInmh\fP with
244 .\" \*(lqbbdelivery:\ on\*(rq.
248 .\" The local BBoards domain (a UCI hack).
250 .\" .SS "BBoards & The POP"
251 .\" These options are only available if you compiled \fInmh\fP with
252 .\" \*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq.
256 .\" The POP service host which also acts as a BBoard server. This variable
257 .\" should be set on the POP BBoards client host.
262 .\" The guest account on the POP/BB service host. This should be a different
263 .\" login ID than either the POP user or the BBoards user. (The user-id
264 .\" \*(lqftp\*(rq is highly recommended.) This variable should be set on
265 .\" both the POP BBoards client and service hosts.
269 .\" %nmhetcdir%/hosts.popbb
271 .\" A file containing of lists of hosts that are allowed to use the POP
272 .\" facility to access BBoards using the guest account. If this file is not
273 .\" present, then no check is made. This variable should be set on the POP
274 .\" BBoards service host.
277 A few words on locking:
279 has two main uses for locking: locking the mail spool during mail
280 incorporation, and locking metadata files (sequence files, the context)
281 during updates. These locking methods can be configured separately
284 For locking the mail spool, the
288 will control the locking algorithm to use when
290 incorporates mail from the spool file. If no entry is given, a default
291 based on the operating system type will be chosen.
293 For locking all other files, the
297 controls the locking algorithm used for all other file access.
298 If no entry is given, the
300 lock method will be chosen.
302 If you do not wish to use kernel\-based locking,
304 locking is an option available.
305 If \*(lq--enable-lockdir=directory\*(rq
306 is not specified at build time, lock files will be created
307 in the directory where the file being locked resides. Otherwise, lock
308 files will be created in the directory specified by
309 \*(lq--enable-lockdir\*(rq.
313 you should see how locking is done at
314 your site, and set the appropriate values.
318 nmh mts configuration file
319 .SH "PROFILE COMPONENTS"
325 As listed above. The path of the mail transport configuration
326 file can be changed with the
328 environment variable and augmented with the
330 environment variable, see
333 Failure to open any mail transport configuration file is silently
334 ignored. Therefore, it's best to avoid dynamic creation of such
335 a file with the intent of use via the
339 environment variables. If such use is necessary, the ability
340 to successfully open the file should first be verified.