Commit | Line | Data |
---|---|---|
7ace9d88 | 1 | |
7ace9d88 | 2 | |
4a51b074 | 3 | NEW SENDMAIL CONFIGURATION FILES |
7ace9d88 | 4 | |
4a51b074 | 5 | Eric Allman <eric@CS.Berkeley.EDU> |
7ace9d88 | 6 | |
d015fbfb | 7 | @(#)README 8.42 (Berkeley) %G% |
7ace9d88 | 8 | |
7ace9d88 | 9 | |
4a51b074 | 10 | This document describes the sendmail configuration files being used |
f22970ed EA |
11 | at Berkeley. These use features in the new (R8) sendmail; they will |
12 | not work on other versions. | |
4a51b074 EA |
13 | |
14 | These configuration files are probably not as general as previous | |
6fb312a3 | 15 | versions, and don't handle as many of the weird cases automagically. |
4a51b074 EA |
16 | I was able to simplify by them for two reasons. First, the network |
17 | has become more consistent -- for example, at this point, everyone | |
18 | on the internet is supposed to be running a name server, so hacks to | |
19 | handle NIC-registered hosts can go away. Second, I assumed that a | |
20 | subdomain would be running SMTP internally -- UUCP is presumed to be | |
21 | a long-haul protocol. I realize that this is not universal, but it | |
22 | does describe the vast majority of sites with which I am familiar, | |
23 | including those outside the US. | |
24 | ||
6fb312a3 EA |
25 | Of course, the downside of this is that if you do live in a weird |
26 | world, things are going to get weirder for you. I'm sorry about that, | |
4a51b074 EA |
27 | but at the time we at Berkeley had a problem, and it seemed like the |
28 | right thing to do. | |
29 | ||
fd82c288 EA |
30 | This package requires a post-V7 version of m4; if you are running the |
31 | 4.2bsd, SysV.2, or 7th Edition version, I suggest finding a friend with | |
32 | a newer version. You can m4-expand on their system, then run locally. | |
a7e36c1b EA |
33 | SunOS's /usr/5bin/m4 or BSD-Net/2's m4 both work. GNU m4 version 1.1 |
34 | also works. Unfortunately, I'm told that the M4 on BSDI 1.0 doesn't | |
35 | work -- you'll have to use a Net/2 or GNU version. | |
7ace9d88 | 36 | |
a33031f5 | 37 | IF YOU DON'T HAVE A BERKELEY MAKE, don't despair! Just run |
445bdec1 EA |
38 | "m4 foo.mc > foo.cf" -- that should be all you need. There is also |
39 | a fairly crude (but functional) Makefile.dist that works on the | |
40 | old version of make. | |
a33031f5 EA |
41 | |
42 | To get started, you may want to look at tcpproto.mc (for TCP-only | |
f51c9ac8 EA |
43 | sites), uucpproto.mc (for UUCP-only sites), and clientproto.mc (for |
44 | clusters of clients using a single mail host). Others are versions | |
a33031f5 EA |
45 | that we use at Berkeley, although not all are in current use. For |
46 | example, ucbarpa has gone away, but I've left ucbarpa.mc in because | |
47 | it demonstrates some interesting techniques. | |
48 | ||
4a51b074 EA |
49 | I'm not pretending that this README describes everything that these |
50 | configuration files can do; clever people can probably tweak them | |
51 | to great effect. But it should get you started. | |
52 | ||
1b5c2cc9 EA |
53 | ******************************************************************* |
54 | *** BE SURE YOU CUSTOMIZE THESE FILES! They have some *** | |
55 | *** Berkeley-specific assumptions built in, such as the name *** | |
56 | *** of our UUCP-relay. You'll want to create your own domain *** | |
57 | *** description, and use that in place of domain/Berkeley.m4. *** | |
58 | ******************************************************************* | |
59 | ||
bee9d799 | 60 | |
4a51b074 EA |
61 | +--------------------------+ |
62 | | INTRODUCTION AND EXAMPLE | | |
63 | +--------------------------+ | |
64 | ||
65 | Configuration files are contained in the subdirectory "cf", with a | |
66 | suffix ".mc". They must be run through "m4" to produce a ".cf" file. | |
67 | ||
7ace9d88 EA |
68 | Let's examine a typical .mc file (cf/cs-exposed.mc): |
69 | ||
70 | divert(-1) | |
71 | # | |
72 | # Copyright (c) 1983 Eric P. Allman | |
73 | # Copyright (c) 1988 The Regents of the University of California. | |
74 | # All rights reserved. | |
75 | # | |
76 | # Redistribution and use in source and binary forms are permitted | |
77 | # provided that the above copyright notice and this paragraph are | |
78 | # duplicated in all such forms and that any documentation, | |
79 | # advertising materials, and other materials related to such | |
80 | # distribution and use acknowledge that the software was developed | |
81 | # by the University of California, Berkeley. The name of the | |
82 | # University may not be used to endorse or promote products derived | |
83 | # from this software without specific prior written permission. | |
84 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
85 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
86 | # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
87 | # | |
88 | ||
4a51b074 | 89 | The divert(-1) will delete the crud in the resulting output file. |
fd82c288 | 90 | The copyright notice is what your lawyers require. Our lawyers require |
4a51b074 EA |
91 | the one that I've included in my files. A copyleft is a copyright by |
92 | another name. | |
93 | ||
94 | The next line MUST be | |
7ace9d88 EA |
95 | |
96 | include(`../m4/cf.m4') | |
97 | ||
4a51b074 EA |
98 | This will pull in the M4 macros you will need to make sense of |
99 | everything else. As the saying goes, don't think about it, just | |
100 | do it. If you don't do it, don't bother reading the rest of this | |
101 | file. | |
7ace9d88 | 102 | |
8897fcb1 | 103 | VERSIONID(`<SCCS or RCS version id>') |
7ace9d88 EA |
104 | |
105 | VERSIONID is a macro that stuffs the version information into the | |
106 | resulting file. We use SCCS; you could use RCS, something else, or | |
4a51b074 EA |
107 | omit it completely. This is not the same as the version id included |
108 | in SMTP greeting messages -- this is defined in m4/version.m4. | |
7ace9d88 | 109 | |
9df1b56b | 110 | DOMAIN(cs.exposed) |
7ace9d88 EA |
111 | |
112 | This example exposes the host inside of the CS subdomain -- that is, | |
113 | it doesn't try to hide the name of the workstation to the outside | |
114 | world. Changing this to DOMAIN(cs.hidden) would have made outgoing | |
115 | messages refer to "<username>@CS.Berkeley.EDU" instead of using the | |
5dd53c38 | 116 | local hostname. Internally this is effected by using |
4a51b074 | 117 | "MASQUERADE_AS(CS.Berkeley.EDU)". |
7ace9d88 | 118 | |
9df1b56b | 119 | MAILER(smtp) |
7ace9d88 | 120 | |
c573210d EA |
121 | These describe the mailers used at the default CS site site. The |
122 | local mailer is always included automatically. | |
7ace9d88 | 123 | |
bee9d799 | 124 | |
4a51b074 EA |
125 | +--------+ |
126 | | OSTYPE | | |
127 | +--------+ | |
128 | ||
7ace9d88 EA |
129 | Note that cf/cs-exposed.mc omits an OSTYPE macro -- this assumes |
130 | default Computer Science Division environment. There are several | |
fd82c288 EA |
131 | explicit environments available: bsd4.3, bsd4.4, hpux, irix, osf1, |
132 | riscos4.5, sunos3.5, sunos4.1, and ultrix4.1. These change things | |
133 | like the location of the alias file and queue directory. Some of | |
134 | these files are identical to one another. | |
4a51b074 EA |
135 | |
136 | Operating system definitions are easy to write. They may define | |
137 | the following variables (everything defaults, so an ostype file | |
138 | may be empty). | |
139 | ||
140 | ALIAS_FILE [/etc/aliases] The location of the text version | |
00d0b5bf | 141 | of the alias file(s). It can be a comma-separated |
7b97409d EA |
142 | list of names (but be sure you quote values with |
143 | comments in them -- for example, use | |
144 | define(`ALIAS_FILE', `a,b') | |
145 | to get "a" and "b" both listed as alias files; | |
146 | otherwise the define() primitive only sees "a"). | |
4a51b074 EA |
147 | HELP_FILE [/usr/lib/sendmail.hf] The name of the file |
148 | containing information printed in response to | |
149 | the SMTP HELP command. | |
4a51b074 EA |
150 | QUEUE_DIR [/var/spool/mqueue] The directory containing |
151 | queue files. | |
152 | STATUS_FILE [/etc/sendmail.st] The file containing status | |
153 | information. | |
bee9d799 | 154 | LOCAL_MAILER_PATH [/bin/mail] The program used to deliver local mail. |
2e9b6f6e EA |
155 | LOCAL_MAILER_FLAGS [rmn] The flags used by the local mailer. The |
156 | flags lsDFM are always included. | |
d8b2ad36 EA |
157 | LOCAL_MAILER_ARGS [mail -d $u] The arguments passed to deliver local |
158 | mail. | |
bee9d799 | 159 | LOCAL_SHELL_PATH [/bin/sh] The shell used to deliver piped email. |
1c61e291 EA |
160 | LOCAL_SHELL_FLAGS [eu] The flags used by the shell mailer. The |
161 | flags lsDFM are always included. | |
162 | LOCAL_SHELL_ARGS [sh -c $u] The arguments passed to deliver "prog" | |
163 | mail. | |
d015fbfb EA |
164 | LOCAL_SHELL_DIR [$z:/] The directory search path in which the |
165 | shell should run. | |
bee9d799 EA |
166 | USENET_MAILER_PATH [/usr/lib/news/inews] The name of the program |
167 | used to submit news. | |
168 | USENET_MAILER_FLAGS [rlsDFMmn] The mailer flags for the usenet mailer. | |
169 | USENET_MAILER_ARGS [-m -h -n] The command line arguments for the | |
170 | usenet mailer. | |
4e444ec8 EA |
171 | USENET_MAILER_MAX [100000] The maximum size of messages that will |
172 | be accepted by the usenet mailer. | |
5dd53c38 | 173 | SMTP_MAILER_FLAGS [undefined] Flags added to SMTP mailer. Default |
b0abd8b1 EA |
174 | flags are `mDFMUX' for all SMTP-based mailers; the |
175 | "esmtp" mailer adds `a' and "smtp8" adds `8'. | |
4e444ec8 | 176 | SMTP_MAILER_MAX [undefined] The maximum size of messages that will |
b0abd8b1 EA |
177 | be transported using the smtp, smtp8, or esmtp |
178 | mailers. | |
179 | SMTP_MAILER_ARGS [IPC $h] The arguments passed to the smtp mailer. | |
180 | About the only reason you would want to change this | |
181 | would be to change the default port. | |
182 | ESMTP_MAILER_ARGS [IPC $h] The arguments passed to the esmtp mailer. | |
183 | SMTP8_MAILER_ARGS [IPC $h] The arguments passed to the smtp8 mailer. | |
184 | RELAY_MAILER_ARGS [IPC $h] The arguments passed to the relay mailer. | |
5dd53c38 EA |
185 | UUCP_MAILER_FLAGS [undefined] Flags added to UUCP mailer. Default |
186 | flags are `DFMhuU' (and `m' for suucp mailer, minus | |
187 | `U' for uucp-dom mailer). | |
d8b2ad36 EA |
188 | UUCP_MAILER_ARGS [uux - -r -z -a$f -gC $h!rmail ($u)] The arguments |
189 | passed to the UUCP mailer. | |
1c61e291 EA |
190 | UUCP_MAX_SIZE [100000] The maximum size message accepted for |
191 | transmission by the UUCP mailers. | |
4e444ec8 EA |
192 | FAX_MAILER_PATH [/usr/local/lib/fax/mailfax] The program used to |
193 | submit FAX messages. | |
194 | FAX_MAILER_MAX [100000] The maximum size message accepted for | |
195 | transmission by FAX. | |
edae2ee6 EA |
196 | POP_MAILER_PATH [/usr/lib/mh/spop] The pathname of the POP mailer. |
197 | POP_MAILER_FLAGS [Penu] Flags added to POP mailer. Flags "lsDFM" | |
198 | are always added. | |
199 | POP_MAILER_ARGS [pop $u] The arguments passed to the POP mailer. | |
69982d42 EA |
200 | PROCMAIL_MAILER_FLAGS [Shu] Flags added to Procmail mailer. Flags |
201 | ``DFMmn'' are always set. | |
202 | PROCMAIL_MAILER_ARGS [procmail -m $h $f $u] The arguments passed to | |
203 | the Procmail mailer. | |
4a51b074 | 204 | |
4a51b074 EA |
205 | +---------+ |
206 | | DOMAINS | | |
207 | +---------+ | |
208 | ||
209 | You will probably want to collect domain-dependent defines into one | |
210 | file, referenced by the DOMAIN macro. For example, our Berkeley | |
211 | domain file includes definitions for several internal distinguished | |
212 | hosts: | |
213 | ||
214 | UUCP_RELAY The host that will forward UUCP-addressed email. | |
215 | If not defined, all UUCP sites must be directly | |
bb3c21c3 | 216 | connected. |
4a51b074 EA |
217 | BITNET_RELAY The host that will forward BITNET-addressed email. |
218 | If not defined, the .BITNET pseudo-domain won't work. | |
4a51b074 EA |
219 | LOCAL_RELAY The site that will handle unqualified names -- that |
220 | is, names with out an @domain extension. If not set, | |
221 | they are assumed to belong on this machine. This | |
222 | allows you to have a central site to store a | |
223 | company- or department-wide alias database. This | |
224 | only works at small sites, and there are better | |
bb3c21c3 | 225 | methods. |
b0abd8b1 EA |
226 | LUSER_RELAY The site that will handle lusers -- that is, apparently |
227 | local names that aren't local accounts or aliases. | |
bb3c21c3 | 228 | |
b0abd8b1 | 229 | Any of these can be either ``mailer:hostname'' (in which case the |
bb3c21c3 EA |
230 | mailer is the internal mailer name, such as ``suucp'' and the hostname |
231 | is the name of the host as appropriate for that mailer) or just a | |
232 | ``hostname'', in which case a default mailer type (usually ``relay'', | |
2e9b6f6e EA |
233 | a variant on SMTP) is used. WARNING: if you have a wildcard MX |
234 | record matching your domain, you probably want to define these to | |
235 | have a trailing dot so that you won't get the mail diverted back | |
236 | to yourself. | |
4a51b074 EA |
237 | |
238 | The domain file can also be used to define a domain name, if needed | |
6f02ae2f EA |
239 | (using "DD<domain>") and set certain site-wide features. If all hosts |
240 | at your site masquerade behind one email name, you could also use | |
241 | MASQUERADE_AS here. | |
4a51b074 | 242 | |
dec2b686 EA |
243 | You do not have to define a domain -- in particular, if you are a |
244 | single machine sitting off somewhere, it is probably more work than | |
245 | it's worth. This is just a mechanism for combining "domain dependent | |
246 | knowledge" into one place. | |
247 | ||
4a51b074 EA |
248 | +---------+ |
249 | | MAILERS | | |
250 | +---------+ | |
7ace9d88 EA |
251 | |
252 | There are fewer mailers supported in this version than the previous | |
253 | version, owing mostly to a simpler world. | |
254 | ||
255 | local The local and prog mailers. You will almost always | |
256 | need these; the only exception is if you relay ALL | |
fd82c288 EA |
257 | your mail to another site. This mailer is included |
258 | automatically. | |
7ace9d88 EA |
259 | |
260 | smtp The Simple Mail Transport Protocol mailer. This does | |
261 | not hide hosts behind a gateway or another other | |
262 | such hack; it assumes a world where everyone is | |
d8b2ad36 | 263 | running the name server. This file actually defines |
b0abd8b1 | 264 | four mailers: "smtp" for regular (old-style) SMTP to |
d8b2ad36 | 265 | other servers, "esmtp" for extended SMTP to other |
b0abd8b1 EA |
266 | servers, "smtp8" to do SMTP to other servers without |
267 | converting 8-bit data to MIME (essentially, this is | |
268 | your statement that you know the other end is 8-bit | |
269 | clean even if it doesn't say so), and "relay" for | |
270 | transmission to our RELAY_HOST, LUSER_RELAY, or | |
271 | MAILER_HUB. | |
7ace9d88 EA |
272 | |
273 | uucp The Unix-to-Unix Copy Program mailer. Actually, this | |
41187805 EA |
274 | defines two mailers, "uucp-old" (a.k.a. "uucp") and |
275 | "uucp-new" (a.k.a. "suucp"). The latter is for when you | |
276 | know that the UUCP mailer at the other end can handle | |
277 | multiple recipients in one transfer. If the smtp mailer | |
278 | is also included in your configuration, two other mailers | |
279 | ("uucp-dom" and "uucp-uudom") are also defined. When you | |
280 | include the uucp mailer, sendmail looks for all names in | |
2a20bc94 EA |
281 | the $=U class and sends them to the uucp-old mailer; all |
282 | names in the $=Y class are sent to uucp-new; and all | |
283 | names in the $=Z class are sent to uucp-uudom. Note that | |
4a51b074 EA |
284 | this is a function of what version of rmail runs on |
285 | the receiving end, and hence may be out of your control. | |
2a20bc94 EA |
286 | See the section below describing UUCP mailers in more |
287 | detail. | |
4a51b074 | 288 | |
bee9d799 EA |
289 | usenet Usenet (network news) delivery. If this is specified, |
290 | an extra rule is added to ruleset 0 that forwards all | |
291 | local email for users named ``group.usenet'' to the | |
292 | ``inews'' program. Note that this works for all groups, | |
293 | and may be considered a security problem. | |
294 | ||
63013ec3 EA |
295 | fax Facsimile transmission. This is experimental and based |
296 | on Sam Leffler's FlexFAX software. For more information, | |
297 | see below. | |
298 | ||
418602bc EA |
299 | pop Post Office Protocol. |
300 | ||
69982d42 EA |
301 | procmail An interface to procmail (does not come with sendmail). |
302 | This is designed to be used in mailertables. For example, | |
303 | a common question is "how do I forward all mail for a given | |
304 | domain to a single person?". If you have this mailer | |
305 | defined, you could set up a mailertable reading: | |
306 | ||
307 | host.com procmail:/etc/procmailrcs/host.com | |
308 | ||
309 | with the file /etc/procmailrcs/host.com reading: | |
310 | ||
311 | :0 # forward mail for host.com | |
312 | ! -oi -f $1 person@other.host | |
313 | ||
314 | This would arrange for (anything)@host.com to be sent | |
315 | to person@other.host. Within the procmail script, $1 is | |
316 | the name of the sender and $2 is the name of the recipient. | |
317 | If you use this with FEATURE(local_procmail), the FEATURE | |
318 | should be listed first. | |
319 | ||
1d64a22c EA |
320 | The local mailer accepts addresses of the form "user+detail", where |
321 | the "+detail" is not used for mailbox matching but is available | |
69982d42 | 322 | to certain local mail programs (in particular, see FEATURE(local_procmail)). |
1d64a22c EA |
323 | For example, "eric", "eric+sendmail", and "eric+sww" all indicate |
324 | the same user, but additional arguments <null>, "sendmail", and "sww" | |
325 | may be provided for use in sorting mail. | |
326 | ||
bee9d799 | 327 | |
4a51b074 EA |
328 | +----------+ |
329 | | FEATURES | | |
330 | +----------+ | |
331 | ||
332 | Special features can be requested using the "FEATURE" macro. For | |
333 | example, the .mc line: | |
334 | ||
335 | FEATURE(use_cw_file) | |
336 | ||
337 | tells sendmail that you want to have it read an /etc/sendmail.cw | |
3ad658d7 EA |
338 | file to get values for class $=w. The FEATURE may contain a single |
339 | optional parameter -- for example: | |
340 | ||
341 | FEATURE(mailertable, dbm /usr/lib/mailertable) | |
342 | ||
343 | Available features are: | |
4a51b074 EA |
344 | |
345 | use_cw_file Read the file /etc/sendmail.cw file to get alternate | |
346 | names for this host. This might be used if you were | |
347 | on a host that MXed for a dynamic set of other | |
348 | hosts. If the set is static, just including the line | |
349 | "Cw<name1> <name2> ..." is probably superior. | |
dec2b686 EA |
350 | The actual filename can be overridden by redefining |
351 | confCW_FILE. | |
f51c9ac8 | 352 | |
bee9d799 EA |
353 | redirect Reject all mail addressed to "address.REDIRECT" with |
354 | a ``551 User not local; please try <address>'' message. | |
355 | If this is set, you can alias people who have left | |
356 | to their new address with ".REDIRECT" appended. | |
f51c9ac8 | 357 | |
a33031f5 | 358 | nouucp Don't do anything special with UUCP addresses at all. |
f51c9ac8 | 359 | |
928fba03 EA |
360 | nocanonify Don't pass addresses to $[ ... $] for canonification. |
361 | This would generally only be used by sites that only | |
362 | act as mail gateways or which have user agents that do | |
bb3c21c3 EA |
363 | full canonification themselves. You may also want to |
364 | use "define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')" to | |
365 | turn off the usual resolver options that do a similar | |
366 | thing. | |
f51c9ac8 | 367 | |
65739042 | 368 | stickyhost If set, email sent to "user@local.host" are marked |
da99e870 EA |
369 | as "sticky" -- that is, the local addresses aren't |
370 | matched against UDB and don't go through ruleset 5. | |
b0abd8b1 EA |
371 | This is used if you want a set up where "user" is |
372 | not necessarily the same as "user@local.host", e.g., | |
373 | to make a distinct domain-wide namespace. Prior to | |
374 | 8.7 this was the default, and notsticky was used to | |
375 | turn this off. | |
f51c9ac8 | 376 | |
3ad658d7 EA |
377 | mailertable Include a "mailer table" which can be used to override |
378 | routing for particular domains. The argument of the | |
379 | FEATURE may be the key definition. If none is specified, | |
380 | the definition used is: | |
6e8cccfc | 381 | hash -o /etc/mailertable |
d8b2ad36 EA |
382 | Keys in this database are fully qualified domain names |
383 | or partial domains preceded by a dot -- for example, | |
384 | "vangogh.CS.Berkeley.EDU" or ".CS.Berkeley.EDU". | |
385 | Values must be of the form: | |
3ad658d7 | 386 | mailer:domain |
d8b2ad36 EA |
387 | where "mailer" is the internal mailer name, and "domain" |
388 | is where to send the message. These maps are not | |
389 | reflected into the message header. | |
f51c9ac8 | 390 | |
d8b2ad36 | 391 | domaintable Include a "domain table" which can be used to provide |
e92659a8 EA |
392 | domain name mapping. Use of this should really be |
393 | limited to your own domains. It may be useful if you | |
394 | change names (e.g., your company changes names from | |
395 | oldname.com to newname.com). The argument of the | |
396 | FEATURE may be the key definition. If none is specified, | |
397 | the definition used is: | |
6e8cccfc | 398 | hash -o /etc/domaintable |
e92659a8 EA |
399 | The key in this table is the domain name; the value is |
400 | the new (fully qualified) domain. Anything in the | |
d8b2ad36 EA |
401 | domaintable is reflected into headers; that is, this |
402 | is done in ruleset 3. | |
f51c9ac8 | 403 | |
d1593b1a EA |
404 | bitdomain Look up bitnet hosts in a table to try to turn them into |
405 | internet addresses. The table can be built using the | |
2e9b6f6e | 406 | bitdomain program contributed by John Gardiner Myers. |
d1593b1a EA |
407 | The argument of the FEATURE may be the key definition; if |
408 | none is specified, the definition used is: | |
6e8cccfc | 409 | hash -o /etc/bitdomain.db |
d1593b1a EA |
410 | Keys are the bitnet hostname; values are the corresponding |
411 | internet hostname. | |
f51c9ac8 | 412 | |
4f1c78c0 EA |
413 | uucpdomain Similar feature for UUCP hosts. The default map definition |
414 | is: | |
6e8cccfc | 415 | hash -o /etc/uudomain.db |
4f1c78c0 EA |
416 | At the moment there is no automagic tool to build this |
417 | database. | |
f51c9ac8 | 418 | |
c62d746c EA |
419 | always_add_domain |
420 | Include the local host domain even on locally delivered | |
421 | mail. Normally it is not added unless it is already | |
422 | present. | |
f51c9ac8 | 423 | |
d8b2ad36 EA |
424 | allmasquerade If masquerading is enabled (using MASQUERADE_AS), this |
425 | feature will cause recipient addresses to also masquerade | |
426 | as being from the masquerade host. Normally they get | |
427 | the local hostname. Although this may be right for | |
428 | ordinary users, it can break local aliases. For example, | |
429 | if you send to "localalias", the originating sendmail will | |
430 | find that alias and send to all members, but send the | |
431 | message with "To: localalias@masqueradehost". Since that | |
432 | alias likely does not exist, replies will fail. Use this | |
433 | feature ONLY if you can guarantee that the ENTIRE | |
434 | namespace on your masquerade host supersets all the | |
435 | local entries. | |
f51c9ac8 | 436 | |
2e9b6f6e EA |
437 | nodns We aren't running DNS at our site (for example, |
438 | we are UUCP-only connected). It's hard to consider | |
439 | this a "feature", but hey, it had to go somewhere. | |
4a51b074 | 440 | |
f51c9ac8 EA |
441 | nullclient This is a special case -- it creates a stripped down |
442 | configuration file containing nothing but support for | |
de0c51e7 EA |
443 | forwarding all mail to a central hub via a local |
444 | SMTP-based network. The argument is the name of that | |
445 | hub. | |
446 | ||
447 | The only other feature that should be used in conjunction | |
448 | with this one is "nocanonify" (this causes addresses to | |
449 | be sent unqualified via the SMTP connection; normally | |
450 | they are qualifed with the masquerade name, which | |
451 | defaults to the name of the hub machine). No mailers | |
452 | should be defined. No aliasing or forwarding is done. | |
f51c9ac8 | 453 | |
69982d42 | 454 | local_procmail Use procmail as the local mailer. This mailer can |
1d64a22c EA |
455 | make use of the "user+indicator@local.host" syntax; |
456 | normally the +indicator is just tossed, but by default | |
457 | it is passed as the -a argument to procmail. The | |
458 | argument to this feature is the pathname of procmail, | |
459 | which defaults to /usr/local/bin/procmail. | |
460 | ||
bee9d799 | 461 | |
4a51b074 EA |
462 | +-------+ |
463 | | HACKS | | |
464 | +-------+ | |
465 | ||
466 | Some things just can't be called features. To make this clear, | |
fd82c288 | 467 | they go in the hack subdirectory and are referenced using the HACK |
4a51b074 EA |
468 | macro. These will tend to be site-dependent. The release |
469 | includes the Berkeley-dependent "cssubdomain" hack (that makes | |
470 | sendmail accept local names in either Berkeley.EDU or CS.Berkeley.EDU; | |
471 | this is intended as a short-term aid while we move hosts into | |
472 | subdomains. | |
473 | ||
bee9d799 | 474 | |
4a51b074 EA |
475 | +--------------------+ |
476 | | SITE CONFIGURATION | | |
477 | +--------------------+ | |
478 | ||
479 | Complex sites will need more local configuration information, such as | |
480 | lists of UUCP hosts they speak with directly. This can get a bit more | |
481 | tricky. For an example of a "complex" site, see cf/ucbvax.mc. | |
482 | ||
c833924a EA |
483 | If your host is known by several different names, you need to augment |
484 | the $=w class. This is a list of names by which you are known, and | |
485 | anything sent to an address using a host name in this list will be | |
486 | treated as local mail. You can do this in two ways: either create | |
487 | the file /etc/sendmail.cw containing a list of your aliases (one per | |
488 | line), and use ``FEATURE(use_cw_file)'' in the .mc file, or add the | |
489 | line: | |
490 | ||
491 | Cw alias.host.name | |
492 | ||
493 | at the end of that file. See the ``vangogh.mc'' file for an example. | |
494 | Be sure you use the fully-qualified name of the host, rather than a | |
495 | short name. | |
496 | ||
4a51b074 EA |
497 | The SITECONFIG macro allows you to indirectly reference site-dependent |
498 | configuration information stored in the siteconfig subdirectory. For | |
499 | example, the line | |
500 | ||
501 | SITECONFIG(uucp.ucbvax, ucbvax, U) | |
502 | ||
503 | reads the file uucp.ucbvax for local connection information. The | |
504 | second parameter is the local name (in this case just "ucbvax" since | |
c833924a EA |
505 | it is locally connected, and hence a UUCP hostname). The third |
506 | parameter is the name of both a macro to store the local name (in | |
507 | this case, $U) and the name of the class (e.g., $=U) in which to store | |
508 | the host information read from the file. Another SITECONFIG line reads | |
4a51b074 EA |
509 | |
510 | SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) | |
511 | ||
512 | This says that the file uucp.ucbarpa contains the list of UUCP sites | |
513 | connected to ucbarpa.Berkeley.EDU. The $=W class will be used to | |
c833924a EA |
514 | store this list, and $W is defined to be ucbarpa.Berkeley.EDU, that |
515 | is, the name of the relay to which the hosts listed in uucp.ucbarpa | |
516 | are connected. [The machine ucbarpa is gone now, but I've left | |
4a51b074 EA |
517 | this out-of-date configuration file around to demonstrate how you |
518 | might do this.] | |
519 | ||
c833924a EA |
520 | Note that the case of SITECONFIG with a third parameter of ``U'' is |
521 | special; the second parameter is assumed to be the UUCP name of the | |
522 | local site, rather than the name of a remote site, and the UUCP name | |
523 | is entered into $=w (the list of local hostnames) as $U.UUCP. | |
524 | ||
4a51b074 EA |
525 | The siteconfig file (e.g., siteconfig/uucp.ucbvax.m4) contains nothing |
526 | more than a sequence of SITE macros describing connectivity. For | |
527 | example: | |
528 | ||
529 | SITE(cnmat) | |
530 | SITE(sgi olympus) | |
531 | ||
532 | The second example demonstrates that you can use two names on the | |
533 | same line; these are usually aliases for the same host (or are at | |
534 | least in the same company). | |
535 | ||
bee9d799 | 536 | |
2a20bc94 EA |
537 | +--------------------+ |
538 | | USING UUCP MAILERS | | |
539 | +--------------------+ | |
540 | ||
541 | It's hard to get UUCP mailers right because of the extremely ad hoc | |
542 | nature of UUCP addressing. These config files are really designed | |
543 | for domain-based addressing, even for UUCP sites. | |
544 | ||
545 | There are four UUCP mailers available. The choice of which one to | |
546 | use is partly a matter of local preferences and what is running at | |
547 | the other end of your UUCP connection. Unlike good protocols that | |
548 | define what will go over the wire, UUCP uses the policy that you | |
549 | should do what is right for the other end; if they change, you have | |
550 | to change. This makes it hard to do the right thing, and discourages | |
551 | people from updating their software. In general, if you can avoid | |
552 | UUCP, please do. | |
553 | ||
554 | The major choice is whether to go for a domainized scheme or a | |
555 | non-domainized scheme. This depends entirely on what the other | |
556 | end will recognize. If at all possible, you should encourage the | |
557 | other end to go to a domain-based system -- non-domainized addresses | |
558 | don't work entirely properly. | |
559 | ||
560 | The four mailers are: | |
561 | ||
562 | uucp-old (obsolete name: "uucp") | |
563 | This is the oldest, the worst (but the closest to UUCP) way of | |
564 | sending messages accros UUCP connections. It does bangify | |
565 | everything and prepends $U (your UUCP name) to the sender's | |
566 | address (which can already be a bang path itself). It can | |
567 | only send to one address at a time, so it spends a lot of | |
568 | time copying duplicates of messages. Avoid this if at all | |
569 | possible. | |
570 | ||
571 | uucp-new (obsolete name: "suucp") | |
572 | The same as above, except that it assumes that in one rmail | |
573 | command you can specify several recipients. It still has a | |
574 | lot of other problems. | |
575 | ||
576 | uucp-dom | |
577 | This UUCP mailer keeps everything as domain addresses. | |
41187805 EA |
578 | Basically, it uses the SMTP mailer rewriting rules. This mailer |
579 | is only included if MAILER(smtp) is also specified. | |
2a20bc94 EA |
580 | |
581 | Unfortunately, a lot of UUCP mailer transport agents require | |
582 | bangified addresses in the envelope, although you can use | |
583 | domain-based addresses in the message header. (The envelope | |
584 | shows up as the From_ line on UNIX mail.) So.... | |
585 | ||
586 | uucp-uudom | |
587 | This is a cross between uucp-new (for the envelope addresses) | |
588 | and uucp-dom (for the header addresses). It bangifies the | |
589 | envelope sender (From_ line in messages) without adding the | |
590 | local hostname, unless there is no host name on the address | |
591 | at all (e.g., "wolf") or the host component is a UUCP host name | |
592 | instead of a domain name ("somehost!wolf" instead of | |
41187805 EA |
593 | "some.dom.ain!wolf"). This is also included only if MAILER(smtp) |
594 | is also specified. | |
2a20bc94 EA |
595 | |
596 | Examples: | |
597 | ||
598 | We are on host grasp.insa-lyon.fr (UUCP host name "grasp"). The | |
599 | following summarizes the sender rewriting for various mailers. | |
600 | ||
601 | Mailer sender rewriting in the envelope | |
602 | ------ ------ ------------------------- | |
603 | uucp-{old,new} wolf grasp!wolf | |
604 | uucp-dom wolf wolf@grasp.insa-lyon.fr | |
605 | uucp-uudom wolf grasp.insa-lyon.fr!wolf | |
606 | ||
607 | uucp-{old,new} wolf@fr.net grasp!fr.net!wolf | |
608 | uucp-dom wolf@fr.net wolf@fr.net | |
609 | uucp-uudom wolf@fr.net fr.net!wolf | |
610 | ||
611 | uucp-{old,new} somehost!wolf grasp!somehost!wolf | |
612 | uucp-dom somehost!wolf somehost!wolf@grasp.insa-lyon.fr | |
613 | uucp-uudom somehost!wolf grasp.insa-lyon.fr!somehost!wolf | |
614 | ||
615 | If you are using one of the domainized UUCP mailers, you really want | |
616 | to convert all UUCP addresses to domain format -- otherwise, it will | |
617 | do it for you (and probably not the way you expected). For example, | |
618 | if you have the address foo!bar!baz (and you are not sending to foo), | |
619 | the heuristics will add the @uucp.relay.name or @local.host.name to | |
620 | this address. However, if you map foo to foo.host.name first, it | |
621 | will not add the local hostname. You can do this using the uucpdomain | |
622 | feature. | |
623 | ||
624 | ||
4a51b074 EA |
625 | +-------------------+ |
626 | | TWEAKING RULESETS | | |
627 | +-------------------+ | |
9df1b56b EA |
628 | |
629 | For more complex configurations, you can define special rules. | |
630 | The macro LOCAL_RULE_3 introduces rules that are used in canonicalizing | |
631 | the names. Any modifications made here are reflected in the header. | |
632 | ||
633 | A common use is to convert old UUCP addreses to SMTP addresses using | |
634 | the UUCPSMTP macro. For example: | |
635 | ||
636 | LOCAL_RULE_3 | |
637 | UUCPSMTP(decvax, decvax.dec.com) | |
638 | UUCPSMTP(research, research.att.com) | |
639 | ||
640 | will cause addresses of the form "decvax!user" and "research!user" | |
641 | to be converted to "user@decvax.dec.com" and "user@research.att.com" | |
642 | respectively. | |
643 | ||
6fb312a3 | 644 | This could also be used to look up hosts in a database map: |
4a51b074 EA |
645 | |
646 | LOCAL_RULE_3 | |
647 | R$* < @ $+ > $* $: $1 < @ $(hostmap $2 $) > $3 | |
648 | ||
649 | This map would be defined in the LOCAL_CONFIG portion, as shown below. | |
650 | ||
9df1b56b EA |
651 | Similarly, LOCAL_RULE_0 can be used to introduce new parsing rules. |
652 | For example, new rules are needed to parse hostnames that you accept | |
c573210d EA |
653 | via MX records. For example, you might have: |
654 | ||
655 | LOCAL_RULE_0 | |
2c56efa0 | 656 | R$+ <@ host.dom.ain.> $#uucp $@ cnmat $: $1 < @ host.dom.ain.> |
c573210d EA |
657 | |
658 | You would use this if you had installed an MX record for cnmat.Berkeley.EDU | |
659 | pointing at this host; this rule catches the message and forwards it on | |
660 | using UUCP. | |
9df1b56b | 661 | |
06630be3 EA |
662 | You can also tweak rulesets 1 and 2 using LOCAL_RULE_1 and LOCAL_RULE_2. |
663 | These rulesets are normally empty. | |
664 | ||
4a51b074 EA |
665 | A similar macro is LOCAL_CONFIG. This introduces lines added after the |
666 | boilerplate option setting but before rulesets, and can be used to | |
a151c868 | 667 | declare local database maps or whatever. For example: |
4a51b074 EA |
668 | |
669 | LOCAL_CONFIG | |
670 | Khostmap hash /etc/hostmap.db | |
671 | Kyplocal nis -m hosts.byname | |
4a51b074 | 672 | |
bee9d799 | 673 | |
4a51b074 EA |
674 | +---------------------------+ |
675 | | MASQUERADING AND RELAYING | | |
676 | +---------------------------+ | |
677 | ||
678 | You can have your host masquerade as another using | |
679 | ||
680 | MASQUERADE_AS(host.domain) | |
9df1b56b | 681 | |
6fb312a3 | 682 | This causes outgoing SMTP mail to be labeled as coming from the |
4a51b074 | 683 | indicated domain, rather than $j. One normally masquerades as one |
6fb312a3 | 684 | of one's own subdomains (for example, it's unlikely that I would |
4a51b074 EA |
685 | choose to masquerade as an MIT site). |
686 | ||
2e9b6f6e EA |
687 | The masquerade name is not normally canonified, so it is important |
688 | that it be your One True Name, that is, fully qualified and not a | |
689 | CNAME. | |
690 | ||
4a51b074 EA |
691 | there are always users that need to be "exposed" -- that is, their |
692 | internal site name should be displayed instead of the masquerade name. | |
693 | Root is an example. You can add users to this list using | |
694 | ||
695 | EXPOSED_USER(usernames) | |
696 | ||
697 | This adds users to class E; you could also use something like | |
698 | ||
699 | FE/etc/sendmail.cE | |
700 | ||
701 | You can also arrange to relay all unqualified names (that is, names | |
702 | without @host) to a relay host. For example, if you have a central | |
703 | email server, you might relay to that host so that users don't have | |
704 | to have .forward files or aliases. You can do this using | |
705 | ||
28b51619 | 706 | define(`LOCAL_RELAY', mailer:hostname) |
4a51b074 | 707 | |
28b51619 EA |
708 | The ``mailer:'' can be omitted, in which case the mailer defaults to |
709 | "smtp". There are some user names that you don't want relayed, perhaps | |
710 | because of local aliases. A common example is root, which may be | |
711 | locally aliased. You can add entries to this list using | |
4a51b074 EA |
712 | |
713 | LOCAL_USER(usernames) | |
714 | ||
715 | This adds users to class L; you could also use something like | |
716 | ||
717 | FL/etc/sendmail.cL | |
718 | ||
2e9b6f6e EA |
719 | If you want all incoming mail sent to a centralized hub, as for a |
720 | shared /var/spool/mail scheme, use | |
34e49bd3 | 721 | |
28b51619 | 722 | define(`MAIL_HUB', mailer:hostname) |
34e49bd3 | 723 | |
28b51619 | 724 | Again, ``mailer:'' defaults to "smtp". If you define both LOCAL_RELAY |
0ee1617f EA |
725 | and MAIL_HUB, unqualified names will be sent to the LOCAL_RELAY and |
726 | other local names will be sent to MAIL_HUB. Names in $=L will be | |
727 | delivered locally, so you MUST have aliases or .forward files for them. | |
728 | ||
729 | For example, if are on machine mastodon.CS.Berkeley.EDU, the following | |
28b51619 | 730 | combinations of settings will have the indicated effects: |
34e49bd3 EA |
731 | |
732 | email sent to.... eric eric@mastodon.CS.Berkeley.EDU | |
733 | ||
734 | LOCAL_RELAY set to mail.CS.Berkeley.EDU (delivered locally) | |
735 | mail.CS.Berkeley.EDU | |
736 | ||
737 | MAIL_HUB set to mammoth.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU | |
738 | mammoth.CS.Berkeley.EDU | |
739 | ||
740 | Both LOCAL_RELAY and mail.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU | |
741 | MAIL_HUB set as above | |
742 | ||
2e9b6f6e EA |
743 | If you want all outgoing mail to go to a central relay site, define |
744 | SMART_HOST as well. Briefly: | |
745 | ||
746 | LOCAL_RELAY applies to unqualifed names (e.g., "eric"). | |
747 | MAIL_HUB applies to names qualified with the name of the | |
748 | local host (e.g., "eric@mastodon.CS.Berkeley.EDU"). | |
749 | SMART_HOST applies to names qualified with other hosts. | |
750 | ||
751 | However, beware that other relays (e.g., UUCP_RELAY, BITNET_RELAY, and | |
752 | FAX_RELAY) take precedence over SMART_HOST, so if you really want | |
753 | absolutely everything to go to a single central site you will need to | |
754 | unset all the other relays -- or better yet, find or build a minimal | |
755 | config file that does this. | |
756 | ||
28b51619 EA |
757 | |
758 | +-------------------------------+ | |
759 | | NON-SMTP BASED CONFIGURATIONS | | |
760 | +-------------------------------+ | |
761 | ||
762 | These configuration files are designed primarily for use by SMTP-based | |
763 | sites. I don't pretend that they are well tuned for UUCP-only or | |
764 | UUCP-primarily nodes (the latter is defined as a small local net | |
765 | connected to the rest of the world via UUCP). However, there is one | |
766 | hook to handle some special cases. | |
767 | ||
768 | You can define a ``smart host'' that understands a richer address syntax | |
769 | using: | |
770 | ||
771 | define(`SMART_HOST', mailer:hostname) | |
772 | ||
bb3c21c3 | 773 | In this case, the ``mailer:'' defaults to "relay". Any messages that |
28b51619 EA |
774 | can't be handled using the usual UUCP rules are passed to this host. |
775 | ||
776 | If you are on a local SMTP-based net that connects to the outside | |
777 | world via UUCP, you can use LOCAL_NET_CONFIG to add appropriate rules. | |
778 | For example: | |
779 | ||
780 | define(`SMART_HOST', suucp:uunet) | |
781 | LOCAL_NET_CONFIG | |
d8b2ad36 | 782 | R$* < @ $* .$m. > $* $#smtp $@ $2.$m. $: $1 < @ $2.$m. > $3 |
28b51619 EA |
783 | |
784 | This will cause all names that end in your domain name ($m) via | |
785 | SMTP; anything else will be sent via suucp (smart UUCP) to uunet. | |
d8b2ad36 EA |
786 | If you have FEATURE(nocanonify), you may need to omit the dots after |
787 | the $m. If you are running a local DNS inside your domain which is | |
788 | not otherwise connected to the outside world, you probably want to | |
789 | use: | |
790 | ||
791 | define(`SMART_HOST', smtp:fire.wall.com) | |
792 | LOCAL_NET_CONFIG | |
793 | R$* < @ $* . > $* $#smtp $@ $2. $: $1 < @ $2. > $3 | |
794 | ||
795 | That is, send directly only to things you found in your DNS lookup; | |
796 | anything else goes through SMART_HOST. | |
28b51619 | 797 | |
2e9b6f6e EA |
798 | If you are not running DNS at all, it is important to use |
799 | FEATURE(nodns) to avoid having sendmail queue everything waiting | |
800 | for the name server to come up. | |
801 | ||
28b51619 | 802 | |
f7e8be31 EA |
803 | +-----------+ |
804 | | WHO AM I? | | |
805 | +-----------+ | |
806 | ||
807 | Normally, the $j macro is automatically defined to be your fully | |
808 | qualified domain name (FQDN). Sendmail does this by getting your | |
809 | host name using gethostname and then calling gethostbyname on the | |
810 | result. For example, in some environments gethostname returns | |
811 | only the root of the host name (such as "foo"); gethostbyname is | |
812 | supposed to return the FQDN ("foo.bar.com"). In some (fairly rare) | |
813 | cases, gethostbyname may fail to return the FQDN. In this case | |
814 | you MUST define confDOMAIN_NAME to be your fully qualified domain | |
815 | name. This is usually done using: | |
816 | ||
817 | Dmbar.com | |
818 | define(`confDOMAIN_NAME', `$w.$m')dnl | |
819 | ||
820 | ||
bb3c21c3 EA |
821 | +--------------------+ |
822 | | USING MAILERTABLES | | |
823 | +--------------------+ | |
824 | ||
825 | To use FEATURE(mailertable), you will have to create an external | |
826 | database containing the routing information for various domains. | |
827 | For example, a mailertable file in text format might be: | |
828 | ||
829 | .my.domain xnet:%1.my.domain | |
830 | uuhost1.my.domain suucp:uuhost1 | |
831 | .bitnet smtp:relay.bit.net | |
832 | ||
833 | This should normally be stored in /etc/mailertable. The actual | |
834 | database version of the mailertable is built using: | |
835 | ||
836 | makemap hash /etc/mailertable.db < /etc/mailertable | |
837 | ||
838 | The semantics are simple. Any LHS entry that does not begin with | |
839 | a dot matches the full host name indicated. LHS entries beginning | |
840 | with a dot match anything ending with that domain name -- that is, | |
841 | they can be thought of as having a leading "*" wildcard. Matching | |
842 | is done in order of most-to-least qualified -- for example, even | |
843 | though ".my.domain" is listed first in the above example, an entry | |
844 | of "uuhost1.my.domain" will match the second entry since it is | |
845 | more explicit. | |
846 | ||
847 | The RHS should always be a "mailer:host" pair. The mailer is the | |
848 | configuration name of a mailer (that is, an `M' line in the | |
849 | sendmail.cf file). The "host" will be the hostname passed to | |
850 | that mailer. In domain-based matches (that is, those with leading | |
851 | dots) the "%1" may be used to interpolate the wildcarded part of | |
852 | the host name. For example, the first line above sends everything | |
853 | addressed to "anything.my.domain" to that same host name, but using | |
854 | the (presumably experimental) xnet mailer. | |
855 | ||
b0abd8b1 EA |
856 | In some cases you may want to temporarily turn off MX records, |
857 | particularly on gateways. For example, you may want to MX | |
858 | everything in a domain to one machine that then forwards it | |
859 | directly. To do this, you might use the DNS configuration: | |
860 | ||
861 | *.domain. IN MX 0 relay.machine | |
862 | ||
863 | and on relay.machine use the mailertable: | |
864 | ||
865 | .domain smtp:[gateway.domain] | |
866 | ||
867 | The [square brackets] turn off MX records for this host only. | |
868 | If you didn't do this, the mailertable would use the MX record | |
869 | again, which would give you an MX loop. | |
870 | ||
bb3c21c3 | 871 | |
2e9b6f6e EA |
872 | +--------------------------------+ |
873 | | USING USERDB TO MAP FULL NAMES | | |
874 | +--------------------------------+ | |
875 | ||
876 | The user database was not originally intended for mapping full names | |
877 | to login names (e.g., Eric.Allman => eric), but some people are using | |
878 | it that way. (I would recommend that you set up aliases for this | |
879 | purpose instead -- since you can specify multiple alias files, this | |
880 | is fairly easy.) The intent was to locate the default maildrop at | |
881 | a site, but allow you to override this by sending to a specific host. | |
882 | ||
883 | If you decide to set up the user database in this fashion, it is | |
65739042 | 884 | imperative that you not use FEATURE(stickyhost) -- otherwise, |
2e9b6f6e EA |
885 | e-mail sent to Full.Name@local.host.name will be rejected. |
886 | ||
65739042 | 887 | To build the internal form of the user database, use: |
f7e8be31 EA |
888 | |
889 | makemap btree /usr/data/base.db < /usr/data/base.txt | |
890 | ||
2e9b6f6e | 891 | |
f4d9c9f9 EA |
892 | +--------------------------------+ |
893 | | MISCELLANEOUS SPECIAL FEATURES | | |
894 | +--------------------------------+ | |
895 | ||
896 | DOTTED_USER(name) | |
897 | Sometimes it is convenient to merge configuration on a | |
898 | centralized mail machine, for example, to forward all | |
899 | root mail to a mail server. In this case it might be | |
900 | useful to be able to treat the root addresses as a class | |
901 | of addresses with subtle differences. You can do this | |
902 | using dotted users. For example, a client might include | |
903 | the alias: | |
904 | ||
905 | root: root.client1@server | |
906 | ||
907 | On the server, the mail configuration would include: | |
908 | ||
909 | DOTTED_USER(root) | |
910 | ||
911 | Aliases on the server that would match this address would | |
912 | be "root.client", "root.*", and "root", tried in that | |
913 | order. You can specify multiple addresses either by | |
914 | joining them in one DOTTTED_USER macro or by having | |
915 | multiple macros: | |
916 | ||
917 | DOTTED_USER(root) | |
918 | DOTTED_USER(postmaster mailer-daemon) | |
919 | ||
920 | defines three dotted users. | |
921 | ||
922 | ||
bbf8c7ae EA |
923 | +----------------+ |
924 | | SECURITY NOTES | | |
925 | +----------------+ | |
926 | ||
927 | A lot of sendmail security comes down to you. Sendmail 8 is much | |
928 | more careful about checking for security problems than previous | |
929 | versions, but there are some things that you still need to watch | |
930 | for. In particular: | |
931 | ||
932 | * Make sure the aliases file isn't writable except by trusted | |
933 | system personnel. This includes both the text and database | |
934 | version. | |
935 | ||
936 | * Make sure that other files that sendmail reads, such as the | |
937 | mailertable, is only writable by trusted system personnel. | |
938 | ||
939 | * The queue directory should not be world writable PARTICULARLY | |
940 | if your system allows "file giveaways" (that is, if a non-root | |
941 | user can chown any file they own to any other user). | |
942 | ||
943 | * If your system allows file giveaways, DO NOT create a publically | |
944 | writable directory for forward files. This will allow anyone | |
945 | to steal anyone else's e-mail. Instead, create a script that | |
946 | copies the .forward file from users' home directories once a | |
947 | night (if you want the non-NFS-mounted forward directory). | |
948 | ||
949 | * If your system allows file giveaways, you'll find that | |
950 | sendmail is much less trusting of :include: files -- in | |
951 | particular, you'll have to have /SENDMAIL/ANY/SHELL/ in | |
952 | /etc/shells before they will be trusted (that is, before | |
953 | files and programs listed in them will be honored). | |
954 | ||
955 | In general, file giveaways are a mistake -- if you can turn them | |
956 | off I recommend you do so. | |
957 | ||
958 | ||
63013ec3 EA |
959 | +------------------+ |
960 | | FlexFAX SOFTWARE | | |
961 | +------------------+ | |
962 | ||
963 | Sam Leffler's FlexFAX software is still in beta test -- but he expects a | |
964 | public version out "later this week" [as of 3/1/93]. The following | |
965 | blurb is direct from Sam: | |
966 | ||
d1ad6cf3 | 967 | $Header: /usr/people/sam/fax/RCS/HOWTO,v 1.14 93/05/24 11:42:16 sam Exp $ |
63013ec3 EA |
968 | |
969 | How To Obtain This Software (in case all you get is this file) | |
d1ad6cf3 | 970 | -------------------------------------------------------------- |
63013ec3 | 971 | The source code is available for public ftp on |
d1ad6cf3 | 972 | sgi.com sgi/fax/v2.1.src.tar.Z |
63013ec3 EA |
973 | (192.48.153.1) |
974 | ||
975 | You can also obtain inst'able images for Silicon Graphics machines from | |
d1ad6cf3 | 976 | sgi.com sgi/fax/v2.1.inst.tar |
63013ec3 EA |
977 | (192.48.153.1) |
978 | ||
979 | For example, | |
980 | % ftp -n sgi.com | |
981 | .... | |
982 | ftp> user anonymous | |
983 | ... <type in password> | |
984 | ftp> cd sgi/fax | |
985 | ftp> binary | |
d1ad6cf3 EA |
986 | ftp> get v2.1.src.tar.Z |
987 | ||
988 | In general, the latest version of the 2.1 release of the software is | |
989 | always available as "v2.1.src.tar.Z" or "v2.1.inst.tar" in the ftp | |
990 | directory. This file is a link to the appropriate released version (so | |
991 | don't waste your time retrieving the linked file as well!) Any files of | |
992 | the form v2.1.*.patch are shell scripts that can be used to patch older | |
993 | versions of the source code. For example, the file v2.1.0.patch would | |
994 | contain patches to update v2.1.0.tar.Z. (Note to beta testers: this is | |
995 | different than the naming conventions used during beta testing.) Patch | |
996 | files only work to go between consecutive versions, so if you are | |
997 | multiple versions behind the latest release, you will need to apply | |
998 | each patch file between your current version and the latest. | |
999 | ||
1000 | ||
1001 | Obtaining the Software by Electronic Mail | |
1002 | ----------------------------------------- | |
1003 | Do not send me requests for the software; they will be ignored (without | |
1004 | response). If you cannot use FTP at all, there is a service called | |
1005 | "ftpmail" available from gatekeeper.dec.com: you can send e-mail to | |
1006 | this machine and it will use FTP to retrieve files for you and send you | |
1007 | the files back again via e-mail. To find out more about the ftpmail | |
63013ec3 EA |
1008 | service, send a message to "ftpmail@gatekeeper.dec.com" whose body |
1009 | consists of the single line "help". | |
1010 | ||
d1ad6cf3 EA |
1011 | |
1012 | Obtaining the Software Within Silicon Graphics | |
1013 | ---------------------------------------------- | |
63013ec3 | 1014 | Internal to Silicon Graphics there are inst'able images on the host |
d1ad6cf3 | 1015 | flake.asd in the directory /usr/dist. Thus you can do something like: |
63013ec3 | 1016 | |
d1ad6cf3 | 1017 | % inst -f flake.asd.sgi.com:/usr/dist/flexfax |
63013ec3 | 1018 | |
d1ad6cf3 | 1019 | to install the latest version of the software on your machine. |
63013ec3 | 1020 | |
d1ad6cf3 EA |
1021 | |
1022 | What to do Once You've Retrieved Stuff | |
1023 | -------------------------------------- | |
63013ec3 EA |
1024 | The external distributions come in a compressed or uncompressed tar |
1025 | file. To extract the source distribution: | |
1026 | ||
d1ad6cf3 | 1027 | % zcat v2.1.src.tar.Z | tar xf - |
63013ec3 EA |
1028 | |
1029 | (uncompress and extract individual files in current directory). To | |
1030 | unpack and install the client portion of the inst'able distribution: | |
1031 | ||
1032 | % mkdir dist | |
d1ad6cf3 | 1033 | % cd dist; tar xf ../v2.1.inst.tar; cd .. |
63013ec3 EA |
1034 | % inst -f dist/flexfax |
1035 | ... | |
1036 | inst> go | |
1037 | ||
1038 | (Note, the dist subdirectory is because some versions of inst fail if | |
d1ad6cf3 EA |
1039 | the files are in the current directory.) Server binaries are also |
1040 | included in the inst'able images as flexfax.server.*. They are not | |
1041 | installed by default, so to get them also you need to do: | |
63013ec3 EA |
1042 | |
1043 | % inst -f flexfax | |
1044 | ... | |
1045 | inst> install flexfax.server.* | |
1046 | inst> go | |
1047 | ||
d1ad6cf3 | 1048 | The SGI binaries were built for Version 4.0.5H of the IRIX operating |
63013ec3 EA |
1049 | system. They should work w/o problem on earlier versions of the |
1050 | system, but I have not fully tested this. Also, note that to install a | |
1051 | server on an SGI machine, you need to have installed the Display | |
1052 | PostScript execution environment product (dps_eoe). Otherwise, the fax | |
1053 | server will not be able to convert PostScript to facsimile for | |
1054 | transmission. | |
1055 | ||
d1ad6cf3 EA |
1056 | If you are working from the source distribution, look at the file |
1057 | README in the top of the source tree. If you are working from the inst | |
1058 | images, the subsystem flexfax.man.readme contains the README file and | |
1059 | other useful pieces of information--the installed files are placed in | |
1060 | the directory /usr/local/doc/flexfax). Basically you will need to run | |
1061 | the faxaddmodem script to setup and configure your fax modem. Consult | |
1062 | the README file and the manual page for faxaddmodem for information. | |
63013ec3 | 1063 | |
63013ec3 | 1064 | |
d1ad6cf3 EA |
1065 | FlexFAX Mail List |
1066 | ----------------- | |
63013ec3 EA |
1067 | A mailing list for users of this software is located on sgi.com. |
1068 | If you want to join this mailing list or have a list-related request | |
1069 | such as getting your name removed from it, send a request to | |
1070 | ||
d1ad6cf3 EA |
1071 | majordomo@whizzer.wpd.sgi.com |
1072 | ||
1073 | For example, to subscribe, send the line "subscribe flexfax" in | |
1074 | the body of your message. The line "help" will return a list of | |
1075 | the commands understood by the mailing list management software. | |
63013ec3 EA |
1076 | |
1077 | Submissions (including bug reports) should be directed to: | |
1078 | ||
1079 | flexfax@sgi.com | |
1080 | ||
d1ad6cf3 EA |
1081 | When corresponding about this software please always specify what |
1082 | version you have, what system you're running on, and, if the problem is | |
1083 | specific to your modem, identify the modem and firmware revision. | |
1084 | ||
63013ec3 | 1085 | |
a151c868 EA |
1086 | +--------------------------------+ |
1087 | | TWEAKING CONFIGURATION OPTIONS | | |
1088 | +--------------------------------+ | |
1089 | ||
1090 | There are a large number of configuration options that don't normally | |
1091 | need to be changed. However, if you feel you need to tweak them, you | |
1092 | can define the following M4 variables. This list is shown in four | |
1093 | columns: the name you define, the default value for that definition, | |
1094 | the option or macro that is affected (either Ox for an option or Dx | |
1095 | for a macro), and a brief description. Greater detail of the semantics | |
1096 | can be found in the Installation and Operations Guide. | |
1097 | ||
fb32c2a1 EA |
1098 | Some options are likely to be deprecated in future versions -- that is, |
1099 | the option is only included to provide back-compatibility. These are | |
1100 | marked with "*". | |
1101 | ||
a7e36c1b EA |
1102 | Remember that these options are M4 variables, and hence may need to |
1103 | be quoted. In particular, arguments with commas will usually have to | |
1104 | be ``double quoted, like this phrase'' to avoid having the comma | |
1105 | confuse things. This is common for alias file definitions and for | |
1106 | the read timeout. | |
1107 | ||
a151c868 | 1108 | M4 Variable Name Default Mac/Opt Description |
a7e36c1b | 1109 | ================ ======= ======= =========== |
a151c868 EA |
1110 | confMAILER_NAME MAILER-DAEMON Dn The sender name used for |
1111 | internally generated | |
1112 | outgoing messages. | |
06630be3 EA |
1113 | confFROM_LINE From $g $d Dl The From_ line used when |
1114 | sending to files or programs. | |
a151c868 EA |
1115 | confFROM_HEADER $?x$x <$g>$|$g$. The format of an internally |
1116 | Dq generated From: address. | |
1d64a22c | 1117 | confOPERATORS .:%@!^/[]+ Do Address operator characters. |
2e9b6f6e | 1118 | confSMTP_LOGIN_MSG $j Sendmail $v/$Z ready at $b |
a151c868 EA |
1119 | De The initial (spontaneous) |
1120 | SMTP greeting message. | |
00570fde EA |
1121 | confRECEIVED_HEADER $?sfrom $s $.$?_($?s$|from $.$_) $.by $j ($v/$Z)$?r with $r$. id $i$?u for $u$.; $b |
1122 | HReceived | |
1123 | The format of the Received: | |
1124 | header in messages passed | |
1125 | through this host. It is | |
1126 | unwise to try to change this. | |
f6232b5e | 1127 | confSEVEN_BIT_INPUT False O7 Force input to seven bits? |
eb802161 | 1128 | confEIGHT_BIT_HANDLING pass8 O8 8-bit data handling |
a151c868 EA |
1129 | confALIAS_WAIT 10 Oa Wait (in minutes) for alias |
1130 | file rebuild. | |
bee9d799 EA |
1131 | confMIN_FREE_BLOCKS 4 Ob Minimum number of free blocks |
1132 | on queue filesystem to accept | |
1133 | SMTP mail. | |
a151c868 EA |
1134 | confBLANK_SUB . OB Blank (space) substitution |
1135 | character. | |
e9cedcc1 EA |
1136 | confCON_EXPENSIVE False Oc Avoid connecting immediately |
1137 | to mailers marked expensive? | |
a151c868 EA |
1138 | confCHECKPOINT_INTERVAL 10 OC Checkpoint queue files |
1139 | every N recipients. | |
1140 | confDELIVERY_MODE background Od Default delivery mode. | |
1141 | confAUTO_REBUILD False OD Automatically rebuild | |
1142 | alias file if needed. | |
1143 | confERROR_MODE (undefined) Oe Error message mode. | |
1144 | confERROR_MESSAGE (undefined) OE Error message header/file. | |
1145 | confSAVE_FROM_LINES False Of Save extra leading | |
1146 | From_ lines. | |
1147 | confTEMP_FILE_MODE 0600 OF Temporary file mode. | |
1148 | confDEF_GROUP_ID 1 Og Default group id. | |
1149 | confMATCH_GECOS False OG Match GECOS field. | |
1150 | confMAX_HOP 17 Oh Maximum hop count. | |
fb32c2a1 | 1151 | confIGNORE_DOTS False Oi * Ignore dot as terminator |
a151c868 EA |
1152 | for incoming messages? |
1153 | confBIND_OPTS (empty) OI Default options for BIND. | |
fb32c2a1 | 1154 | confMIME_FORMAT_ERRORS True Oj * Send error messages as MIME- |
f6232b5e EA |
1155 | encapsulated messages per |
1156 | RFC 1344. | |
2e9b6f6e EA |
1157 | confFORWARD_PATH (undefined) OJ The colon-separated list of |
1158 | places to search for .forward | |
bbf8c7ae EA |
1159 | files. N.B.: see the Security |
1160 | Notes section. | |
a151c868 EA |
1161 | confMCI_CACHE_SIZE 2 Ok Size of open connection cache. |
1162 | confMCI_CACHE_TIMEOUT 5m OK Open connection cache timeout. | |
fb32c2a1 EA |
1163 | confUSE_ERRORS_TO False Ol * Use the Errors-To: header to |
1164 | deliver error messages. This | |
1165 | should not be necessary because | |
1166 | of general acceptance of the | |
1167 | envelope/header distinction. | |
a151c868 EA |
1168 | confLOG_LEVEL 9 OL Log level. |
1169 | confME_TOO False Om Include sender in group | |
1170 | expansions. | |
1171 | confCHECK_ALIASES True On Check RHS of aliases when | |
1172 | running newaliases. | |
fb32c2a1 | 1173 | confOLD_STYLE_HEADERS True Oo * Assume that headers without |
a151c868 | 1174 | special chars are old style. |
4c230f32 | 1175 | confDAEMON_OPTIONS (undefined) OO SMTP daemon options. |
88ce9b1c | 1176 | confPRIVACY_FLAGS authwarnings Op Privacy flags. |
a151c868 EA |
1177 | confCOPY_ERRORS_TO (undefined) OP Address for additional copies |
1178 | of all error messages. | |
1179 | confQUEUE_FACTOR (undefined) Oq Slope of queue-only function | |
33f90dbe | 1180 | confREAD_TIMEOUT (undefined) Or SMTP read timeouts. |
53823825 EA |
1181 | confDONT_PRUNE_ROUTES False OR Don't prune down route-addr |
1182 | syntax addresses to the | |
1183 | minimum possible. | |
fb32c2a1 | 1184 | confSAFE_QUEUE True Os * Commit all messages to disk |
a151c868 | 1185 | before forking. |
88ce9b1c EA |
1186 | confMESSAGE_TIMEOUT 5d/4h OT Timeout for messages before |
1187 | sending error/warning message. | |
386fe59f | 1188 | confTIME_ZONE USE_SYSTEM Ot Time zone info -- can be |
a151c868 EA |
1189 | USE_SYSTEM to use the system's |
1190 | idea, USE_TZ to use the user's | |
1191 | TZ envariable, or something | |
1192 | else to force that value. | |
1193 | confDEF_USER_ID 1 Ou Default user id. | |
39ed20b0 | 1194 | confUSERDB_SPEC (undefined) OU User database specification. |
4c230f32 | 1195 | confFALLBACK_MX (undefined) OV Fallback MX host. |
5dd53c38 EA |
1196 | confTRY_NULL_MX_LIST False Ow If we are the best MX for a |
1197 | host and haven't made other | |
1198 | arrangements, try connecting | |
1199 | to the host directly; normally | |
1200 | this would be a config error. | |
a151c868 EA |
1201 | confQUEUE_LA 8 Ox Load average at which queue-only |
1202 | function kicks in. | |
1203 | confREFUSE_LA 12 OX Load average at which incoming | |
1204 | SMTP connections are refused. | |
a151c868 | 1205 | confWORK_RECIPIENT_FACTOR |
fb32c2a1 EA |
1206 | (undefined) Oy Cost of each recipient. |
1207 | confSEPARATE_PROC False OY Run all deliveries in a | |
1208 | separate process. | |
a151c868 EA |
1209 | confWORK_CLASS_FACTOR (undefined) Oz Priority multiplier for class. |
1210 | confWORK_TIME_FACTOR (undefined) OZ Cost of each delivery attempt. | |
dec2b686 EA |
1211 | confCW_FILE /etc/sendmail.cw Name of file used to get the |
1212 | Fw local additions to the $=w | |
1213 | class. | |
2e9b6f6e | 1214 | confSMTP_MAILER smtp - The mailer name used when |
cf36aa8d | 1215 | SMTP connectivity is required. |
b0abd8b1 EA |
1216 | One of "smtp", "smtp8", or |
1217 | "esmtp". | |
2c840221 EA |
1218 | confLOCAL_MAILER local - The mailer name used when |
1219 | local connectivity is required. | |
1220 | Almost always "local". | |
bb3c21c3 EA |
1221 | confRELAY_MAILER relay - The default mailer name used |
1222 | for relaying any mail (e.g., | |
1223 | to a BITNET_RELAY, a | |
1224 | SMART_HOST, or whatever). | |
1225 | This can reasonably be "suucp" | |
1226 | if you are on a UUCP-connected | |
1227 | site. | |
f7e8be31 | 1228 | confDOMAIN_NAME (undefined) Dj If defined, sets $j. |
a151c868 | 1229 | |
bee9d799 | 1230 | |
4a51b074 EA |
1231 | +-----------+ |
1232 | | HIERARCHY | | |
1233 | +-----------+ | |
7ace9d88 EA |
1234 | |
1235 | Within this directory are several subdirectories, to wit: | |
1236 | ||
1237 | m4 General support routines. These are typically | |
1238 | very important and should not be changed without | |
fd82c288 | 1239 | very careful consideration. |
7ace9d88 EA |
1240 | |
1241 | cf The configuration files themselves. They have | |
1242 | ".mc" suffixes, and must be run through m4 to | |
1243 | become complete. The resulting output should | |
1244 | have a ".cf" suffix. | |
1245 | ||
1246 | ostype Definitions describing a particular operating | |
1247 | system type. These should always be referenced | |
1248 | using the OSTYPE macro in the .mc file. Examples | |
1249 | include "bsd4.3", "bsd4.4", "sunos3.5", and | |
1250 | "sunos4.1". | |
1251 | ||
1252 | domain Definitions describing a particular domain, referenced | |
1253 | using the DOMAIN macro in the .mc file. These are | |
1254 | site dependent; for example, we contribute "cs.exposed.m4" | |
1255 | and "cs.hidden.m4" which both describe hosts in the | |
1256 | CS.Berkeley.EDU subdomain; the former displays the local | |
1257 | hostname (e.g., mammoth.CS.Berkeley.EDU), whereas the | |
1258 | latter does its best to hide the identity of the local | |
1259 | workstation inside the CS subdomain. | |
1260 | ||
1261 | mailer Descriptions of mailers. These are referenced using | |
1262 | the MAILER macro in the .mc file. | |
1263 | ||
1264 | sh Shell files used when building the .cf file from the | |
1265 | .mc file in the cf subdirectory. | |
1266 | ||
1267 | feature These hold special orthogonal features that you might | |
1268 | want to include. They should be referenced using | |
1269 | the FEATURE macro. | |
1270 | ||
1271 | hack Local hacks. These can be referenced using the HACK | |
1272 | macro. They shouldn't be of more than voyeuristic | |
1273 | interest outside the .Berkeley.EDU domain, but who knows? | |
6fb312a3 | 1274 | We've all got our own peccadillos. |
7ace9d88 | 1275 | |
9df1b56b EA |
1276 | siteconfig Site configuration -- e.g., tables of locally connected |
1277 | UUCP sites. | |
1278 | ||
7ace9d88 | 1279 | |
4a51b074 EA |
1280 | +------------------------+ |
1281 | | ADMINISTRATIVE DETAILS | | |
1282 | +------------------------+ | |
7ace9d88 EA |
1283 | |
1284 | The following sections detail usage of certain internal parts of the | |
1285 | sendmail.cf file. Read them carefully if you are trying to modify | |
1286 | the current model. If you find the above descriptions adequate, these | |
1287 | should be {boring, confusing, tedious, ridiculous} (pick one or more). | |
1288 | ||
1289 | RULESETS (* means built in to sendmail) | |
1290 | ||
1291 | 0 * Parsing | |
1292 | 1 * Sender rewriting | |
1293 | 2 * Recipient rewriting | |
1294 | 3 * Canonicalization | |
1295 | 4 * Post cleanup | |
f5baef19 | 1296 | 5 * Local address rewrite (after aliasing) |
b197efaa EA |
1297 | 1x mailer rules (sender qualification) |
1298 | 2x mailer rules (recipient qualification) | |
0409c6a2 EA |
1299 | 3x mailer rules (sender header qualification) |
1300 | 4x mailer rules (recipient header qualification) | |
1301 | 5x mailer subroutines (general) | |
1302 | 6x mailer subroutines (general) | |
1303 | 7x mailer subroutines (general) | |
1304 | 8x reserved | |
b197efaa | 1305 | 90 Mailertable host stripping |
f7ffd8e3 EA |
1306 | 96 Bottom half of Ruleset 3 (ruleset 6 in old sendmail) |
1307 | 97 Hook for recursive ruleset 0 call (ruleset 7 in old sendmail) | |
5dd53c38 | 1308 | 98 Local part of ruleset 0 (ruleset 8 in old sendmail) |
7ace9d88 EA |
1309 | |
1310 | ||
1311 | MAILERS | |
1312 | ||
1313 | 0 local, prog local and program mailers | |
2a20bc94 EA |
1314 | 1 [e]smtp, relay SMTP channel |
1315 | 2 uucp-* UNIX-to-UNIX Copy Program | |
bee9d799 | 1316 | 3 netnews Network News delivery |
63013ec3 | 1317 | 4 fax Sam Leffler's FlexFAX software |
7ace9d88 EA |
1318 | |
1319 | ||
1320 | MACROS | |
1321 | ||
1322 | A | |
1323 | B Bitnet Relay | |
72a40e6d | 1324 | C |
f5baef19 | 1325 | D The local domain -- usually not needed |
7ace9d88 | 1326 | E |
63013ec3 | 1327 | F FAX Relay |
7ace9d88 | 1328 | G |
34e49bd3 | 1329 | H mail Hub (for mail clusters) |
7ace9d88 EA |
1330 | I |
1331 | J | |
1332 | K | |
b0abd8b1 | 1333 | L Luser Relay |
7ace9d88 EA |
1334 | M Masquerade (who I claim to be) |
1335 | N | |
1336 | O | |
1337 | P | |
1338 | Q | |
1339 | R Relay (for unqualified names) | |
28b51619 | 1340 | S Smart Host |
7ace9d88 | 1341 | T |
c573210d EA |
1342 | U my UUCP name (if I have a UUCP connection) |
1343 | V UUCP Relay (class V hosts) | |
7ace9d88 EA |
1344 | W UUCP Relay (class W hosts) |
1345 | X UUCP Relay (class X hosts) | |
c573210d | 1346 | Y UUCP Relay (all other hosts) |
7ace9d88 EA |
1347 | Z Version number |
1348 | ||
1349 | ||
1350 | CLASSES | |
1351 | ||
1352 | A | |
1353 | B | |
1354 | C | |
f4d9c9f9 | 1355 | D "dotted" users |
4a51b074 | 1356 | E addresses that should not seem to come from $M |
f5baef19 | 1357 | F hosts we forward for |
7ace9d88 EA |
1358 | G |
1359 | H | |
1360 | I | |
1361 | J | |
1362 | K | |
1363 | L addresses that should not be forwarded to $R | |
1364 | M | |
1365 | N | |
1366 | O operators that indicate network operations (cannot be in local names) | |
91626fee | 1367 | P top level pseudo-domains: BITNET, FAX, UUCP, etc. |
7ace9d88 EA |
1368 | Q |
1369 | R | |
1370 | S | |
1371 | T | |
1372 | U locally connected UUCP hosts | |
c573210d EA |
1373 | V UUCP hosts connected to relay $V |
1374 | W UUCP hosts connected to relay $W | |
1375 | X UUCP hosts connected to relay $X | |
1376 | Y locally connected smart UUCP hosts | |
2e9b6f6e | 1377 | Z locally connected domain-ized UUCP hosts |
f5baef19 | 1378 | . the class containing only a dot |
7ace9d88 EA |
1379 | |
1380 | ||
1381 | M4 DIVERSIONS | |
1382 | ||
28b51619 EA |
1383 | 1 Local host detection and resolution |
1384 | 2 Local Ruleset 3 additions | |
1385 | 3 Local Ruleset 0 additions | |
9df1b56b | 1386 | 4 UUCP Ruleset 0 additions |
c573210d | 1387 | 5 locally interpreted names (overrides $R) |
f5baef19 | 1388 | 6 local configuration (at top of file) |
7ace9d88 | 1389 | 7 mailer definitions |
32f9e686 | 1390 | 8 |
06630be3 | 1391 | 9 special local rulesets (1 and 2) |