151220Seric 251220Seric 357246Seric NEW SENDMAIL CONFIGURATION FILES 451220Seric 557246Seric Eric Allman <eric@CS.Berkeley.EDU> 651220Seric 7*64324Seric @(#)README 8.11 (Berkeley) 08/21/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 43*64324Sericsites), uucpproto.mc (for UUCP-only sites), and clientproto.mc (for 44*64324Sericclusters of clients using a single mail host). Others are versions 4558284Sericthat we use at Berkeley, although not all are in current use. For 4658284Sericexample, ucbarpa has gone away, but I've left ucbarpa.mc in because 4758284Sericit demonstrates some interesting techniques. 4858284Seric 4957246SericI'm not pretending that this README describes everything that these 5057246Sericconfiguration files can do; clever people can probably tweak them 5157246Sericto great effect. But it should get you started. 5257246Seric 5358087Seric 5457246Seric+--------------------------+ 5557246Seric| INTRODUCTION AND EXAMPLE | 5657246Seric+--------------------------+ 5757246Seric 5857246SericConfiguration files are contained in the subdirectory "cf", with a 5957246Sericsuffix ".mc". They must be run through "m4" to produce a ".cf" file. 6057246Seric 6151220SericLet's examine a typical .mc file (cf/cs-exposed.mc): 6251220Seric 6351220Seric divert(-1) 6451220Seric # 6551220Seric # Copyright (c) 1983 Eric P. Allman 6651220Seric # Copyright (c) 1988 The Regents of the University of California. 6751220Seric # All rights reserved. 6851220Seric # 6951220Seric # Redistribution and use in source and binary forms are permitted 7051220Seric # provided that the above copyright notice and this paragraph are 7151220Seric # duplicated in all such forms and that any documentation, 7251220Seric # advertising materials, and other materials related to such 7351220Seric # distribution and use acknowledge that the software was developed 7451220Seric # by the University of California, Berkeley. The name of the 7551220Seric # University may not be used to endorse or promote products derived 7651220Seric # from this software without specific prior written permission. 7751220Seric # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 7851220Seric # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 7951220Seric # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 8051220Seric # 8151220Seric 8257246SericThe divert(-1) will delete the crud in the resulting output file. 8357247SericThe copyright notice is what your lawyers require. Our lawyers require 8457246Sericthe one that I've included in my files. A copyleft is a copyright by 8557246Sericanother name. 8651220Seric 8757246SericThe next line MUST be 8857246Seric 8951220Seric include(`../m4/cf.m4') 9051220Seric 9157246SericThis will pull in the M4 macros you will need to make sense of 9257246Sericeverything else. As the saying goes, don't think about it, just 9357246Sericdo it. If you don't do it, don't bother reading the rest of this 9457246Sericfile. 9551220Seric 9656778Seric VERSIONID(`<SCCS or RCS version id>') 9751220Seric 9851220SericVERSIONID is a macro that stuffs the version information into the 9951220Sericresulting file. We use SCCS; you could use RCS, something else, or 10057246Sericomit it completely. This is not the same as the version id included 10157246Sericin SMTP greeting messages -- this is defined in m4/version.m4. 10251220Seric 10351268Seric DOMAIN(cs.exposed) 10451220Seric 10551220SericThis example exposes the host inside of the CS subdomain -- that is, 10651220Sericit doesn't try to hide the name of the workstation to the outside 10751220Sericworld. Changing this to DOMAIN(cs.hidden) would have made outgoing 10851220Sericmessages refer to "<username>@CS.Berkeley.EDU" instead of using the 10963857Sericlocal hostname. Internally this is effected by using 11057246Seric"MASQUERADE_AS(CS.Berkeley.EDU)". 11151220Seric 11251268Seric MAILER(smtp) 11351220Seric 11451309SericThese describe the mailers used at the default CS site site. The 11551309Sericlocal mailer is always included automatically. 11651220Seric 11758087Seric 11857246Seric+--------+ 11957246Seric| OSTYPE | 12057246Seric+--------+ 12157246Seric 12251220SericNote that cf/cs-exposed.mc omits an OSTYPE macro -- this assumes 12351220Sericdefault Computer Science Division environment. There are several 12457247Sericexplicit environments available: bsd4.3, bsd4.4, hpux, irix, osf1, 12557247Sericriscos4.5, sunos3.5, sunos4.1, and ultrix4.1. These change things 12657247Sericlike the location of the alias file and queue directory. Some of 12757247Sericthese files are identical to one another. 12851220Seric 12957246SericOperating system definitions are easy to write. They may define 13057246Sericthe following variables (everything defaults, so an ostype file 13157246Sericmay be empty). 13251220Seric 13357246SericALIAS_FILE [/etc/aliases] The location of the text version 13459761Seric of the alias file(s). It can be a comma-separated 13559761Seric list of names. 13657246SericHELP_FILE [/usr/lib/sendmail.hf] The name of the file 13757246Seric containing information printed in response to 13857246Seric the SMTP HELP command. 13957246SericQUEUE_DIR [/var/spool/mqueue] The directory containing 14057246Seric queue files. 14157246SericSTATUS_FILE [/etc/sendmail.st] The file containing status 14257246Seric information. 14358087SericLOCAL_MAILER_PATH [/bin/mail] The program used to deliver local mail. 14464153SericLOCAL_MAILER_FLAGS [rmn] The flags used by the local mailer. The 14564153Seric flags lsDFM are always included. 14663761SericLOCAL_MAILER_ARGS [mail -d $u] The arguments passed to deliver local 14763761Seric mail. 14858087SericLOCAL_SHELL_PATH [/bin/sh] The shell used to deliver piped email. 14963791SericLOCAL_SHELL_FLAGS [eu] The flags used by the shell mailer. The 15063791Seric flags lsDFM are always included. 15163791SericLOCAL_SHELL_ARGS [sh -c $u] The arguments passed to deliver "prog" 15263791Seric mail. 15358087SericUSENET_MAILER_PATH [/usr/lib/news/inews] The name of the program 15458087Seric used to submit news. 15558087SericUSENET_MAILER_FLAGS [rlsDFMmn] The mailer flags for the usenet mailer. 15658087SericUSENET_MAILER_ARGS [-m -h -n] The command line arguments for the 15758087Seric usenet mailer. 15863857SericSMTP_MAILER_FLAGS [undefined] Flags added to SMTP mailer. Default 15963857Seric flags are `mDFMUX' (and `a' for esmtp mailer). 16063857SericUUCP_MAILER_FLAGS [undefined] Flags added to UUCP mailer. Default 16163857Seric flags are `DFMhuU' (and `m' for suucp mailer, minus 16263857Seric `U' for uucp-dom mailer). 16363761SericUUCP_MAILER_ARGS [uux - -r -z -a$f -gC $h!rmail ($u)] The arguments 16463761Seric passed to the UUCP mailer. 16563791SericUUCP_MAX_SIZE [100000] The maximum size message accepted for 16663791Seric transmission by the UUCP mailers. 16757246SericHOSTMAP_SPEC [dbm -o /etc/hostmap] The value for the builtin 16857246Seric hostmap key definition. You can redefine this 16957246Seric to change the class, flags, and filename of 17057246Seric the hostmap. The default flag (-o) makes this 17157246Seric map optional. 17257246Seric 17357246Seric+---------+ 17457246Seric| DOMAINS | 17557246Seric+---------+ 17657246Seric 17757246SericYou will probably want to collect domain-dependent defines into one 17857246Sericfile, referenced by the DOMAIN macro. For example, our Berkeley 17957246Sericdomain file includes definitions for several internal distinguished 18057246Serichosts: 18157246Seric 18257246SericUUCP_RELAY The host that will forward UUCP-addressed email. 18357246Seric If not defined, all UUCP sites must be directly 18464028Seric connected. 18557246SericBITNET_RELAY The host that will forward BITNET-addressed email. 18657246Seric If not defined, the .BITNET pseudo-domain won't work. 18757246SericCSNET_RELAY The host that will forward CSNET-addressed email. 18857246Seric If not defined, the .CSNET pseudo-domain won't work. 18957246SericLOCAL_RELAY The site that will handle unqualified names -- that 19057246Seric is, names with out an @domain extension. If not set, 19157246Seric they are assumed to belong on this machine. This 19257246Seric allows you to have a central site to store a 19357246Seric company- or department-wide alias database. This 19457246Seric only works at small sites, and there are better 19564028Seric methods. 19657246Seric 19764028SericEach of these can be either ``mailer:hostname'' (in which case the 19864028Sericmailer is the internal mailer name, such as ``suucp'' and the hostname 19964028Sericis the name of the host as appropriate for that mailer) or just a 20064028Seric``hostname'', in which case a default mailer type (usually ``relay'', 20164153Serica variant on SMTP) is used. WARNING: if you have a wildcard MX 20264153Sericrecord matching your domain, you probably want to define these to 20364153Serichave a trailing dot so that you won't get the mail diverted back 20464153Sericto yourself. 20564028Seric 20657246SericThe domain file can also be used to define a domain name, if needed 20757982Seric(using "DD<domain>") and set certain site-wide features. If all hosts 20857982Sericat your site masquerade behind one email name, you could also use 20957982SericMASQUERADE_AS here. 21057246Seric 21158408SericYou do not have to define a domain -- in particular, if you are a 21258408Sericsingle machine sitting off somewhere, it is probably more work than 21358408Sericit's worth. This is just a mechanism for combining "domain dependent 21458408Sericknowledge" into one place. 21558408Seric 21657246Seric+---------+ 21757246Seric| MAILERS | 21857246Seric+---------+ 21957246Seric 22051220SericThere are fewer mailers supported in this version than the previous 22151220Sericversion, owing mostly to a simpler world. 22251220Seric 22351220Sericlocal The local and prog mailers. You will almost always 22451220Seric need these; the only exception is if you relay ALL 22557247Seric your mail to another site. This mailer is included 22657247Seric automatically. 22751220Seric 22851220Sericsmtp The Simple Mail Transport Protocol mailer. This does 22951220Seric not hide hosts behind a gateway or another other 23051220Seric such hack; it assumes a world where everyone is 23163761Seric running the name server. This file actually defines 23263761Seric three mailers: "smtp" for regular (old-style) SMTP to 23363761Seric other servers, "esmtp" for extended SMTP to other 23463761Seric servers, and "relay" for transmission to our 23563761Seric RELAY_HOST or MAILER_HUB. 23651220Seric 23751220Sericuucp The Unix-to-Unix Copy Program mailer. Actually, this 23851220Seric defines two mailers, "uucp" and "suucp". The latter 23951220Seric is for when you know that the UUCP mailer at the other 24051220Seric end can handle multiple recipients in one transfer. 24157246Seric When you invoke this, sendmail looks for all names in 24257246Seric the $=U class and sends them to the uucp mailer; all 24357246Seric names in the $=Y class are sent to suucp. Note that 24457246Seric this is a function of what version of rmail runs on 24557246Seric the receiving end, and hence may be out of your control. 24663857Seric If smtp is defined, it also defines a "uucp-dom" mailer 24763857Seric that uses domain-style rewriting. 24851220Seric 24958087Sericusenet Usenet (network news) delivery. If this is specified, 25058087Seric an extra rule is added to ruleset 0 that forwards all 25158087Seric local email for users named ``group.usenet'' to the 25258087Seric ``inews'' program. Note that this works for all groups, 25358087Seric and may be considered a security problem. 25458087Seric 25558363Sericfax Facsimile transmission. This is experimental and based 25658363Seric on Sam Leffler's FlexFAX software. For more information, 25758363Seric see below. 25858087Seric 25958363Seric 26057246Seric+----------+ 26157246Seric| FEATURES | 26257246Seric+----------+ 26351268Seric 26457246SericSpecial features can be requested using the "FEATURE" macro. For 26557246Sericexample, the .mc line: 26657246Seric 26757246Seric FEATURE(use_cw_file) 26857246Seric 26957246Serictells sendmail that you want to have it read an /etc/sendmail.cw 27058782Sericfile to get values for class $=w. The FEATURE may contain a single 27158782Sericoptional parameter -- for example: 27257246Seric 27358782Seric FEATURE(mailertable, dbm /usr/lib/mailertable) 27458782Seric 27558782SericAvailable features are: 27658782Seric 27757246Sericuse_cw_file Read the file /etc/sendmail.cw file to get alternate 27857246Seric names for this host. This might be used if you were 27957246Seric on a host that MXed for a dynamic set of other 28057246Seric hosts. If the set is static, just including the line 28157246Seric "Cw<name1> <name2> ..." is probably superior. 28258408Seric The actual filename can be overridden by redefining 28358408Seric confCW_FILE. 284*64324Seric 28558087Sericredirect Reject all mail addressed to "address.REDIRECT" with 28658087Seric a ``551 User not local; please try <address>'' message. 28758087Seric If this is set, you can alias people who have left 28858087Seric to their new address with ".REDIRECT" appended. 289*64324Seric 29058284Sericnouucp Don't do anything special with UUCP addresses at all. 291*64324Seric 29259080Sericnocanonify Don't pass addresses to $[ ... $] for canonification. 29359080Seric This would generally only be used by sites that only 29459080Seric act as mail gateways or which have user agents that do 29564028Seric full canonification themselves. You may also want to 29664028Seric use "define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')" to 29764028Seric turn off the usual resolver options that do a similar 29864028Seric thing. 299*64324Seric 30058526Sericnotsticky By default, email sent to "user@local.host" are marked 30158526Seric as "sticky" -- that is, the local addresses aren't 30258526Seric matched against UDB and don't go through ruleset 5. 30358526Seric This features disables this treatment. It would 30458526Seric normally be used on network gateway machines. 305*64324Seric 30658782Sericmailertable Include a "mailer table" which can be used to override 30758782Seric routing for particular domains. The argument of the 30858782Seric FEATURE may be the key definition. If none is specified, 30958782Seric the definition used is: 31064164Seric hash -o /etc/mailertable 31163761Seric Keys in this database are fully qualified domain names 31263761Seric or partial domains preceded by a dot -- for example, 31363761Seric "vangogh.CS.Berkeley.EDU" or ".CS.Berkeley.EDU". 31463761Seric Values must be of the form: 31558782Seric mailer:domain 31663761Seric where "mailer" is the internal mailer name, and "domain" 31763761Seric is where to send the message. These maps are not 31863761Seric reflected into the message header. 319*64324Seric 32063761Sericdomaintable Include a "domain table" which can be used to provide 32163761Seric full domains on unqualified (single word) hosts. The 32263761Seric argument of the FEATURE may be the key definition. If 32363761Seric none is specified, the definition used is: 32464164Seric hash -o /etc/domaintable 32563761Seric The key in this table is the unqualified host name; the 32663761Seric value is the fully qualified domain. Anything in the 32763761Seric domaintable is reflected into headers; that is, this 32863761Seric is done in ruleset 3. 329*64324Seric 33059034Sericbitdomain Look up bitnet hosts in a table to try to turn them into 33159034Seric internet addresses. The table can be built using the 33264153Seric bitdomain program contributed by John Gardiner Myers. 33359034Seric The argument of the FEATURE may be the key definition; if 33459034Seric none is specified, the definition used is: 33564164Seric hash -o /etc/bitdomain.db 33659034Seric Keys are the bitnet hostname; values are the corresponding 33759034Seric internet hostname. 338*64324Seric 33959037Sericuucpdomain Similar feature for UUCP hosts. The default map definition 34059037Seric is: 34164164Seric hash -o /etc/uudomain.db 34259037Seric At the moment there is no automagic tool to build this 34359037Seric database. 344*64324Seric 34560263Sericalways_add_domain 34660263Seric Include the local host domain even on locally delivered 34760263Seric mail. Normally it is not added unless it is already 34860263Seric present. 349*64324Seric 35063761Sericallmasquerade If masquerading is enabled (using MASQUERADE_AS), this 35163761Seric feature will cause recipient addresses to also masquerade 35263761Seric as being from the masquerade host. Normally they get 35363761Seric the local hostname. Although this may be right for 35463761Seric ordinary users, it can break local aliases. For example, 35563761Seric if you send to "localalias", the originating sendmail will 35663761Seric find that alias and send to all members, but send the 35763761Seric message with "To: localalias@masqueradehost". Since that 35863761Seric alias likely does not exist, replies will fail. Use this 35963761Seric feature ONLY if you can guarantee that the ENTIRE 36063761Seric namespace on your masquerade host supersets all the 36163761Seric local entries. 362*64324Seric 36364153Sericnodns We aren't running DNS at our site (for example, 36464153Seric we are UUCP-only connected). It's hard to consider 36564153Seric this a "feature", but hey, it had to go somewhere. 36657246Seric 367*64324Sericnullclient This is a special case -- it creates a stripped down 368*64324Seric configuration file containing nothing but support for 369*64324Seric forwarding all mail to a central hub. The argument 370*64324Seric is the name of that hub. No other features should be 371*64324Seric used, and no mailers need be defined -- this is all 372*64324Seric implicit. The client always masquerades as the mail 373*64324Seric hub. No aliasing or forwarding is done. 37457246Seric 375*64324Seric 37657246Seric+-------+ 37757246Seric| HACKS | 37857246Seric+-------+ 37957246Seric 38057246SericSome things just can't be called features. To make this clear, 38157247Sericthey go in the hack subdirectory and are referenced using the HACK 38257246Sericmacro. These will tend to be site-dependent. The release 38357246Sericincludes the Berkeley-dependent "cssubdomain" hack (that makes 38457246Sericsendmail accept local names in either Berkeley.EDU or CS.Berkeley.EDU; 38557246Sericthis is intended as a short-term aid while we move hosts into 38657246Sericsubdomains. 38757246Seric 38858087Seric 38957246Seric+--------------------+ 39057246Seric| SITE CONFIGURATION | 39157246Seric+--------------------+ 39257246Seric 39357246SericComplex sites will need more local configuration information, such as 39457246Sericlists of UUCP hosts they speak with directly. This can get a bit more 39557246Serictricky. For an example of a "complex" site, see cf/ucbvax.mc. 39657246Seric 39757246SericThe SITECONFIG macro allows you to indirectly reference site-dependent 39857246Sericconfiguration information stored in the siteconfig subdirectory. For 39957246Sericexample, the line 40057246Seric 40157246Seric SITECONFIG(uucp.ucbvax, ucbvax, U) 40257246Seric 40357246Sericreads the file uucp.ucbvax for local connection information. The 40457246Sericsecond parameter is the local name (in this case just "ucbvax" since 40557246Sericit is locally connected, and hence a UUCP hostname) and the name of 40657246Sericthe class in which to store the host information. Another SITECONFIG 40757246Sericline reads 40857246Seric 40957246Seric SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) 41057246Seric 41157246SericThis says that the file uucp.ucbarpa contains the list of UUCP sites 41257246Sericconnected to ucbarpa.Berkeley.EDU. The $=W class will be used to 41357246Sericstore this list. [The machine ucbarpa is gone now, but I've left 41457246Sericthis out-of-date configuration file around to demonstrate how you 41557246Sericmight do this.] 41657246Seric 41757246SericThe siteconfig file (e.g., siteconfig/uucp.ucbvax.m4) contains nothing 41857246Sericmore than a sequence of SITE macros describing connectivity. For 41957246Sericexample: 42057246Seric 42157246Seric SITE(cnmat) 42257246Seric SITE(sgi olympus) 42357246Seric 42457246SericThe second example demonstrates that you can use two names on the 42557246Sericsame line; these are usually aliases for the same host (or are at 42657246Sericleast in the same company). 42757246Seric 42858087Seric 42957246Seric+-------------------+ 43057246Seric| TWEAKING RULESETS | 43157246Seric+-------------------+ 43257246Seric 43351268SericFor more complex configurations, you can define special rules. 43451268SericThe macro LOCAL_RULE_3 introduces rules that are used in canonicalizing 43551268Sericthe names. Any modifications made here are reflected in the header. 43651268Seric 43751268SericA common use is to convert old UUCP addreses to SMTP addresses using 43851268Sericthe UUCPSMTP macro. For example: 43951268Seric 44051268Seric LOCAL_RULE_3 44151268Seric UUCPSMTP(decvax, decvax.dec.com) 44251268Seric UUCPSMTP(research, research.att.com) 44351268Seric 44451268Sericwill cause addresses of the form "decvax!user" and "research!user" 44551268Sericto be converted to "user@decvax.dec.com" and "user@research.att.com" 44651268Sericrespectively. 44751268Seric 44857246SericThis could also be used to look hosts in a database map: 44957246Seric 45057246Seric LOCAL_RULE_3 45157246Seric R$* < @ $+ > $* $: $1 < @ $(hostmap $2 $) > $3 45257246Seric 45357246SericThis map would be defined in the LOCAL_CONFIG portion, as shown below. 45457246Seric 45551268SericSimilarly, LOCAL_RULE_0 can be used to introduce new parsing rules. 45651268SericFor example, new rules are needed to parse hostnames that you accept 45751309Sericvia MX records. For example, you might have: 45851268Seric 45951309Seric LOCAL_RULE_0 46051309Seric R$+ < @ cnmat.Berkeley.EDU > $#uucp $@ cnmat $: $1 46151309Seric 46251309SericYou would use this if you had installed an MX record for cnmat.Berkeley.EDU 46351309Sericpointing at this host; this rule catches the message and forwards it on 46451309Sericusing UUCP. 46551309Seric 46658681SericYou can also tweak rulesets 1 and 2 using LOCAL_RULE_1 and LOCAL_RULE_2. 46758681SericThese rulesets are normally empty. 46858681Seric 46957246SericA similar macro is LOCAL_CONFIG. This introduces lines added after the 47057246Sericboilerplate option setting but before rulesets, and can be used to 47157945Sericdeclare local database maps or whatever. For example: 47251268Seric 47357246Seric LOCAL_CONFIG 47457246Seric Khostmap hash /etc/hostmap.db 47557246Seric Kyplocal nis -m hosts.byname 47651220Seric 47758087Seric 47857246Seric+---------------------------+ 47957246Seric| MASQUERADING AND RELAYING | 48057246Seric+---------------------------+ 48157246Seric 48257246SericYou can have your host masquerade as another using 48357246Seric 48457246Seric MASQUERADE_AS(host.domain) 48557246Seric 48657246SericThis causes outgoing SMTP mail to be labelled as coming from the 48757246Sericindicated domain, rather than $j. One normally masquerades as one 48857246Sericof your own subdomains (for example, it's unlikely that I would 48957246Sericchoose to masquerade as an MIT site). 49057246Seric 49164153SericThe masquerade name is not normally canonified, so it is important 49264153Sericthat it be your One True Name, that is, fully qualified and not a 49364153SericCNAME. 49464153Seric 49557246Sericthere are always users that need to be "exposed" -- that is, their 49657246Sericinternal site name should be displayed instead of the masquerade name. 49757246SericRoot is an example. You can add users to this list using 49857246Seric 49957246Seric EXPOSED_USER(usernames) 50057246Seric 50157246SericThis adds users to class E; you could also use something like 50257246Seric 50357246Seric FE/etc/sendmail.cE 50457246Seric 50557246SericYou can also arrange to relay all unqualified names (that is, names 50657246Sericwithout @host) to a relay host. For example, if you have a central 50757246Sericemail server, you might relay to that host so that users don't have 50857246Sericto have .forward files or aliases. You can do this using 50957246Seric 51058071Seric define(`LOCAL_RELAY', mailer:hostname) 51157246Seric 51258071SericThe ``mailer:'' can be omitted, in which case the mailer defaults to 51358071Seric"smtp". There are some user names that you don't want relayed, perhaps 51458071Sericbecause of local aliases. A common example is root, which may be 51558071Sericlocally aliased. You can add entries to this list using 51657246Seric 51757246Seric LOCAL_USER(usernames) 51857246Seric 51957246SericThis adds users to class L; you could also use something like 52057246Seric 52157246Seric FL/etc/sendmail.cL 52257246Seric 52364153SericIf you want all incoming mail sent to a centralized hub, as for a 52464153Sericshared /var/spool/mail scheme, use 52557591Seric 52658071Seric define(`MAIL_HUB', mailer:hostname) 52757591Seric 52858071SericAgain, ``mailer:'' defaults to "smtp". If you define both LOCAL_RELAY 52958071Sericand MAIL_HUB, unqualified names and names in class L will be sent to 53058071Sericthe LOCAL_RELAY and other local names will be sent to MAIL_HUB. For 53158071Sericexample, if are on machine mastodon.CS.Berkeley.EDU, the following 53258071Sericcombinations of settings will have the indicated effects: 53357591Seric 53457591Sericemail sent to.... eric eric@mastodon.CS.Berkeley.EDU 53557591Seric 53657591SericLOCAL_RELAY set to mail.CS.Berkeley.EDU (delivered locally) 53757591Sericmail.CS.Berkeley.EDU 53857591Seric 53957591SericMAIL_HUB set to mammoth.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 54057591Sericmammoth.CS.Berkeley.EDU 54157591Seric 54257591SericBoth LOCAL_RELAY and mail.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 54357591SericMAIL_HUB set as above 54457591Seric 54564153SericIf you want all outgoing mail to go to a central relay site, define 54664153SericSMART_HOST as well. Briefly: 54758071Seric 54864153Seric LOCAL_RELAY applies to unqualifed names (e.g., "eric"). 54964153Seric MAIL_HUB applies to names qualified with the name of the 55064153Seric local host (e.g., "eric@mastodon.CS.Berkeley.EDU"). 55164153Seric SMART_HOST applies to names qualified with other hosts. 55264153Seric 55364153SericHowever, beware that other relays (e.g., UUCP_RELAY, BITNET_RELAY, and 55464153SericFAX_RELAY) take precedence over SMART_HOST, so if you really want 55564153Sericabsolutely everything to go to a single central site you will need to 55664153Sericunset all the other relays -- or better yet, find or build a minimal 55764153Sericconfig file that does this. 55864153Seric 55964153Seric 56058071Seric+-------------------------------+ 56158071Seric| NON-SMTP BASED CONFIGURATIONS | 56258071Seric+-------------------------------+ 56358071Seric 56458071SericThese configuration files are designed primarily for use by SMTP-based 56558071Sericsites. I don't pretend that they are well tuned for UUCP-only or 56658071SericUUCP-primarily nodes (the latter is defined as a small local net 56758071Sericconnected to the rest of the world via UUCP). However, there is one 56858071Serichook to handle some special cases. 56958071Seric 57058071SericYou can define a ``smart host'' that understands a richer address syntax 57158071Sericusing: 57258071Seric 57358071Seric define(`SMART_HOST', mailer:hostname) 57458071Seric 57564028SericIn this case, the ``mailer:'' defaults to "relay". Any messages that 57658071Sericcan't be handled using the usual UUCP rules are passed to this host. 57758071Seric 57858071SericIf you are on a local SMTP-based net that connects to the outside 57958071Sericworld via UUCP, you can use LOCAL_NET_CONFIG to add appropriate rules. 58058071SericFor example: 58158071Seric 58258071Seric define(`SMART_HOST', suucp:uunet) 58358071Seric LOCAL_NET_CONFIG 58463761Seric R$* < @ $* .$m. > $* $#smtp $@ $2.$m. $: $1 < @ $2.$m. > $3 58558071Seric 58658071SericThis will cause all names that end in your domain name ($m) via 58758071SericSMTP; anything else will be sent via suucp (smart UUCP) to uunet. 58863761SericIf you have FEATURE(nocanonify), you may need to omit the dots after 58963761Sericthe $m. If you are running a local DNS inside your domain which is 59063761Sericnot otherwise connected to the outside world, you probably want to 59163761Sericuse: 59258071Seric 59363761Seric define(`SMART_HOST', smtp:fire.wall.com) 59463761Seric LOCAL_NET_CONFIG 59563761Seric R$* < @ $* . > $* $#smtp $@ $2. $: $1 < @ $2. > $3 59658071Seric 59763761SericThat is, send directly only to things you found in your DNS lookup; 59863761Sericanything else goes through SMART_HOST. 59963761Seric 60064153SericIf you are not running DNS at all, it is important to use 60164153SericFEATURE(nodns) to avoid having sendmail queue everything waiting 60264153Sericfor the name server to come up. 60363761Seric 60464153Seric 60564259Seric+-----------+ 60664259Seric| WHO AM I? | 60764259Seric+-----------+ 60864259Seric 60964259SericNormally, the $j macro is automatically defined to be your fully 61064259Sericqualified domain name (FQDN). Sendmail does this by getting your 61164259Serichost name using gethostname and then calling gethostbyname on the 61264259Sericresult. For example, in some environments gethostname returns 61364259Sericonly the root of the host name (such as "foo"); gethostbyname is 61464259Sericsupposed to return the FQDN ("foo.bar.com"). In some (fairly rare) 61564259Sericcases, gethostbyname may fail to return the FQDN. In this case 61664259Sericyou MUST define confDOMAIN_NAME to be your fully qualified domain 61764259Sericname. This is usually done using: 61864259Seric 61964259Seric Dmbar.com 62064259Seric define(`confDOMAIN_NAME', `$w.$m')dnl 62164259Seric 62264259Seric 62364028Seric+--------------------+ 62464028Seric| USING MAILERTABLES | 62564028Seric+--------------------+ 62664028Seric 62764028SericTo use FEATURE(mailertable), you will have to create an external 62864028Sericdatabase containing the routing information for various domains. 62964028SericFor example, a mailertable file in text format might be: 63064028Seric 63164028Seric .my.domain xnet:%1.my.domain 63264028Seric uuhost1.my.domain suucp:uuhost1 63364028Seric .bitnet smtp:relay.bit.net 63464028Seric 63564028SericThis should normally be stored in /etc/mailertable. The actual 63664028Sericdatabase version of the mailertable is built using: 63764028Seric 63864028Seric makemap hash /etc/mailertable.db < /etc/mailertable 63964028Seric 64064028SericThe semantics are simple. Any LHS entry that does not begin with 64164028Serica dot matches the full host name indicated. LHS entries beginning 64264028Sericwith a dot match anything ending with that domain name -- that is, 64364028Sericthey can be thought of as having a leading "*" wildcard. Matching 64464028Sericis done in order of most-to-least qualified -- for example, even 64564028Sericthough ".my.domain" is listed first in the above example, an entry 64664028Sericof "uuhost1.my.domain" will match the second entry since it is 64764028Sericmore explicit. 64864028Seric 64964028SericThe RHS should always be a "mailer:host" pair. The mailer is the 65064028Sericconfiguration name of a mailer (that is, an `M' line in the 65164028Sericsendmail.cf file). The "host" will be the hostname passed to 65264028Sericthat mailer. In domain-based matches (that is, those with leading 65364028Sericdots) the "%1" may be used to interpolate the wildcarded part of 65464028Sericthe host name. For example, the first line above sends everything 65564028Sericaddressed to "anything.my.domain" to that same host name, but using 65664028Sericthe (presumably experimental) xnet mailer. 65764028Seric 65864028Seric 65964153Seric+--------------------------------+ 66064153Seric| USING USERDB TO MAP FULL NAMES | 66164153Seric+--------------------------------+ 66264153Seric 66364153SericThe user database was not originally intended for mapping full names 66464153Sericto login names (e.g., Eric.Allman => eric), but some people are using 66564153Sericit that way. (I would recommend that you set up aliases for this 66664153Sericpurpose instead -- since you can specify multiple alias files, this 66764153Sericis fairly easy.) The intent was to locate the default maildrop at 66864153Serica site, but allow you to override this by sending to a specific host. 66964153Seric 67064153SericIf you decide to set up the user database in this fashion, it is 67164153Sericimperative that you also specify FEATURE(notsticky) -- otherwise, 67264153Serice-mail sent to Full.Name@local.host.name will be rejected. 67364153Seric 67464259SericTo build the internal form of the user databae, use: 67564153Seric 67664259Seric makemap btree /usr/data/base.db < /usr/data/base.txt 67764259Seric 67864259Seric 67958363Seric+------------------+ 68058363Seric| FlexFAX SOFTWARE | 68158363Seric+------------------+ 68258363Seric 68358363SericSam Leffler's FlexFAX software is still in beta test -- but he expects a 68458363Sericpublic version out "later this week" [as of 3/1/93]. The following 68558363Sericblurb is direct from Sam: 68658363Seric 68758363Seric $Header: /usr/people/sam/fax/RCS/HOWTO,v 1.7 93/02/08 09:00:55 sam Exp $ 68858363Seric 68958363Seric How To Obtain This Software (in case all you get is this file) 69058363Seric 69158363Seric The source code is available for public ftp on 69258363Seric sgi.com sgi/fax/v2.1beta.tar.Z 69358363Seric (192.48.153.1) 69458363Seric 69558363Seric You can also obtain inst'able images for Silicon Graphics machines from 69658363Seric sgi.com sgi/fax/v2.1beta.inst.tar 69758363Seric (192.48.153.1) 69858363Seric 69958363Seric For example, 70058363Seric % ftp -n sgi.com 70158363Seric .... 70258363Seric ftp> user anonymous 70358363Seric ... <type in password> 70458363Seric ftp> cd sgi/fax 70558363Seric ftp> binary 70658363Seric ftp> get v2.1beta.tar.Z 70758363Seric 70858363Seric If you cannot use FTP at all, there is a service called "ftpmail" 70958363Seric available from gateekeeper.dec.com: you can send e-mail to this 71058363Seric machine and it will use FTP to retrieve files for you and send you the 71158363Seric files back again via e-mail. To find out more about the ftpmail 71258363Seric service, send a message to "ftpmail@gatekeeper.dec.com" whose body 71358363Seric consists of the single line "help". 71458363Seric 71558363Seric Internal to Silicon Graphics there are inst'able images on the host 71658363Seric flake.asd in the directory /d/dist. Thus you can do something like: 71758363Seric 71858363Seric % inst -f flake.asd.sgi.com:/d/dist/flexfax 71958363Seric 72058363Seric to install the software on your machine. 72158363Seric 72258363Seric The external distributions come in a compressed or uncompressed tar 72358363Seric file. To extract the source distribution: 72458363Seric 72558363Seric % zcat v2.1beta.tar.Z | tar xf - 72658363Seric 72758363Seric (uncompress and extract individual files in current directory). To 72858363Seric unpack and install the client portion of the inst'able distribution: 72958363Seric 73058363Seric % mkdir dist 73158363Seric % cd dist; tar xf ../v2.1beta.inst.tar; cd .. 73258363Seric % inst -f dist/flexfax 73358363Seric ... 73458363Seric inst> go 73558363Seric 73658363Seric (Note, the dist subdirectory is because some versions of inst fail if 73758363Seric the files are in the current directory.) Server binaries is also 73858363Seric included in the inst'able images as flexfax.server.*. It is not 73958363Seric installed by default, so to get it also you need to extract the do: 74058363Seric 74158363Seric % inst -f flexfax 74258363Seric ... 74358363Seric inst> install flexfax.server.* 74458363Seric inst> go 74558363Seric 74658363Seric The SGI binaries were built for Version 4.0.5 of the IRIX operating 74758363Seric system. They should work w/o problem on earlier versions of the 74858363Seric system, but I have not fully tested this. Also, note that to install a 74958363Seric server on an SGI machine, you need to have installed the Display 75058363Seric PostScript execution environment product (dps_eoe). Otherwise, the fax 75158363Seric server will not be able to convert PostScript to facsimile for 75258363Seric transmission. 75358363Seric 75458363Seric If you are working from the source distribution, look at the file README 75558363Seric in the top of the source tree. If you are working from the inst images, 75658363Seric you need to run faxaddmodem to setup and configure your fax modem. Do 75758363Seric man faxaddmodem for more information. 75858363Seric 75958363SericAlso from Sam: 76058363Seric 76158363Seric A mailing list for users of this software is located on sgi.com. 76258363Seric If you want to join this mailing list or have a list-related request 76358363Seric such as getting your name removed from it, send a request to 76458363Seric 76558363Seric flexfax-request@sgi.com 76658363Seric 76758363Seric Submissions (including bug reports) should be directed to: 76858363Seric 76958363Seric flexfax@sgi.com 77058363Seric 77158363Seric 77257945Seric+--------------------------------+ 77357945Seric| TWEAKING CONFIGURATION OPTIONS | 77457945Seric+--------------------------------+ 77557945Seric 77657945SericThere are a large number of configuration options that don't normally 77757945Sericneed to be changed. However, if you feel you need to tweak them, you 77857945Sericcan define the following M4 variables. This list is shown in four 77957945Sericcolumns: the name you define, the default value for that definition, 78057945Sericthe option or macro that is affected (either Ox for an option or Dx 78157945Sericfor a macro), and a brief description. Greater detail of the semantics 78257945Sericcan be found in the Installation and Operations Guide. 78357945Seric 78463582SericSome options are likely to be deprecated in future versions -- that is, 78563582Sericthe option is only included to provide back-compatibility. These are 78663582Sericmarked with "*". 78763582Seric 78857945SericM4 Variable Name Default Mac/Opt Description 78957945SericconfMAILER_NAME MAILER-DAEMON Dn The sender name used for 79057945Seric internally generated 79157945Seric outgoing messages. 79258681SericconfFROM_LINE From $g $d Dl The From_ line used when 79358681Seric sending to files or programs. 79457945SericconfFROM_HEADER $?x$x <$g>$|$g$. The format of an internally 79557945Seric Dq generated From: address. 79657945SericconfOPERATORS .:%@!^/[] Do Address operator characters. 79764153SericconfSMTP_LOGIN_MSG $j Sendmail $v/$Z ready at $b 79857945Seric De The initial (spontaneous) 79957945Seric SMTP greeting message. 80059743SericconfSEVEN_BIT_INPUT False O7 Force input to seven bits? 80157945SericconfALIAS_WAIT 10 Oa Wait (in minutes) for alias 80257945Seric file rebuild. 80358087SericconfMIN_FREE_BLOCKS 4 Ob Minimum number of free blocks 80458087Seric on queue filesystem to accept 80558087Seric SMTP mail. 80657945SericconfBLANK_SUB . OB Blank (space) substitution 80757945Seric character. 80857945SericconfCON_EXPENSIVE False Oc Connect immediately to 80957945Seric mailers marked expensive? 81057945SericconfCHECKPOINT_INTERVAL 10 OC Checkpoint queue files 81157945Seric every N recipients. 81257945SericconfDELIVERY_MODE background Od Default delivery mode. 81357945SericconfAUTO_REBUILD False OD Automatically rebuild 81457945Seric alias file if needed. 81557945SericconfERROR_MODE (undefined) Oe Error message mode. 81657945SericconfERROR_MESSAGE (undefined) OE Error message header/file. 81757945SericconfSAVE_FROM_LINES False Of Save extra leading 81857945Seric From_ lines. 81957945SericconfTEMP_FILE_MODE 0600 OF Temporary file mode. 82057945SericconfDEF_GROUP_ID 1 Og Default group id. 82157945SericconfMATCH_GECOS False OG Match GECOS field. 82257945SericconfMAX_HOP 17 Oh Maximum hop count. 82363582SericconfIGNORE_DOTS False Oi * Ignore dot as terminator 82457945Seric for incoming messages? 82557945SericconfBIND_OPTS (empty) OI Default options for BIND. 82663582SericconfMIME_FORMAT_ERRORS True Oj * Send error messages as MIME- 82759743Seric encapsulated messages per 82859743Seric RFC 1344. 82964153SericconfFORWARD_PATH (undefined) OJ The colon-separated list of 83064153Seric places to search for .forward 83164153Seric files. 83257945SericconfMCI_CACHE_SIZE 2 Ok Size of open connection cache. 83357945SericconfMCI_CACHE_TIMEOUT 5m OK Open connection cache timeout. 83463582SericconfUSE_ERRORS_TO False Ol * Use the Errors-To: header to 83563582Seric deliver error messages. This 83663582Seric should not be necessary because 83763582Seric of general acceptance of the 83863582Seric envelope/header distinction. 83957945SericconfLOG_LEVEL 9 OL Log level. 84057945SericconfME_TOO False Om Include sender in group 84157945Seric expansions. 84257945SericconfCHECK_ALIASES True On Check RHS of aliases when 84357945Seric running newaliases. 84463582SericconfOLD_STYLE_HEADERS True Oo * Assume that headers without 84557945Seric special chars are old style. 84658859SericconfDAEMON_OPTIONS (undefined) OO SMTP daemon options. 84758806SericconfPRIVACY_FLAGS authwarnings Op Privacy flags. 84857945SericconfCOPY_ERRORS_TO (undefined) OP Address for additional copies 84957945Seric of all error messages. 85057945SericconfQUEUE_FACTOR (undefined) Oq Slope of queue-only function 85158116SericconfREAD_TIMEOUT (undefined) Or SMTP read timeouts. 85263582SericconfSAFE_QUEUE True Os * Commit all messages to disk 85357945Seric before forking. 85458806SericconfMESSAGE_TIMEOUT 5d/4h OT Timeout for messages before 85558806Seric sending error/warning message. 85659317SericconfTIME_ZONE USE_SYSTEM Ot Time zone info -- can be 85757945Seric USE_SYSTEM to use the system's 85857945Seric idea, USE_TZ to use the user's 85957945Seric TZ envariable, or something 86057945Seric else to force that value. 86157945SericconfDEF_USER_ID 1 Ou Default user id. 86258718SericconfUSERDB_SPEC (undefined) OU User database specification. 86358859SericconfFALLBACK_MX (undefined) OV Fallback MX host. 86463857SericconfTRY_NULL_MX_LIST False Ow If we are the best MX for a 86563857Seric host and haven't made other 86663857Seric arrangements, try connecting 86763857Seric to the host directly; normally 86863857Seric this would be a config error. 86957945SericconfQUEUE_LA 8 Ox Load average at which queue-only 87057945Seric function kicks in. 87157945SericconfREFUSE_LA 12 OX Load average at which incoming 87257945Seric SMTP connections are refused. 87363582SericconfWORK_RECIPIENT_FACTOR 87463582Seric (undefined) Oy Cost of each recipient. 87563582SericconfSEPARATE_PROC False OY Run all deliveries in a 87657945Seric separate process. 87757945SericconfWORK_CLASS_FACTOR (undefined) Oz Priority multiplier for class. 87857945SericconfWORK_TIME_FACTOR (undefined) OZ Cost of each delivery attempt. 87958408SericconfCW_FILE /etc/sendmail.cw Name of file used to get the 88058408Seric Fw local additions to the $=w 88158408Seric class. 88264153SericconfSMTP_MAILER smtp - The mailer name used when 88363972Seric SMTP connectivity is required. 88463972Seric Either "smtp" or "esmtp". 88563999SericconfLOCAL_MAILER local - The mailer name used when 88663999Seric local connectivity is required. 88763999Seric Almost always "local". 88864028SericconfRELAY_MAILER relay - The default mailer name used 88964028Seric for relaying any mail (e.g., 89064028Seric to a BITNET_RELAY, a 89164028Seric SMART_HOST, or whatever). 89264028Seric This can reasonably be "suucp" 89364028Seric if you are on a UUCP-connected 89464028Seric site. 89564259SericconfDOMAIN_NAME (undefined) Dj If defined, sets $j. 89657945Seric 89758087Seric 89857246Seric+-----------+ 89957246Seric| HIERARCHY | 90057246Seric+-----------+ 90157246Seric 90251220SericWithin this directory are several subdirectories, to wit: 90351220Seric 90451220Sericm4 General support routines. These are typically 90551220Seric very important and should not be changed without 90657247Seric very careful consideration. 90751220Seric 90851220Sericcf The configuration files themselves. They have 90951220Seric ".mc" suffixes, and must be run through m4 to 91051220Seric become complete. The resulting output should 91151220Seric have a ".cf" suffix. 91251220Seric 91351220Sericostype Definitions describing a particular operating 91451220Seric system type. These should always be referenced 91551220Seric using the OSTYPE macro in the .mc file. Examples 91651220Seric include "bsd4.3", "bsd4.4", "sunos3.5", and 91751220Seric "sunos4.1". 91851220Seric 91951220Sericdomain Definitions describing a particular domain, referenced 92051220Seric using the DOMAIN macro in the .mc file. These are 92151220Seric site dependent; for example, we contribute "cs.exposed.m4" 92251220Seric and "cs.hidden.m4" which both describe hosts in the 92351220Seric CS.Berkeley.EDU subdomain; the former displays the local 92451220Seric hostname (e.g., mammoth.CS.Berkeley.EDU), whereas the 92551220Seric latter does its best to hide the identity of the local 92651220Seric workstation inside the CS subdomain. 92751220Seric 92851220Sericmailer Descriptions of mailers. These are referenced using 92951220Seric the MAILER macro in the .mc file. 93051220Seric 93151220Sericsh Shell files used when building the .cf file from the 93251220Seric .mc file in the cf subdirectory. 93351220Seric 93451220Sericfeature These hold special orthogonal features that you might 93551220Seric want to include. They should be referenced using 93651220Seric the FEATURE macro. 93751220Seric 93851220Serichack Local hacks. These can be referenced using the HACK 93951220Seric macro. They shouldn't be of more than voyeuristic 94051220Seric interest outside the .Berkeley.EDU domain, but who knows? 94151220Seric We've all got our own peccadilloes. 94251220Seric 94351268Sericsiteconfig Site configuration -- e.g., tables of locally connected 94451268Seric UUCP sites. 94551220Seric 94651268Seric 94757246Seric+------------------------+ 94857246Seric| ADMINISTRATIVE DETAILS | 94957246Seric+------------------------+ 95051220Seric 95151220SericThe following sections detail usage of certain internal parts of the 95251220Sericsendmail.cf file. Read them carefully if you are trying to modify 95351220Sericthe current model. If you find the above descriptions adequate, these 95451220Sericshould be {boring, confusing, tedious, ridiculous} (pick one or more). 95551220Seric 95651220SericRULESETS (* means built in to sendmail) 95751220Seric 95851220Seric 0 * Parsing 95951220Seric 1 * Sender rewriting 96051220Seric 2 * Recipient rewriting 96151220Seric 3 * Canonicalization 96251220Seric 4 * Post cleanup 96354839Seric 5 * Local address rewrite (after aliasing) 96460539Seric 1x mailer rules (sender qualification) 96560539Seric 2x mailer rules (recipient qualification) 96660539Seric 90 Mailertable host stripping 96760892Seric 96 Bottom half of Ruleset 3 (ruleset 6 in old sendmail) 96860892Seric 97 Hook for recursive ruleset 0 call (ruleset 7 in old sendmail) 96963857Seric 98 Local part of ruleset 0 (ruleset 8 in old sendmail) 97051220Seric 97151220Seric 97251220SericMAILERS 97351220Seric 97451220Seric 0 local, prog local and program mailers 97551220Seric 1 smtp SMTP channel 97658087Seric 2 uucp UNIX-to-UNIX Copy Program 97758087Seric 3 netnews Network News delivery 97858363Seric 4 fax Sam Leffler's FlexFAX software 97951220Seric 98051220Seric 98151220SericMACROS 98251220Seric 98351220Seric A 98451220Seric B Bitnet Relay 98551220Seric C CSNET Relay 98654839Seric D The local domain -- usually not needed 98751220Seric E 98858363Seric F FAX Relay 98951220Seric G 99057591Seric H mail Hub (for mail clusters) 99151220Seric I 99251220Seric J 99351220Seric K 99451220Seric L 99551220Seric M Masquerade (who I claim to be) 99651220Seric N 99751220Seric O 99851220Seric P 99951220Seric Q 100051220Seric R Relay (for unqualified names) 100158071Seric S Smart Host 100251220Seric T 100351309Seric U my UUCP name (if I have a UUCP connection) 100451309Seric V UUCP Relay (class V hosts) 100551220Seric W UUCP Relay (class W hosts) 100651220Seric X UUCP Relay (class X hosts) 100751309Seric Y UUCP Relay (all other hosts) 100851220Seric Z Version number 100951220Seric 101051220Seric 101151220SericCLASSES 101251220Seric 101351220Seric A 101451220Seric B 101551220Seric C 101651220Seric D 101757246Seric E addresses that should not seem to come from $M 101854839Seric F hosts we forward for 101951220Seric G 102051220Seric H 102151220Seric I 102251220Seric J 102351220Seric K 102451220Seric L addresses that should not be forwarded to $R 102551220Seric M 102651220Seric N 102751220Seric O operators that indicate network operations (cannot be in local names) 102860211Seric P top level pseudo-domains: BITNET, FAX, UUCP, etc. 102951220Seric Q 103051220Seric R 103151220Seric S 103251220Seric T 103351220Seric U locally connected UUCP hosts 103451309Seric V UUCP hosts connected to relay $V 103551309Seric W UUCP hosts connected to relay $W 103651309Seric X UUCP hosts connected to relay $X 103751309Seric Y locally connected smart UUCP hosts 103864153Seric Z locally connected domain-ized UUCP hosts 103954839Seric . the class containing only a dot 104051220Seric 104151220Seric 104251220SericM4 DIVERSIONS 104351220Seric 104458071Seric 1 Local host detection and resolution 104558071Seric 2 Local Ruleset 3 additions 104658071Seric 3 Local Ruleset 0 additions 104751268Seric 4 UUCP Ruleset 0 additions 104851309Seric 5 locally interpreted names (overrides $R) 104954839Seric 6 local configuration (at top of file) 105051220Seric 7 mailer definitions 105154839Seric 8 special local name recognition (late in ruleset 3) 105258681Seric 9 special local rulesets (1 and 2) 1053