151220Seric 251220Seric 357246Seric NEW SENDMAIL CONFIGURATION FILES 451220Seric 557246Seric Eric Allman <eric@CS.Berkeley.EDU> 651220Seric 7*64153Seric @(#)README 8.8 (Berkeley) 08/08/93 851220Seric 951220Seric 1057246SericThis document describes the sendmail configuration files being used 1163857Sericat Berkeley. These use features in the new (R8) sendmail, and although 1257246Sericthere is an ``OLDSENDMAIL'' mode, they haven't really been tested on 1357247Sericold versions of sendmail and cannot be expected to work well. 1451220Seric 1557246SericThese configuration files are probably not as general as previous 1657246Sericversions, and don't handle as many of the wierd cases automagically. 1757246SericI was able to simplify by them for two reasons. First, the network 1857246Serichas become more consistent -- for example, at this point, everyone 1957246Sericon the internet is supposed to be running a name server, so hacks to 2057246Serichandle NIC-registered hosts can go away. Second, I assumed that a 2157246Sericsubdomain would be running SMTP internally -- UUCP is presumed to be 2257246Serica long-haul protocol. I realize that this is not universal, but it 2357246Sericdoes describe the vast majority of sites with which I am familiar, 2457246Sericincluding those outside the US. 2551220Seric 2657246SericOf course, the downside of this is that if you do live in a wierd 2757246Sericworld, things are going to get wierder for you. I'm sorry about that, 2857246Sericbut at the time we at Berkeley had a problem, and it seemed like the 2957246Sericright thing to do. 3051220Seric 3157247SericThis package requires a post-V7 version of m4; if you are running the 3257247Seric4.2bsd, SysV.2, or 7th Edition version, I suggest finding a friend with 3357247Serica newer version. You can m4-expand on their system, then run locally. 3457247SericSunOS's /usr/5bin/m4 or BSD-Net/2's m4 both work. GNU m4 (which is a 3557247Sericlanguage unto itself) also works, but I don't intend to work so hard 3657247Sericto keep this up in the future. [Note to GNU folks: the construct 3757246Seric"define(`FOO')" should work without my having to add a null value.] 3851220Seric 3958284SericIF YOU DON'T HAVE A BERKELEY MAKE, don't despair! Just run 4058284Seric"m4 foo.mc > foo.cf" -- that should be all you need. 4158284Seric 4258284SericTo get started, you may want to look at tcpproto.mc (for TCP-only 4358284Sericsites) and uucpproto.m4 (for UUCP-only sites). Others are versions 4458284Sericthat we use at Berkeley, although not all are in current use. For 4558284Sericexample, ucbarpa has gone away, but I've left ucbarpa.mc in because 4658284Sericit demonstrates some interesting techniques. 4758284Seric 4857246SericI'm not pretending that this README describes everything that these 4957246Sericconfiguration files can do; clever people can probably tweak them 5057246Sericto great effect. But it should get you started. 5157246Seric 5258087Seric 5357246Seric+--------------------------+ 5457246Seric| INTRODUCTION AND EXAMPLE | 5557246Seric+--------------------------+ 5657246Seric 5757246SericConfiguration files are contained in the subdirectory "cf", with a 5857246Sericsuffix ".mc". They must be run through "m4" to produce a ".cf" file. 5957246Seric 6051220SericLet's examine a typical .mc file (cf/cs-exposed.mc): 6151220Seric 6251220Seric divert(-1) 6351220Seric # 6451220Seric # Copyright (c) 1983 Eric P. Allman 6551220Seric # Copyright (c) 1988 The Regents of the University of California. 6651220Seric # All rights reserved. 6751220Seric # 6851220Seric # Redistribution and use in source and binary forms are permitted 6951220Seric # provided that the above copyright notice and this paragraph are 7051220Seric # duplicated in all such forms and that any documentation, 7151220Seric # advertising materials, and other materials related to such 7251220Seric # distribution and use acknowledge that the software was developed 7351220Seric # by the University of California, Berkeley. The name of the 7451220Seric # University may not be used to endorse or promote products derived 7551220Seric # from this software without specific prior written permission. 7651220Seric # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 7751220Seric # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 7851220Seric # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 7951220Seric # 8051220Seric 8157246SericThe divert(-1) will delete the crud in the resulting output file. 8257247SericThe copyright notice is what your lawyers require. Our lawyers require 8357246Sericthe one that I've included in my files. A copyleft is a copyright by 8457246Sericanother name. 8551220Seric 8657246SericThe next line MUST be 8757246Seric 8851220Seric include(`../m4/cf.m4') 8951220Seric 9057246SericThis will pull in the M4 macros you will need to make sense of 9157246Sericeverything else. As the saying goes, don't think about it, just 9257246Sericdo it. If you don't do it, don't bother reading the rest of this 9357246Sericfile. 9451220Seric 9556778Seric VERSIONID(`<SCCS or RCS version id>') 9651220Seric 9751220SericVERSIONID is a macro that stuffs the version information into the 9851220Sericresulting file. We use SCCS; you could use RCS, something else, or 9957246Sericomit it completely. This is not the same as the version id included 10057246Sericin SMTP greeting messages -- this is defined in m4/version.m4. 10151220Seric 10251268Seric DOMAIN(cs.exposed) 10351220Seric 10451220SericThis example exposes the host inside of the CS subdomain -- that is, 10551220Sericit doesn't try to hide the name of the workstation to the outside 10651220Sericworld. Changing this to DOMAIN(cs.hidden) would have made outgoing 10751220Sericmessages refer to "<username>@CS.Berkeley.EDU" instead of using the 10863857Sericlocal hostname. Internally this is effected by using 10957246Seric"MASQUERADE_AS(CS.Berkeley.EDU)". 11051220Seric 11151268Seric MAILER(smtp) 11251220Seric 11351309SericThese describe the mailers used at the default CS site site. The 11451309Sericlocal mailer is always included automatically. 11551220Seric 11658087Seric 11757246Seric+--------+ 11857246Seric| OSTYPE | 11957246Seric+--------+ 12057246Seric 12151220SericNote that cf/cs-exposed.mc omits an OSTYPE macro -- this assumes 12251220Sericdefault Computer Science Division environment. There are several 12357247Sericexplicit environments available: bsd4.3, bsd4.4, hpux, irix, osf1, 12457247Sericriscos4.5, sunos3.5, sunos4.1, and ultrix4.1. These change things 12557247Sericlike the location of the alias file and queue directory. Some of 12657247Sericthese files are identical to one another. 12751220Seric 12857246SericOperating system definitions are easy to write. They may define 12957246Sericthe following variables (everything defaults, so an ostype file 13057246Sericmay be empty). 13151220Seric 13257246SericALIAS_FILE [/etc/aliases] The location of the text version 13359761Seric of the alias file(s). It can be a comma-separated 13459761Seric list of names. 13557246SericHELP_FILE [/usr/lib/sendmail.hf] The name of the file 13657246Seric containing information printed in response to 13757246Seric the SMTP HELP command. 13857246SericQUEUE_DIR [/var/spool/mqueue] The directory containing 13957246Seric queue files. 14057246SericSTATUS_FILE [/etc/sendmail.st] The file containing status 14157246Seric information. 14258087SericLOCAL_MAILER_PATH [/bin/mail] The program used to deliver local mail. 143*64153SericLOCAL_MAILER_FLAGS [rmn] The flags used by the local mailer. The 144*64153Seric flags lsDFM are always included. 14563761SericLOCAL_MAILER_ARGS [mail -d $u] The arguments passed to deliver local 14663761Seric mail. 14758087SericLOCAL_SHELL_PATH [/bin/sh] The shell used to deliver piped email. 14863791SericLOCAL_SHELL_FLAGS [eu] The flags used by the shell mailer. The 14963791Seric flags lsDFM are always included. 15063791SericLOCAL_SHELL_ARGS [sh -c $u] The arguments passed to deliver "prog" 15163791Seric mail. 15258087SericUSENET_MAILER_PATH [/usr/lib/news/inews] The name of the program 15358087Seric used to submit news. 15458087SericUSENET_MAILER_FLAGS [rlsDFMmn] The mailer flags for the usenet mailer. 15558087SericUSENET_MAILER_ARGS [-m -h -n] The command line arguments for the 15658087Seric usenet mailer. 15763857SericSMTP_MAILER_FLAGS [undefined] Flags added to SMTP mailer. Default 15863857Seric flags are `mDFMUX' (and `a' for esmtp mailer). 15963857SericUUCP_MAILER_FLAGS [undefined] Flags added to UUCP mailer. Default 16063857Seric flags are `DFMhuU' (and `m' for suucp mailer, minus 16163857Seric `U' for uucp-dom mailer). 16263761SericUUCP_MAILER_ARGS [uux - -r -z -a$f -gC $h!rmail ($u)] The arguments 16363761Seric passed to the UUCP mailer. 16463791SericUUCP_MAX_SIZE [100000] The maximum size message accepted for 16563791Seric transmission by the UUCP mailers. 16657246SericHOSTMAP_SPEC [dbm -o /etc/hostmap] The value for the builtin 16757246Seric hostmap key definition. You can redefine this 16857246Seric to change the class, flags, and filename of 16957246Seric the hostmap. The default flag (-o) makes this 17057246Seric map optional. 17157246Seric 17257246SericIn addition, the following boolean flags may be defined -- the value 17357246Sericis ignored. 17457246Seric 17557246SericNEED_DOMAIN If set, the $j macro is defined as $w.$D. 17657246Seric If not set, $j is defined as $w. If this is 17757246Seric set, the domain must be defined using the line 17857246Seric DD<domainname> (probably in the domain file, 17957246Seric but possibly in the .mc file). You will only 18057246Seric need this if you define your system hostname 18157246Seric without a domain (type "hostname" -- if it 18258087Seric has no dots in the output, you qualify) AND 18358087Seric if you are not running the nameserver AND if 18458087Seric the first (canonical) name in /etc/hosts for 18558087Seric your machine has no domain -- OR if you are 18658087Seric running Ultrix or OSF/1 sendmail. Either of 18758087Seric these is probably a mistake. 18857246Seric 18957246Seric+---------+ 19057246Seric| DOMAINS | 19157246Seric+---------+ 19257246Seric 19357246SericYou will probably want to collect domain-dependent defines into one 19457246Sericfile, referenced by the DOMAIN macro. For example, our Berkeley 19557246Sericdomain file includes definitions for several internal distinguished 19657246Serichosts: 19757246Seric 19857246SericUUCP_RELAY The host that will forward UUCP-addressed email. 19957246Seric If not defined, all UUCP sites must be directly 20064028Seric connected. 20157246SericBITNET_RELAY The host that will forward BITNET-addressed email. 20257246Seric If not defined, the .BITNET pseudo-domain won't work. 20357246SericCSNET_RELAY The host that will forward CSNET-addressed email. 20457246Seric If not defined, the .CSNET pseudo-domain won't work. 20557246SericLOCAL_RELAY The site that will handle unqualified names -- that 20657246Seric is, names with out an @domain extension. If not set, 20757246Seric they are assumed to belong on this machine. This 20857246Seric allows you to have a central site to store a 20957246Seric company- or department-wide alias database. This 21057246Seric only works at small sites, and there are better 21164028Seric methods. 21257246Seric 21364028SericEach of these can be either ``mailer:hostname'' (in which case the 21464028Sericmailer is the internal mailer name, such as ``suucp'' and the hostname 21564028Sericis the name of the host as appropriate for that mailer) or just a 21664028Seric``hostname'', in which case a default mailer type (usually ``relay'', 217*64153Serica variant on SMTP) is used. WARNING: if you have a wildcard MX 218*64153Sericrecord matching your domain, you probably want to define these to 219*64153Serichave a trailing dot so that you won't get the mail diverted back 220*64153Sericto yourself. 22164028Seric 22257246SericThe domain file can also be used to define a domain name, if needed 22357982Seric(using "DD<domain>") and set certain site-wide features. If all hosts 22457982Sericat your site masquerade behind one email name, you could also use 22557982SericMASQUERADE_AS here. 22657246Seric 22758408SericYou do not have to define a domain -- in particular, if you are a 22858408Sericsingle machine sitting off somewhere, it is probably more work than 22958408Sericit's worth. This is just a mechanism for combining "domain dependent 23058408Sericknowledge" into one place. 23158408Seric 23257246Seric+---------+ 23357246Seric| MAILERS | 23457246Seric+---------+ 23557246Seric 23651220SericThere are fewer mailers supported in this version than the previous 23751220Sericversion, owing mostly to a simpler world. 23851220Seric 23951220Sericlocal The local and prog mailers. You will almost always 24051220Seric need these; the only exception is if you relay ALL 24157247Seric your mail to another site. This mailer is included 24257247Seric automatically. 24351220Seric 24451220Sericsmtp The Simple Mail Transport Protocol mailer. This does 24551220Seric not hide hosts behind a gateway or another other 24651220Seric such hack; it assumes a world where everyone is 24763761Seric running the name server. This file actually defines 24863761Seric three mailers: "smtp" for regular (old-style) SMTP to 24963761Seric other servers, "esmtp" for extended SMTP to other 25063761Seric servers, and "relay" for transmission to our 25163761Seric RELAY_HOST or MAILER_HUB. 25251220Seric 25351220Sericuucp The Unix-to-Unix Copy Program mailer. Actually, this 25451220Seric defines two mailers, "uucp" and "suucp". The latter 25551220Seric is for when you know that the UUCP mailer at the other 25651220Seric end can handle multiple recipients in one transfer. 25757246Seric When you invoke this, sendmail looks for all names in 25857246Seric the $=U class and sends them to the uucp mailer; all 25957246Seric names in the $=Y class are sent to suucp. Note that 26057246Seric this is a function of what version of rmail runs on 26157246Seric the receiving end, and hence may be out of your control. 26263857Seric If smtp is defined, it also defines a "uucp-dom" mailer 26363857Seric that uses domain-style rewriting. 26451220Seric 26558087Sericusenet Usenet (network news) delivery. If this is specified, 26658087Seric an extra rule is added to ruleset 0 that forwards all 26758087Seric local email for users named ``group.usenet'' to the 26858087Seric ``inews'' program. Note that this works for all groups, 26958087Seric and may be considered a security problem. 27058087Seric 27158363Sericfax Facsimile transmission. This is experimental and based 27258363Seric on Sam Leffler's FlexFAX software. For more information, 27358363Seric see below. 27458087Seric 27558363Seric 27657246Seric+----------+ 27757246Seric| FEATURES | 27857246Seric+----------+ 27951268Seric 28057246SericSpecial features can be requested using the "FEATURE" macro. For 28157246Sericexample, the .mc line: 28257246Seric 28357246Seric FEATURE(use_cw_file) 28457246Seric 28557246Serictells sendmail that you want to have it read an /etc/sendmail.cw 28658782Sericfile to get values for class $=w. The FEATURE may contain a single 28758782Sericoptional parameter -- for example: 28857246Seric 28958782Seric FEATURE(mailertable, dbm /usr/lib/mailertable) 29058782Seric 29158782SericAvailable features are: 29258782Seric 29357246Sericuse_cw_file Read the file /etc/sendmail.cw file to get alternate 29457246Seric names for this host. This might be used if you were 29557246Seric on a host that MXed for a dynamic set of other 29657246Seric hosts. If the set is static, just including the line 29757246Seric "Cw<name1> <name2> ..." is probably superior. 29858408Seric The actual filename can be overridden by redefining 29958408Seric confCW_FILE. 30058087Sericredirect Reject all mail addressed to "address.REDIRECT" with 30158087Seric a ``551 User not local; please try <address>'' message. 30258087Seric If this is set, you can alias people who have left 30358087Seric to their new address with ".REDIRECT" appended. 30458284Sericnouucp Don't do anything special with UUCP addresses at all. 30559080Sericnocanonify Don't pass addresses to $[ ... $] for canonification. 30659080Seric This would generally only be used by sites that only 30759080Seric act as mail gateways or which have user agents that do 30864028Seric full canonification themselves. You may also want to 30964028Seric use "define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')" to 31064028Seric turn off the usual resolver options that do a similar 31164028Seric thing. 31258526Sericnotsticky By default, email sent to "user@local.host" are marked 31358526Seric as "sticky" -- that is, the local addresses aren't 31458526Seric matched against UDB and don't go through ruleset 5. 31558526Seric This features disables this treatment. It would 31658526Seric normally be used on network gateway machines. 31758782Sericmailertable Include a "mailer table" which can be used to override 31858782Seric routing for particular domains. The argument of the 31958782Seric FEATURE may be the key definition. If none is specified, 32058782Seric the definition used is: 32163761Seric hash /etc/mailertable -o 32263761Seric Keys in this database are fully qualified domain names 32363761Seric or partial domains preceded by a dot -- for example, 32463761Seric "vangogh.CS.Berkeley.EDU" or ".CS.Berkeley.EDU". 32563761Seric Values must be of the form: 32658782Seric mailer:domain 32763761Seric where "mailer" is the internal mailer name, and "domain" 32863761Seric is where to send the message. These maps are not 32963761Seric reflected into the message header. 33063761Sericdomaintable Include a "domain table" which can be used to provide 33163761Seric full domains on unqualified (single word) hosts. The 33263761Seric argument of the FEATURE may be the key definition. If 33363761Seric none is specified, the definition used is: 33463761Seric hash /etc/domaintable -o 33563761Seric The key in this table is the unqualified host name; the 33663761Seric value is the fully qualified domain. Anything in the 33763761Seric domaintable is reflected into headers; that is, this 33863761Seric is done in ruleset 3. 33959034Sericbitdomain Look up bitnet hosts in a table to try to turn them into 34059034Seric internet addresses. The table can be built using the 341*64153Seric bitdomain program contributed by John Gardiner Myers. 34259034Seric The argument of the FEATURE may be the key definition; if 34359034Seric none is specified, the definition used is: 34459034Seric hash /etc/bitdomain.db -o 34559034Seric Keys are the bitnet hostname; values are the corresponding 34659034Seric internet hostname. 34759037Sericuucpdomain Similar feature for UUCP hosts. The default map definition 34859037Seric is: 34959037Seric hash /etc/uudomain.db -o 35059037Seric At the moment there is no automagic tool to build this 35159037Seric database. 35260263Sericalways_add_domain 35360263Seric Include the local host domain even on locally delivered 35460263Seric mail. Normally it is not added unless it is already 35560263Seric present. 35663761Sericallmasquerade If masquerading is enabled (using MASQUERADE_AS), this 35763761Seric feature will cause recipient addresses to also masquerade 35863761Seric as being from the masquerade host. Normally they get 35963761Seric the local hostname. Although this may be right for 36063761Seric ordinary users, it can break local aliases. For example, 36163761Seric if you send to "localalias", the originating sendmail will 36263761Seric find that alias and send to all members, but send the 36363761Seric message with "To: localalias@masqueradehost". Since that 36463761Seric alias likely does not exist, replies will fail. Use this 36563761Seric feature ONLY if you can guarantee that the ENTIRE 36663761Seric namespace on your masquerade host supersets all the 36763761Seric local entries. 368*64153Sericnodns We aren't running DNS at our site (for example, 369*64153Seric we are UUCP-only connected). It's hard to consider 370*64153Seric this a "feature", but hey, it had to go somewhere. 37157246Seric 37257246Seric 37357246Seric+-------+ 37457246Seric| HACKS | 37557246Seric+-------+ 37657246Seric 37757246SericSome things just can't be called features. To make this clear, 37857247Sericthey go in the hack subdirectory and are referenced using the HACK 37957246Sericmacro. These will tend to be site-dependent. The release 38057246Sericincludes the Berkeley-dependent "cssubdomain" hack (that makes 38157246Sericsendmail accept local names in either Berkeley.EDU or CS.Berkeley.EDU; 38257246Sericthis is intended as a short-term aid while we move hosts into 38357246Sericsubdomains. 38457246Seric 38558087Seric 38657246Seric+--------------------+ 38757246Seric| SITE CONFIGURATION | 38857246Seric+--------------------+ 38957246Seric 39057246SericComplex sites will need more local configuration information, such as 39157246Sericlists of UUCP hosts they speak with directly. This can get a bit more 39257246Serictricky. For an example of a "complex" site, see cf/ucbvax.mc. 39357246Seric 39457246SericThe SITECONFIG macro allows you to indirectly reference site-dependent 39557246Sericconfiguration information stored in the siteconfig subdirectory. For 39657246Sericexample, the line 39757246Seric 39857246Seric SITECONFIG(uucp.ucbvax, ucbvax, U) 39957246Seric 40057246Sericreads the file uucp.ucbvax for local connection information. The 40157246Sericsecond parameter is the local name (in this case just "ucbvax" since 40257246Sericit is locally connected, and hence a UUCP hostname) and the name of 40357246Sericthe class in which to store the host information. Another SITECONFIG 40457246Sericline reads 40557246Seric 40657246Seric SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) 40757246Seric 40857246SericThis says that the file uucp.ucbarpa contains the list of UUCP sites 40957246Sericconnected to ucbarpa.Berkeley.EDU. The $=W class will be used to 41057246Sericstore this list. [The machine ucbarpa is gone now, but I've left 41157246Sericthis out-of-date configuration file around to demonstrate how you 41257246Sericmight do this.] 41357246Seric 41457246SericThe siteconfig file (e.g., siteconfig/uucp.ucbvax.m4) contains nothing 41557246Sericmore than a sequence of SITE macros describing connectivity. For 41657246Sericexample: 41757246Seric 41857246Seric SITE(cnmat) 41957246Seric SITE(sgi olympus) 42057246Seric 42157246SericThe second example demonstrates that you can use two names on the 42257246Sericsame line; these are usually aliases for the same host (or are at 42357246Sericleast in the same company). 42457246Seric 42558087Seric 42657246Seric+-------------------+ 42757246Seric| TWEAKING RULESETS | 42857246Seric+-------------------+ 42957246Seric 43051268SericFor more complex configurations, you can define special rules. 43151268SericThe macro LOCAL_RULE_3 introduces rules that are used in canonicalizing 43251268Sericthe names. Any modifications made here are reflected in the header. 43351268Seric 43451268SericA common use is to convert old UUCP addreses to SMTP addresses using 43551268Sericthe UUCPSMTP macro. For example: 43651268Seric 43751268Seric LOCAL_RULE_3 43851268Seric UUCPSMTP(decvax, decvax.dec.com) 43951268Seric UUCPSMTP(research, research.att.com) 44051268Seric 44151268Sericwill cause addresses of the form "decvax!user" and "research!user" 44251268Sericto be converted to "user@decvax.dec.com" and "user@research.att.com" 44351268Sericrespectively. 44451268Seric 44557246SericThis could also be used to look hosts in a database map: 44657246Seric 44757246Seric LOCAL_RULE_3 44857246Seric R$* < @ $+ > $* $: $1 < @ $(hostmap $2 $) > $3 44957246Seric 45057246SericThis map would be defined in the LOCAL_CONFIG portion, as shown below. 45157246Seric 45251268SericSimilarly, LOCAL_RULE_0 can be used to introduce new parsing rules. 45351268SericFor example, new rules are needed to parse hostnames that you accept 45451309Sericvia MX records. For example, you might have: 45551268Seric 45651309Seric LOCAL_RULE_0 45751309Seric R$+ < @ cnmat.Berkeley.EDU > $#uucp $@ cnmat $: $1 45851309Seric 45951309SericYou would use this if you had installed an MX record for cnmat.Berkeley.EDU 46051309Sericpointing at this host; this rule catches the message and forwards it on 46151309Sericusing UUCP. 46251309Seric 46358681SericYou can also tweak rulesets 1 and 2 using LOCAL_RULE_1 and LOCAL_RULE_2. 46458681SericThese rulesets are normally empty. 46558681Seric 46657246SericA similar macro is LOCAL_CONFIG. This introduces lines added after the 46757246Sericboilerplate option setting but before rulesets, and can be used to 46857945Sericdeclare local database maps or whatever. For example: 46951268Seric 47057246Seric LOCAL_CONFIG 47157246Seric Khostmap hash /etc/hostmap.db 47257246Seric Kyplocal nis -m hosts.byname 47351220Seric 47458087Seric 47557246Seric+---------------------------+ 47657246Seric| MASQUERADING AND RELAYING | 47757246Seric+---------------------------+ 47857246Seric 47957246SericYou can have your host masquerade as another using 48057246Seric 48157246Seric MASQUERADE_AS(host.domain) 48257246Seric 48357246SericThis causes outgoing SMTP mail to be labelled as coming from the 48457246Sericindicated domain, rather than $j. One normally masquerades as one 48557246Sericof your own subdomains (for example, it's unlikely that I would 48657246Sericchoose to masquerade as an MIT site). 48757246Seric 488*64153SericThe masquerade name is not normally canonified, so it is important 489*64153Sericthat it be your One True Name, that is, fully qualified and not a 490*64153SericCNAME. 491*64153Seric 49257246Sericthere are always users that need to be "exposed" -- that is, their 49357246Sericinternal site name should be displayed instead of the masquerade name. 49457246SericRoot is an example. You can add users to this list using 49557246Seric 49657246Seric EXPOSED_USER(usernames) 49757246Seric 49857246SericThis adds users to class E; you could also use something like 49957246Seric 50057246Seric FE/etc/sendmail.cE 50157246Seric 50257246SericYou can also arrange to relay all unqualified names (that is, names 50357246Sericwithout @host) to a relay host. For example, if you have a central 50457246Sericemail server, you might relay to that host so that users don't have 50557246Sericto have .forward files or aliases. You can do this using 50657246Seric 50758071Seric define(`LOCAL_RELAY', mailer:hostname) 50857246Seric 50958071SericThe ``mailer:'' can be omitted, in which case the mailer defaults to 51058071Seric"smtp". There are some user names that you don't want relayed, perhaps 51158071Sericbecause of local aliases. A common example is root, which may be 51258071Sericlocally aliased. You can add entries to this list using 51357246Seric 51457246Seric LOCAL_USER(usernames) 51557246Seric 51657246SericThis adds users to class L; you could also use something like 51757246Seric 51857246Seric FL/etc/sendmail.cL 51957246Seric 520*64153SericIf you want all incoming mail sent to a centralized hub, as for a 521*64153Sericshared /var/spool/mail scheme, use 52257591Seric 52358071Seric define(`MAIL_HUB', mailer:hostname) 52457591Seric 52558071SericAgain, ``mailer:'' defaults to "smtp". If you define both LOCAL_RELAY 52658071Sericand MAIL_HUB, unqualified names and names in class L will be sent to 52758071Sericthe LOCAL_RELAY and other local names will be sent to MAIL_HUB. For 52858071Sericexample, if are on machine mastodon.CS.Berkeley.EDU, the following 52958071Sericcombinations of settings will have the indicated effects: 53057591Seric 53157591Sericemail sent to.... eric eric@mastodon.CS.Berkeley.EDU 53257591Seric 53357591SericLOCAL_RELAY set to mail.CS.Berkeley.EDU (delivered locally) 53457591Sericmail.CS.Berkeley.EDU 53557591Seric 53657591SericMAIL_HUB set to mammoth.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 53757591Sericmammoth.CS.Berkeley.EDU 53857591Seric 53957591SericBoth LOCAL_RELAY and mail.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 54057591SericMAIL_HUB set as above 54157591Seric 542*64153SericIf you want all outgoing mail to go to a central relay site, define 543*64153SericSMART_HOST as well. Briefly: 54458071Seric 545*64153Seric LOCAL_RELAY applies to unqualifed names (e.g., "eric"). 546*64153Seric MAIL_HUB applies to names qualified with the name of the 547*64153Seric local host (e.g., "eric@mastodon.CS.Berkeley.EDU"). 548*64153Seric SMART_HOST applies to names qualified with other hosts. 549*64153Seric 550*64153SericHowever, beware that other relays (e.g., UUCP_RELAY, BITNET_RELAY, and 551*64153SericFAX_RELAY) take precedence over SMART_HOST, so if you really want 552*64153Sericabsolutely everything to go to a single central site you will need to 553*64153Sericunset all the other relays -- or better yet, find or build a minimal 554*64153Sericconfig file that does this. 555*64153Seric 556*64153Seric 55758071Seric+-------------------------------+ 55858071Seric| NON-SMTP BASED CONFIGURATIONS | 55958071Seric+-------------------------------+ 56058071Seric 56158071SericThese configuration files are designed primarily for use by SMTP-based 56258071Sericsites. I don't pretend that they are well tuned for UUCP-only or 56358071SericUUCP-primarily nodes (the latter is defined as a small local net 56458071Sericconnected to the rest of the world via UUCP). However, there is one 56558071Serichook to handle some special cases. 56658071Seric 56758071SericYou can define a ``smart host'' that understands a richer address syntax 56858071Sericusing: 56958071Seric 57058071Seric define(`SMART_HOST', mailer:hostname) 57158071Seric 57264028SericIn this case, the ``mailer:'' defaults to "relay". Any messages that 57358071Sericcan't be handled using the usual UUCP rules are passed to this host. 57458071Seric 57558071SericIf you are on a local SMTP-based net that connects to the outside 57658071Sericworld via UUCP, you can use LOCAL_NET_CONFIG to add appropriate rules. 57758071SericFor example: 57858071Seric 57958071Seric define(`SMART_HOST', suucp:uunet) 58058071Seric LOCAL_NET_CONFIG 58163761Seric R$* < @ $* .$m. > $* $#smtp $@ $2.$m. $: $1 < @ $2.$m. > $3 58258071Seric 58358071SericThis will cause all names that end in your domain name ($m) via 58458071SericSMTP; anything else will be sent via suucp (smart UUCP) to uunet. 58563761SericIf you have FEATURE(nocanonify), you may need to omit the dots after 58663761Sericthe $m. If you are running a local DNS inside your domain which is 58763761Sericnot otherwise connected to the outside world, you probably want to 58863761Sericuse: 58958071Seric 59063761Seric define(`SMART_HOST', smtp:fire.wall.com) 59163761Seric LOCAL_NET_CONFIG 59263761Seric R$* < @ $* . > $* $#smtp $@ $2. $: $1 < @ $2. > $3 59358071Seric 59463761SericThat is, send directly only to things you found in your DNS lookup; 59563761Sericanything else goes through SMART_HOST. 59663761Seric 597*64153SericIf you are not running DNS at all, it is important to use 598*64153SericFEATURE(nodns) to avoid having sendmail queue everything waiting 599*64153Sericfor the name server to come up. 60063761Seric 601*64153Seric 60264028Seric+--------------------+ 60364028Seric| USING MAILERTABLES | 60464028Seric+--------------------+ 60564028Seric 60664028SericTo use FEATURE(mailertable), you will have to create an external 60764028Sericdatabase containing the routing information for various domains. 60864028SericFor example, a mailertable file in text format might be: 60964028Seric 61064028Seric .my.domain xnet:%1.my.domain 61164028Seric uuhost1.my.domain suucp:uuhost1 61264028Seric .bitnet smtp:relay.bit.net 61364028Seric 61464028SericThis should normally be stored in /etc/mailertable. The actual 61564028Sericdatabase version of the mailertable is built using: 61664028Seric 61764028Seric makemap hash /etc/mailertable.db < /etc/mailertable 61864028Seric 61964028SericThe semantics are simple. Any LHS entry that does not begin with 62064028Serica dot matches the full host name indicated. LHS entries beginning 62164028Sericwith a dot match anything ending with that domain name -- that is, 62264028Sericthey can be thought of as having a leading "*" wildcard. Matching 62364028Sericis done in order of most-to-least qualified -- for example, even 62464028Sericthough ".my.domain" is listed first in the above example, an entry 62564028Sericof "uuhost1.my.domain" will match the second entry since it is 62664028Sericmore explicit. 62764028Seric 62864028SericThe RHS should always be a "mailer:host" pair. The mailer is the 62964028Sericconfiguration name of a mailer (that is, an `M' line in the 63064028Sericsendmail.cf file). The "host" will be the hostname passed to 63164028Sericthat mailer. In domain-based matches (that is, those with leading 63264028Sericdots) the "%1" may be used to interpolate the wildcarded part of 63364028Sericthe host name. For example, the first line above sends everything 63464028Sericaddressed to "anything.my.domain" to that same host name, but using 63564028Sericthe (presumably experimental) xnet mailer. 63664028Seric 63764028Seric 638*64153Seric+--------------------------------+ 639*64153Seric| USING USERDB TO MAP FULL NAMES | 640*64153Seric+--------------------------------+ 641*64153Seric 642*64153SericThe user database was not originally intended for mapping full names 643*64153Sericto login names (e.g., Eric.Allman => eric), but some people are using 644*64153Sericit that way. (I would recommend that you set up aliases for this 645*64153Sericpurpose instead -- since you can specify multiple alias files, this 646*64153Sericis fairly easy.) The intent was to locate the default maildrop at 647*64153Serica site, but allow you to override this by sending to a specific host. 648*64153Seric 649*64153SericIf you decide to set up the user database in this fashion, it is 650*64153Sericimperative that you also specify FEATURE(notsticky) -- otherwise, 651*64153Serice-mail sent to Full.Name@local.host.name will be rejected. 652*64153Seric 653*64153Seric 65458363Seric+------------------+ 65558363Seric| FlexFAX SOFTWARE | 65658363Seric+------------------+ 65758363Seric 65858363SericSam Leffler's FlexFAX software is still in beta test -- but he expects a 65958363Sericpublic version out "later this week" [as of 3/1/93]. The following 66058363Sericblurb is direct from Sam: 66158363Seric 66258363Seric $Header: /usr/people/sam/fax/RCS/HOWTO,v 1.7 93/02/08 09:00:55 sam Exp $ 66358363Seric 66458363Seric How To Obtain This Software (in case all you get is this file) 66558363Seric 66658363Seric The source code is available for public ftp on 66758363Seric sgi.com sgi/fax/v2.1beta.tar.Z 66858363Seric (192.48.153.1) 66958363Seric 67058363Seric You can also obtain inst'able images for Silicon Graphics machines from 67158363Seric sgi.com sgi/fax/v2.1beta.inst.tar 67258363Seric (192.48.153.1) 67358363Seric 67458363Seric For example, 67558363Seric % ftp -n sgi.com 67658363Seric .... 67758363Seric ftp> user anonymous 67858363Seric ... <type in password> 67958363Seric ftp> cd sgi/fax 68058363Seric ftp> binary 68158363Seric ftp> get v2.1beta.tar.Z 68258363Seric 68358363Seric If you cannot use FTP at all, there is a service called "ftpmail" 68458363Seric available from gateekeeper.dec.com: you can send e-mail to this 68558363Seric machine and it will use FTP to retrieve files for you and send you the 68658363Seric files back again via e-mail. To find out more about the ftpmail 68758363Seric service, send a message to "ftpmail@gatekeeper.dec.com" whose body 68858363Seric consists of the single line "help". 68958363Seric 69058363Seric Internal to Silicon Graphics there are inst'able images on the host 69158363Seric flake.asd in the directory /d/dist. Thus you can do something like: 69258363Seric 69358363Seric % inst -f flake.asd.sgi.com:/d/dist/flexfax 69458363Seric 69558363Seric to install the software on your machine. 69658363Seric 69758363Seric The external distributions come in a compressed or uncompressed tar 69858363Seric file. To extract the source distribution: 69958363Seric 70058363Seric % zcat v2.1beta.tar.Z | tar xf - 70158363Seric 70258363Seric (uncompress and extract individual files in current directory). To 70358363Seric unpack and install the client portion of the inst'able distribution: 70458363Seric 70558363Seric % mkdir dist 70658363Seric % cd dist; tar xf ../v2.1beta.inst.tar; cd .. 70758363Seric % inst -f dist/flexfax 70858363Seric ... 70958363Seric inst> go 71058363Seric 71158363Seric (Note, the dist subdirectory is because some versions of inst fail if 71258363Seric the files are in the current directory.) Server binaries is also 71358363Seric included in the inst'able images as flexfax.server.*. It is not 71458363Seric installed by default, so to get it also you need to extract the do: 71558363Seric 71658363Seric % inst -f flexfax 71758363Seric ... 71858363Seric inst> install flexfax.server.* 71958363Seric inst> go 72058363Seric 72158363Seric The SGI binaries were built for Version 4.0.5 of the IRIX operating 72258363Seric system. They should work w/o problem on earlier versions of the 72358363Seric system, but I have not fully tested this. Also, note that to install a 72458363Seric server on an SGI machine, you need to have installed the Display 72558363Seric PostScript execution environment product (dps_eoe). Otherwise, the fax 72658363Seric server will not be able to convert PostScript to facsimile for 72758363Seric transmission. 72858363Seric 72958363Seric If you are working from the source distribution, look at the file README 73058363Seric in the top of the source tree. If you are working from the inst images, 73158363Seric you need to run faxaddmodem to setup and configure your fax modem. Do 73258363Seric man faxaddmodem for more information. 73358363Seric 73458363SericAlso from Sam: 73558363Seric 73658363Seric A mailing list for users of this software is located on sgi.com. 73758363Seric If you want to join this mailing list or have a list-related request 73858363Seric such as getting your name removed from it, send a request to 73958363Seric 74058363Seric flexfax-request@sgi.com 74158363Seric 74258363Seric Submissions (including bug reports) should be directed to: 74358363Seric 74458363Seric flexfax@sgi.com 74558363Seric 74658363Seric 74757945Seric+--------------------------------+ 74857945Seric| TWEAKING CONFIGURATION OPTIONS | 74957945Seric+--------------------------------+ 75057945Seric 75157945SericThere are a large number of configuration options that don't normally 75257945Sericneed to be changed. However, if you feel you need to tweak them, you 75357945Sericcan define the following M4 variables. This list is shown in four 75457945Sericcolumns: the name you define, the default value for that definition, 75557945Sericthe option or macro that is affected (either Ox for an option or Dx 75657945Sericfor a macro), and a brief description. Greater detail of the semantics 75757945Sericcan be found in the Installation and Operations Guide. 75857945Seric 75963582SericSome options are likely to be deprecated in future versions -- that is, 76063582Sericthe option is only included to provide back-compatibility. These are 76163582Sericmarked with "*". 76263582Seric 76357945SericM4 Variable Name Default Mac/Opt Description 76457945SericconfMAILER_NAME MAILER-DAEMON Dn The sender name used for 76557945Seric internally generated 76657945Seric outgoing messages. 76758681SericconfFROM_LINE From $g $d Dl The From_ line used when 76858681Seric sending to files or programs. 76957945SericconfFROM_HEADER $?x$x <$g>$|$g$. The format of an internally 77057945Seric Dq generated From: address. 77157945SericconfOPERATORS .:%@!^/[] Do Address operator characters. 772*64153SericconfSMTP_LOGIN_MSG $j Sendmail $v/$Z ready at $b 77357945Seric De The initial (spontaneous) 77457945Seric SMTP greeting message. 77559743SericconfSEVEN_BIT_INPUT False O7 Force input to seven bits? 77657945SericconfALIAS_WAIT 10 Oa Wait (in minutes) for alias 77757945Seric file rebuild. 77858087SericconfMIN_FREE_BLOCKS 4 Ob Minimum number of free blocks 77958087Seric on queue filesystem to accept 78058087Seric SMTP mail. 78157945SericconfBLANK_SUB . OB Blank (space) substitution 78257945Seric character. 78357945SericconfCON_EXPENSIVE False Oc Connect immediately to 78457945Seric mailers marked expensive? 78557945SericconfCHECKPOINT_INTERVAL 10 OC Checkpoint queue files 78657945Seric every N recipients. 78757945SericconfDELIVERY_MODE background Od Default delivery mode. 78857945SericconfAUTO_REBUILD False OD Automatically rebuild 78957945Seric alias file if needed. 79057945SericconfERROR_MODE (undefined) Oe Error message mode. 79157945SericconfERROR_MESSAGE (undefined) OE Error message header/file. 79257945SericconfSAVE_FROM_LINES False Of Save extra leading 79357945Seric From_ lines. 79457945SericconfTEMP_FILE_MODE 0600 OF Temporary file mode. 79557945SericconfDEF_GROUP_ID 1 Og Default group id. 79657945SericconfMATCH_GECOS False OG Match GECOS field. 79757945SericconfMAX_HOP 17 Oh Maximum hop count. 79863582SericconfIGNORE_DOTS False Oi * Ignore dot as terminator 79957945Seric for incoming messages? 80057945SericconfBIND_OPTS (empty) OI Default options for BIND. 80163582SericconfMIME_FORMAT_ERRORS True Oj * Send error messages as MIME- 80259743Seric encapsulated messages per 80359743Seric RFC 1344. 804*64153SericconfFORWARD_PATH (undefined) OJ The colon-separated list of 805*64153Seric places to search for .forward 806*64153Seric files. 80757945SericconfMCI_CACHE_SIZE 2 Ok Size of open connection cache. 80857945SericconfMCI_CACHE_TIMEOUT 5m OK Open connection cache timeout. 80963582SericconfUSE_ERRORS_TO False Ol * Use the Errors-To: header to 81063582Seric deliver error messages. This 81163582Seric should not be necessary because 81263582Seric of general acceptance of the 81363582Seric envelope/header distinction. 81457945SericconfLOG_LEVEL 9 OL Log level. 81557945SericconfME_TOO False Om Include sender in group 81657945Seric expansions. 81757945SericconfCHECK_ALIASES True On Check RHS of aliases when 81857945Seric running newaliases. 81963582SericconfOLD_STYLE_HEADERS True Oo * Assume that headers without 82057945Seric special chars are old style. 82158859SericconfDAEMON_OPTIONS (undefined) OO SMTP daemon options. 82258806SericconfPRIVACY_FLAGS authwarnings Op Privacy flags. 82357945SericconfCOPY_ERRORS_TO (undefined) OP Address for additional copies 82457945Seric of all error messages. 82557945SericconfQUEUE_FACTOR (undefined) Oq Slope of queue-only function 82658116SericconfREAD_TIMEOUT (undefined) Or SMTP read timeouts. 82763582SericconfSAFE_QUEUE True Os * Commit all messages to disk 82857945Seric before forking. 82958806SericconfMESSAGE_TIMEOUT 5d/4h OT Timeout for messages before 83058806Seric sending error/warning message. 83159317SericconfTIME_ZONE USE_SYSTEM Ot Time zone info -- can be 83257945Seric USE_SYSTEM to use the system's 83357945Seric idea, USE_TZ to use the user's 83457945Seric TZ envariable, or something 83557945Seric else to force that value. 83657945SericconfDEF_USER_ID 1 Ou Default user id. 83758718SericconfUSERDB_SPEC (undefined) OU User database specification. 83858859SericconfFALLBACK_MX (undefined) OV Fallback MX host. 83963857SericconfTRY_NULL_MX_LIST False Ow If we are the best MX for a 84063857Seric host and haven't made other 84163857Seric arrangements, try connecting 84263857Seric to the host directly; normally 84363857Seric this would be a config error. 84457945SericconfQUEUE_LA 8 Ox Load average at which queue-only 84557945Seric function kicks in. 84657945SericconfREFUSE_LA 12 OX Load average at which incoming 84757945Seric SMTP connections are refused. 84863582SericconfWORK_RECIPIENT_FACTOR 84963582Seric (undefined) Oy Cost of each recipient. 85063582SericconfSEPARATE_PROC False OY Run all deliveries in a 85157945Seric separate process. 85257945SericconfWORK_CLASS_FACTOR (undefined) Oz Priority multiplier for class. 85357945SericconfWORK_TIME_FACTOR (undefined) OZ Cost of each delivery attempt. 85458408SericconfCW_FILE /etc/sendmail.cw Name of file used to get the 85558408Seric Fw local additions to the $=w 85658408Seric class. 857*64153SericconfSMTP_MAILER smtp - The mailer name used when 85863972Seric SMTP connectivity is required. 85963972Seric Either "smtp" or "esmtp". 86063999SericconfLOCAL_MAILER local - The mailer name used when 86163999Seric local connectivity is required. 86263999Seric Almost always "local". 86364028SericconfRELAY_MAILER relay - The default mailer name used 86464028Seric for relaying any mail (e.g., 86564028Seric to a BITNET_RELAY, a 86664028Seric SMART_HOST, or whatever). 86764028Seric This can reasonably be "suucp" 86864028Seric if you are on a UUCP-connected 86964028Seric site. 87057945Seric 87158087Seric 87257246Seric+-----------+ 87357246Seric| HIERARCHY | 87457246Seric+-----------+ 87557246Seric 87651220SericWithin this directory are several subdirectories, to wit: 87751220Seric 87851220Sericm4 General support routines. These are typically 87951220Seric very important and should not be changed without 88057247Seric very careful consideration. 88151220Seric 88251220Sericcf The configuration files themselves. They have 88351220Seric ".mc" suffixes, and must be run through m4 to 88451220Seric become complete. The resulting output should 88551220Seric have a ".cf" suffix. 88651220Seric 88751220Sericostype Definitions describing a particular operating 88851220Seric system type. These should always be referenced 88951220Seric using the OSTYPE macro in the .mc file. Examples 89051220Seric include "bsd4.3", "bsd4.4", "sunos3.5", and 89151220Seric "sunos4.1". 89251220Seric 89351220Sericdomain Definitions describing a particular domain, referenced 89451220Seric using the DOMAIN macro in the .mc file. These are 89551220Seric site dependent; for example, we contribute "cs.exposed.m4" 89651220Seric and "cs.hidden.m4" which both describe hosts in the 89751220Seric CS.Berkeley.EDU subdomain; the former displays the local 89851220Seric hostname (e.g., mammoth.CS.Berkeley.EDU), whereas the 89951220Seric latter does its best to hide the identity of the local 90051220Seric workstation inside the CS subdomain. 90151220Seric 90251220Sericmailer Descriptions of mailers. These are referenced using 90351220Seric the MAILER macro in the .mc file. 90451220Seric 90551220Sericsh Shell files used when building the .cf file from the 90651220Seric .mc file in the cf subdirectory. 90751220Seric 90851220Sericfeature These hold special orthogonal features that you might 90951220Seric want to include. They should be referenced using 91051220Seric the FEATURE macro. 91151220Seric 91251220Serichack Local hacks. These can be referenced using the HACK 91351220Seric macro. They shouldn't be of more than voyeuristic 91451220Seric interest outside the .Berkeley.EDU domain, but who knows? 91551220Seric We've all got our own peccadilloes. 91651220Seric 91751268Sericsiteconfig Site configuration -- e.g., tables of locally connected 91851268Seric UUCP sites. 91951220Seric 92051268Seric 92157246Seric+------------------------+ 92257246Seric| ADMINISTRATIVE DETAILS | 92357246Seric+------------------------+ 92451220Seric 92551220SericThe following sections detail usage of certain internal parts of the 92651220Sericsendmail.cf file. Read them carefully if you are trying to modify 92751220Sericthe current model. If you find the above descriptions adequate, these 92851220Sericshould be {boring, confusing, tedious, ridiculous} (pick one or more). 92951220Seric 93051220SericRULESETS (* means built in to sendmail) 93151220Seric 93251220Seric 0 * Parsing 93351220Seric 1 * Sender rewriting 93451220Seric 2 * Recipient rewriting 93551220Seric 3 * Canonicalization 93651220Seric 4 * Post cleanup 93754839Seric 5 * Local address rewrite (after aliasing) 93860539Seric 1x mailer rules (sender qualification) 93960539Seric 2x mailer rules (recipient qualification) 94060539Seric 90 Mailertable host stripping 94160892Seric 96 Bottom half of Ruleset 3 (ruleset 6 in old sendmail) 94260892Seric 97 Hook for recursive ruleset 0 call (ruleset 7 in old sendmail) 94363857Seric 98 Local part of ruleset 0 (ruleset 8 in old sendmail) 94451220Seric 94551220Seric 94651220SericMAILERS 94751220Seric 94851220Seric 0 local, prog local and program mailers 94951220Seric 1 smtp SMTP channel 95058087Seric 2 uucp UNIX-to-UNIX Copy Program 95158087Seric 3 netnews Network News delivery 95258363Seric 4 fax Sam Leffler's FlexFAX software 95351220Seric 95451220Seric 95551220SericMACROS 95651220Seric 95751220Seric A 95851220Seric B Bitnet Relay 95951220Seric C CSNET Relay 96054839Seric D The local domain -- usually not needed 96151220Seric E 96258363Seric F FAX Relay 96351220Seric G 96457591Seric H mail Hub (for mail clusters) 96551220Seric I 96651220Seric J 96751220Seric K 96851220Seric L 96951220Seric M Masquerade (who I claim to be) 97051220Seric N 97151220Seric O 97251220Seric P 97351220Seric Q 97451220Seric R Relay (for unqualified names) 97558071Seric S Smart Host 97651220Seric T 97751309Seric U my UUCP name (if I have a UUCP connection) 97851309Seric V UUCP Relay (class V hosts) 97951220Seric W UUCP Relay (class W hosts) 98051220Seric X UUCP Relay (class X hosts) 98151309Seric Y UUCP Relay (all other hosts) 98251220Seric Z Version number 98351220Seric 98451220Seric 98551220SericCLASSES 98651220Seric 98751220Seric A 98851220Seric B 98951220Seric C 99051220Seric D 99157246Seric E addresses that should not seem to come from $M 99254839Seric F hosts we forward for 99351220Seric G 99451220Seric H 99551220Seric I 99651220Seric J 99751220Seric K 99851220Seric L addresses that should not be forwarded to $R 99951220Seric M 100051220Seric N 100151220Seric O operators that indicate network operations (cannot be in local names) 100260211Seric P top level pseudo-domains: BITNET, FAX, UUCP, etc. 100351220Seric Q 100451220Seric R 100551220Seric S 100651220Seric T 100751220Seric U locally connected UUCP hosts 100851309Seric V UUCP hosts connected to relay $V 100951309Seric W UUCP hosts connected to relay $W 101051309Seric X UUCP hosts connected to relay $X 101151309Seric Y locally connected smart UUCP hosts 1012*64153Seric Z locally connected domain-ized UUCP hosts 101354839Seric . the class containing only a dot 101451220Seric 101551220Seric 101651220SericM4 DIVERSIONS 101751220Seric 101858071Seric 1 Local host detection and resolution 101958071Seric 2 Local Ruleset 3 additions 102058071Seric 3 Local Ruleset 0 additions 102151268Seric 4 UUCP Ruleset 0 additions 102251309Seric 5 locally interpreted names (overrides $R) 102354839Seric 6 local configuration (at top of file) 102451220Seric 7 mailer definitions 102554839Seric 8 special local name recognition (late in ruleset 3) 102658681Seric 9 special local rulesets (1 and 2) 1027