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