source: trunk/third/nmh/man/mh-tailor.man @ 12455

Revision 12455, 8.9 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: mh-tailor.man,v 1.1.1.1 1999-02-07 18:14:20 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH MH-TAILOR %manext5% MH.6.8 [%nmhversion%]
9.SH NAME
10mh-tailor, mts.conf \- mail transport customization for nmh message handler
11
12.SH SYNOPSIS
13.in +.5i
14.ti -.5i
15\fI%etcdir%/mts.conf\fP
16.in -.5i
17.SH DESCRIPTION
18The file %etcdir%/mts.conf defines run-time options for those \fInmh\fR
19programs which interact (in some form) with the message transport system.
20At present, these (user) programs are: \fIap\fR, \fIconflict\fR,
21\fIinc\fR, \fImsgchk\fR, \fImsh\fR, \fIpost\fR, \fIrcvdist\fR, and
22\fIrcvpack\fR.
23
24Each option should be given on a single line.  Blank lines and lines
25which begin with `#' are ignored.  The options available along with
26default values and a description of their meanings are listed below:
27
28.in +.5i
29.ti -.5i
30localname:
31.br
32The hostname \fInmh\fR considers local.  It should typically be a fully
33qualified hostname.  If this is not set, depending on the version of
34UNIX you're running, \fInmh\fR will query the system for this value
35(e.g., uname, gethostname, etc.), and attempt to fully qualify this
36value.
37
38If you are using POP to retrieve new messages, you may want to set this
39value to the name of the POP server, so that outgoing message appear to
40have originated on the POP server.
41
42.ti -.5i
43localdomain:
44.br
45If this is set, a `.' followed by this string will be appended to your
46hostname.
47
48This should only be needed, if for some reason \fInmh\fR is not able to
49fully qualify the hostname returned by the system (e.g., uname,
50gethostname, etc.).
51
52.ti -.5i
53clientname:
54.br
55This option specifies the host name that \fInmh\fP will give in the
56SMTP \fBHELO\fP (and \fBEHLO\fP) command, when posting mail.  If not
57set, the default is to use the host name that \fInmh\fR considers local
58(see \*(lqlocalname\*(rq above).  If this option is set, but empty, no
59\fBHELO\fP command will be given.
60
61.sp
62Although the \fBHELO\fP command is required by RFC\-821, many SMTP servers
63do not require it.  Early versions of SendMail will fail if the hostname
64given in the \fBHELO\fP command is the local host.  Later versions of
65SendMail will complain if you omit the \fBHELO\fP command.  If you run
66SendMail, find out what your system expects and set this field if needed.
67
68.ti -.5i
69systemname:
70.br
71This option is only used for UUCP mail.  It specifies the name of the
72local host in the \fIUUCP\fR \*(lqdomain\*(rq.  If not set, depending
73on the version of UNIX you're running, \fInmh\fR will query the system
74for this value.  This has no equivalent in the \fInmh\fR configuration
75file.
76
77.ti -.5i
78mmdfldir: %mailspool%
79.br
80The directory where maildrops are kept.  If this option is set, but empty,
81the user's home directory is used.  This overrides the default value
82chosen at the time of compilation.
83
84.ti -.5i
85mmdflfil:
86.br
87The name of the maildrop file in the directory where maildrops are kept.
88If this is empty, the user's login name is used.  This overrides the default
89value (which is empty).
90
91.ti -.5i
92mmdelim1: \\001\\001\\001\\001\\n
93.br
94The beginning-of-message delimiter for maildrops.
95
96.ti -.5i
97mmdelim2: \\001\\001\\001\\001\\n
98.br
99The end-of-message delimiter for maildrops.
100
101.ti -.5i
102mmailid: 0
103.br
104If this is non-zero, then activate support for MMailids (username
105masquerading).  When this is activated, \fInmh\fR will check if the
106pw_gecos field in the password file has the form
107
108.ti +.5i
109Full Name <fakeusername>
110
111If the pw_gecos field has this form, then the internal \fInmh\fR
112routines that find the username and full name of a user will return
113\*(lqfakeusername\*(rq and \*(lqFull Name\*(rq respectively.  If
114the pw_gecos field for a user is not of this form, there will be
115no username masquerading for that user.
116
117This facility is useful if you are using POP, and wish for messages
118that are sent by users to appear to originate from the username of
119their POP account, rather than their username on the local machine.
120
121.ti -.5i
122maildelivery: %libdir%/maildelivery
123.br
124The name of the system-wide default \fI\&.maildelivery\fR file.
125See \fIslocal\fR\0(1) for the details.
126
127.ti -.5i
128everyone: 200
129.br
130The highest user-id which should NOT receive mail addressed to
131\*(lqeveryone\*(rq.
132
133.ti -.5i
134noshell:
135.br
136If set, then each user-id greater than \*(lqeveryone\*(rq that has a
137login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
138indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
139This is useful for handling admin, dummy, and guest logins.
140
141.in -.5i
142.Uh "SMTP support"
143These options are only available if you compiled \fInmh\fP with the
144\*(lq/smtp\*(rq support.
145
146.in +.5i
147.ti -.5i
148hostable: %etcdir%/hosts
149.br
150The exceptions file for /etc/hosts used by \fIpost\fR to try to find
151official names.  The format of this file is quite simple:
152
153.in +.5i
1541. Comments are surrounded by sharp (`#') and newline.
155.br
1562. Words are surrounded by white space.
157.br
1583. The first word on the line is the official name of a host.
159.br
1604. All words following the official names are aliases for that host.
161.in -.5i
162
163.ti -.5i
164servers: localhost \\01localnet
165.br
166A lists of hosts and networks which to look for SMTP servers when
167posting local mail.  It turns out this is a major win for hosts which
168don't run an message transport system.  The value of \*(lqservers\*(rq
169should be one or more items.  Each item is the name of either a host
170or a net (in the latter case, precede the name of the net by a \\01).
171This list is searched when looking for a smtp server to post mail.
172If a host is present, the SMTP port on that host is tried.  If a net
173is present, the SMTP port on each host in that net is tried.  Note that
174if you are running with the BIND code, then any networks specified are
175ignored (sorry, the interface went away under BIND).
176
177.in -.5i
178.Uh "SendMail"
179This option is only available if you compiled \fInmh\fP to use
180\fISendMail\fP as your delivery agent.
181
182.in +.5i
183.ti -.5i
184sendmail: %sendmailpath%
185.br
186The pathname to the \fIsendmail\fR program.
187
188.in -.5i
189.Uh "Post Office Protocol"
190This option is only available if you have compiled \fInmh\fP with POP
191support enabled (i.e., \*(lq--enable-nmh-pop\*(rq).
192
193.in +.5i
194.ti -.5i
195pophost:
196.br
197The name of the default POP service host.  If this is not set, then
198\fInmh\fR looks in the standard maildrop areas for waiting mail, otherwise
199the named POP service host is consulted.
200
201.in -.5i
202.Uh "BBoards Delivery"
203This option is only available if you compiled \fInmh\fP with
204\*(lqbbdelivery:\ on\*(rq.
205
206.in +.5i
207.ti -.5i
208bbdomain:
209.br
210The local BBoards domain (a UCI hack).
211
212.in -.5i
213.Uh "BBoards & The POP"
214These options are only available if you compiled \fInmh\fP with
215\*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq.
216
217.in +.5i
218.ti -.5i
219popbbhost:
220.br
221The POP service host which also acts as a BBoard server.  This variable
222should be set on the POP BBoards client host.
223
224.ti -.5i
225popbbuser:
226.br
227The guest account on the POP/BB service host.  This should be a different
228login ID than either the POP user or the BBoards user.  (The user-id
229\*(lqftp\*(rq is highly recommended.)  This variable should be set on
230both the POP BBoards client and service hosts.
231
232.ti -.5i
233popbblist: %etcdir%/hosts.popbb
234.br
235A file containing of lists of hosts that are allowed to use the POP
236facility to access BBoards using the guest account.  If this file is not
237present, then no check is made.  This variable should be set on the POP
238BBoards service host.
239
240.in -.5i
241.if n .ne 8
242.Uh "BBoards & The NNTP"
243This option is only available if you compiled \fInmh\fP with
244\*(lqbboards:\ nntp\*(rq and \*(lqpop:\ on\*(rq.
245
246.in +.5i
247.ti -.5i
248nntphost:
249.br
250The host which provides the NNTP service.  This variable should be set
251on the NNTP BBoards client host.
252
253.in -.5i
254.Uh "File Locking"
255A few words on locking: \fInmh\fR has several methods for creating locks
256on files.  When configuring \fInmh\fR, you will need to decide on the
257locking style and locking directory (if any).  The first controls the
258method of locking, the second says where lock files should be created.
259
260To configure \fInmh\fR for kernel locking, define \fBFLOCK_LOCKING\fP if
261you want to use the \fIflock\fP system call; define \fBLOCKF_LOCKING\fP if
262you want to use the \fIlockf\fP system call; or define \fBFCNTL_LOCKING\fP
263if you want to use the \fIfcntl\fP system call for kernel-level locking.
264
265Instead of kernel locking, you can configure \fInmh\fR to use dot
266locking by defining \fBDOT_LOCKING\fP.  Dot locking specifies that
267a file should be created whose existence means \*(lqlocked\*(rq and
268whose non-existence means \*(lqunlocked\*(rq.  The name of this file is
269constructed by appending \*(lq.lock\*(rq to the name of the file being
270locked.  If \fBLOCKDIR\fP is not specified, lock files will be created
271in the directory where the file being locked resides.  Otherwise, lock
272files will be created in the directory specified by \fBLOCKDIR\fP.
273
274Prior to installing \fInmh\fR, you should see how locking is done at
275your site, and set the appropriate values.
276
277.Fi
278^%etcdir%/mts.conf~^nmh mts configuration file
279.Pr
280None
281.Sa
282mh\-mts(8)
283.De
284As listed above
285.Co
286None
287.En
Note: See TracBrowser for help on using the repository browser.