4 .TH MH-TAILOR %manext5% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mh-tailor, mts.conf \- mail transport customization 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:
25 Each option should be given on a single line. Blank lines and lines
26 which begin with `#' are ignored. The options available along with
27 default values and a description of their meanings are listed below:
30 will send messages by forking a
36 This directive controls two different types of email address masquerading.
37 The two possible values, which may be specified in any combination on the
38 line, separated by spaces, are \*(lqdraft_from\*(rq and
39 \*(lqusername_extension\*(rq.
41 \*(lqusername_extension\*(rq, when specified on the \*(lqmasquerade:\*(rq line, allows a second
42 type of username masquerading. If the user sets the
43 .B $USERNAME_EXTENSION
44 environment variable, its value will be appended to the actual login name. For
45 instance, if I am \*(lqdan@company.com\*(rq, and I set
46 .B $USERNAME_EXTENSION
47 to \*(lq\-www\*(rq, my mail will appear to come from \*(lqdan\-www@company.com\*(rq. This is meant
48 to interact with qmail's \*(lquser\-extension\*(rq feature, where mail sent to
53 versions of sendmail for which \*(lqplussed user\*(rq processing is active can set
54 .B $USERNAME_EXTENSION
55 to \*(lq+\fIstring\fR\*(rq. These MTA features are useful
56 because they allow one to use different email addresses in different situations
57 (to aid in automatic mail filtering or in determining where spammers got one's
58 address) while only actually having a single account. Note that
59 .B $USERNAME_EXTENSION
60 is only appended to the username when \fIpost\fR is
61 generating \*(lq[Resent\-]From:\*(rq lines and the SMTP envelope
64 for instance, will not try to read from a maildrop file called \*(lqdan\-www\*(rq (to
65 recall the earlier example).
67 \*(lqdraft_from\*(rq controls the most powerful type of address masquerading. Normally,
68 when a user explicitly specifies a \*(lqFrom:\*(rq header in a draft,
71 rather than constructing its own. However, to discourage email forgery, the
72 SMTP envelope \*(lqFrom:\*(rq and a \*(lqSender:\*(rq header are set to the user's real address.
73 When \*(lqdraft_from\*(rq is turned on, though, the envelope \*(lqFrom:\*(rq will use the
74 address specified in the draft, and there will be no \*(lqSender:\*(rq header. This is
75 useful when a user wants to pretend to be sending mail \*(lqdirectly\*(rq from a remote
76 POP3 account, or when remote mail robots incorrectly use the envelope \*(lqFrom:\*(rq in
77 preference to the body \*(lqFrom:\*(rq (or refuse to take action when the two don't
78 match). Note that the MTA may still reveal the user's real identity (e.g.
80 \*(lqX\-Authentication\-Warning:\*(rq header).
86 The name of the system-wide default
93 A few words on locking:
95 has several methods for creating locks
96 on files. When configuring
98 you will need to decide on the
99 locking style and locking directory (if any). The first controls the
100 method of locking, the second says where lock files should be created.
104 for kernel locking, use the \*(lq--with-locking=flock\*(rq configure option if
107 system call; use \*(lq--with-locking=lockf\*(rq if
110 system call; or use \*(lq--with-locking=fcntl\*(rq
111 if you want to use the
113 system call for kernel-level locking.
115 Instead of kernel locking, you can configure
117 to use dot locking by using \*(lq--with-locking=dot\*(rq. Dot locking
119 a file should be created whose existence means \*(lqlocked\*(rq and
120 whose non-existence means \*(lqunlocked\*(rq. The name of this file is
121 constructed by appending \*(lq.lock\*(rq to the name of the file being
124 is not specified, lock files will be created
125 in the directory where the file being locked resides. Otherwise, lock
126 files will be created in the directory specified by
131 you should see how locking is done at
132 your site, and set the appropriate values.
137 .ta \w'%etcdir%/ExtraBigFileName 'u
138 ^%etcdir%/mts.conf~^nmh mts configuration file
141 .SH "PROFILE COMPONENTS"