multiply buffer size by MB_CUR_MAX so multi-byte chars fit
[mmh] / man / mh-mts.man
1 .\"
2 .\" %nmhwarning%
3 .\" $Id$
4 .\"
5 .TH MH-MTS %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
6 .SH NAME
7 mh-mts \- the nmh interface to the message transport system
8 .SH SYNOPSIS
9 .in +.5i
10 .ti -.5i
11 SendMail
12
13 .ti .5i
14 Zmailer
15
16 .ti .5i
17 MMDF (any release)
18
19 .ti .5i
20 stand\-alone
21 .in -.5i
22 .SH DESCRIPTION
23 THIS IS OUT OF DATE AND NEEDS REWORKING.
24
25 \fInmh\fR can use a wide range of message transport systems to deliver
26 mail.  Although the \fInmh\fR administrator usually doesn't get to choose
27 which MTS to use (since it's already in place), this document briefly
28 describes the interfaces.
29
30 When communicating with \fISendMail\fR, \fInmh\fR always uses the SMTP to
31 post mail.  Depending on the \fInmh\fR configuration, \fISendMail\fR may
32 be invoked directly (via a \fIfork\fR and an \fIexec\fR), or \fInmh\fR
33 may open a TCP/IP connection to the SMTP server on the localhost.
34
35 When communicating with \fIzmailer\fP, the \fISendMail\fP compatibility
36 program is required to be installed in /usr/lib.  \fInmh\fP communicates
37 with \fIzmailer\fP by using the SMTP.  It does this by invoking the
38 \fB/usr/lib/sendmail\fP compatibility program directly, with the
39 `\-bs' option.
40
41 When communicating with \fIMMDF\fR, normally \fInmh\fR uses the
42 \*(lqmm\(ru\*(rq routines to post mail.  However, depending on the
43 \fInmh\fR configuration, \fInmh\fR instead may open a TCP/IP connection
44 to the SMTP server on the localhost.
45
46 If you are running a UNIX system with TCP/IP networking, then it is
47 felt that the best interface is achieved by using either \fISendMail\fR
48 or \fIMMDF\fR with the SMTP option.  This gives greater flexibility.
49 To enable this option you append the /smtp suffix to the mts option
50 in the \fInmh\fR configuration.  This yields two primary advantages:
51 First, you don't have to know where \fIsubmit\fR or \fISendMail\fR live.
52 This means that \fInmh\fR binaries (e.g., \fIpost\fR\0) don't have to have
53 this information hard\-coded, or can run different programs altogether;
54 and, second, you can post mail with the server on different systems, so
55 you don't need either \fIMMDF\fR or \fISendMail\fR on your local host.
56 Big win in conserving cycles and disk space.  Since \fInmh\fR supports
57 the notion of a server search\-list in this respect, this approach can
58 be tolerant of faults.  Be sure to set \*(lqservers:\*(rq as described
59 in mh\-tailor(8) if you use this option.
60
61 There are four disadvantages to using the SMTP option: First, only UNIX
62 systems with TCP/IP are supported.  Second, you need to have an SMTP
63 server running somewhere on any network your local host can reach.
64 Third, this bypasses any authentication mechanisms in \fIMMDF\fR
65 or \fISendMail\fR.  Fourth, the file \fB/etc/hosts\fR is used for
66 hostname lookups (although there is an exception file).  In response
67 to these disadvantages though: First, there's got to be an SMTP server
68 somewhere around if you're in the Internet or have a local network.
69 Since the server search\-list is very general, a wide\-range of options
70 are possible.  Second, SMTP should be fixed to have authentication
71 mechanisms in it, like POP.  Third, \fInmh\fR won't choke on mail to
72 hosts whose official names it can't verify, it'll just plug along (and
73 besides if you enable the DUMB configuration options, \fInmh\fR
74 ignores the hosts file altogether).
75 .Fi
76 ^%etcdir%/mts.conf~^nmh mts configuration file
77 .Pr
78 None
79 .Sa
80 \fIMMDF\-II: A Technical Review\fR,
81 Proceedings, Usenix Summer '84 Conference
82 .br
83 \fISENDMAIL \-\- An Internetwork Mail Router\fR
84 .br
85 mh\-tailor(8), post(8)
86 .De
87 None
88 .Co
89 None
90 .Bu
91 The %etcdir%/mts.conf file ignores the information in the \fIMMDF\-II\fR
92 tailoring file.
93 .En