151220Seric 251220Seric 357246Seric NEW SENDMAIL CONFIGURATION FILES 451220Seric 557246Seric Eric Allman <eric@CS.Berkeley.EDU> 651220Seric 7*64394Seric @(#)README 8.13 (Berkeley) 09/03/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 4064371Seric"m4 foo.mc > foo.cf" -- that should be all you need. There is also 4164371Serica fairly crude (but functional) Makefile.dist that works on the 4264371Sericold version of make. 4358284Seric 4458284SericTo get started, you may want to look at tcpproto.mc (for TCP-only 4564324Sericsites), uucpproto.mc (for UUCP-only sites), and clientproto.mc (for 4664324Sericclusters of clients using a single mail host). Others are versions 4758284Sericthat we use at Berkeley, although not all are in current use. For 4858284Sericexample, ucbarpa has gone away, but I've left ucbarpa.mc in because 4958284Sericit demonstrates some interesting techniques. 5058284Seric 5157246SericI'm not pretending that this README describes everything that these 5257246Sericconfiguration files can do; clever people can probably tweak them 5357246Sericto great effect. But it should get you started. 5457246Seric 5558087Seric 5657246Seric+--------------------------+ 5757246Seric| INTRODUCTION AND EXAMPLE | 5857246Seric+--------------------------+ 5957246Seric 6057246SericConfiguration files are contained in the subdirectory "cf", with a 6157246Sericsuffix ".mc". They must be run through "m4" to produce a ".cf" file. 6257246Seric 6351220SericLet's examine a typical .mc file (cf/cs-exposed.mc): 6451220Seric 6551220Seric divert(-1) 6651220Seric # 6751220Seric # Copyright (c) 1983 Eric P. Allman 6851220Seric # Copyright (c) 1988 The Regents of the University of California. 6951220Seric # All rights reserved. 7051220Seric # 7151220Seric # Redistribution and use in source and binary forms are permitted 7251220Seric # provided that the above copyright notice and this paragraph are 7351220Seric # duplicated in all such forms and that any documentation, 7451220Seric # advertising materials, and other materials related to such 7551220Seric # distribution and use acknowledge that the software was developed 7651220Seric # by the University of California, Berkeley. The name of the 7751220Seric # University may not be used to endorse or promote products derived 7851220Seric # from this software without specific prior written permission. 7951220Seric # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 8051220Seric # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 8151220Seric # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 8251220Seric # 8351220Seric 8457246SericThe divert(-1) will delete the crud in the resulting output file. 8557247SericThe copyright notice is what your lawyers require. Our lawyers require 8657246Sericthe one that I've included in my files. A copyleft is a copyright by 8757246Sericanother name. 8851220Seric 8957246SericThe next line MUST be 9057246Seric 9151220Seric include(`../m4/cf.m4') 9251220Seric 9357246SericThis will pull in the M4 macros you will need to make sense of 9457246Sericeverything else. As the saying goes, don't think about it, just 9557246Sericdo it. If you don't do it, don't bother reading the rest of this 9657246Sericfile. 9751220Seric 9856778Seric VERSIONID(`<SCCS or RCS version id>') 9951220Seric 10051220SericVERSIONID is a macro that stuffs the version information into the 10151220Sericresulting file. We use SCCS; you could use RCS, something else, or 10257246Sericomit it completely. This is not the same as the version id included 10357246Sericin SMTP greeting messages -- this is defined in m4/version.m4. 10451220Seric 10551268Seric DOMAIN(cs.exposed) 10651220Seric 10751220SericThis example exposes the host inside of the CS subdomain -- that is, 10851220Sericit doesn't try to hide the name of the workstation to the outside 10951220Sericworld. Changing this to DOMAIN(cs.hidden) would have made outgoing 11051220Sericmessages refer to "<username>@CS.Berkeley.EDU" instead of using the 11163857Sericlocal hostname. Internally this is effected by using 11257246Seric"MASQUERADE_AS(CS.Berkeley.EDU)". 11351220Seric 11451268Seric MAILER(smtp) 11551220Seric 11651309SericThese describe the mailers used at the default CS site site. The 11751309Sericlocal mailer is always included automatically. 11851220Seric 11958087Seric 12057246Seric+--------+ 12157246Seric| OSTYPE | 12257246Seric+--------+ 12357246Seric 12451220SericNote that cf/cs-exposed.mc omits an OSTYPE macro -- this assumes 12551220Sericdefault Computer Science Division environment. There are several 12657247Sericexplicit environments available: bsd4.3, bsd4.4, hpux, irix, osf1, 12757247Sericriscos4.5, sunos3.5, sunos4.1, and ultrix4.1. These change things 12857247Sericlike the location of the alias file and queue directory. Some of 12957247Sericthese files are identical to one another. 13051220Seric 13157246SericOperating system definitions are easy to write. They may define 13257246Sericthe following variables (everything defaults, so an ostype file 13357246Sericmay be empty). 13451220Seric 13557246SericALIAS_FILE [/etc/aliases] The location of the text version 13659761Seric of the alias file(s). It can be a comma-separated 13759761Seric list of names. 13857246SericHELP_FILE [/usr/lib/sendmail.hf] The name of the file 13957246Seric containing information printed in response to 14057246Seric the SMTP HELP command. 14157246SericQUEUE_DIR [/var/spool/mqueue] The directory containing 14257246Seric queue files. 14357246SericSTATUS_FILE [/etc/sendmail.st] The file containing status 14457246Seric information. 14558087SericLOCAL_MAILER_PATH [/bin/mail] The program used to deliver local mail. 14664153SericLOCAL_MAILER_FLAGS [rmn] The flags used by the local mailer. The 14764153Seric flags lsDFM are always included. 14863761SericLOCAL_MAILER_ARGS [mail -d $u] The arguments passed to deliver local 14963761Seric mail. 15058087SericLOCAL_SHELL_PATH [/bin/sh] The shell used to deliver piped email. 15163791SericLOCAL_SHELL_FLAGS [eu] The flags used by the shell mailer. The 15263791Seric flags lsDFM are always included. 15363791SericLOCAL_SHELL_ARGS [sh -c $u] The arguments passed to deliver "prog" 15463791Seric mail. 15558087SericUSENET_MAILER_PATH [/usr/lib/news/inews] The name of the program 15658087Seric used to submit news. 15758087SericUSENET_MAILER_FLAGS [rlsDFMmn] The mailer flags for the usenet mailer. 15858087SericUSENET_MAILER_ARGS [-m -h -n] The command line arguments for the 15958087Seric usenet mailer. 16063857SericSMTP_MAILER_FLAGS [undefined] Flags added to SMTP mailer. Default 16163857Seric flags are `mDFMUX' (and `a' for esmtp mailer). 16263857SericUUCP_MAILER_FLAGS [undefined] Flags added to UUCP mailer. Default 16363857Seric flags are `DFMhuU' (and `m' for suucp mailer, minus 16463857Seric `U' for uucp-dom mailer). 16563761SericUUCP_MAILER_ARGS [uux - -r -z -a$f -gC $h!rmail ($u)] The arguments 16663761Seric passed to the UUCP mailer. 16763791SericUUCP_MAX_SIZE [100000] The maximum size message accepted for 16863791Seric transmission by the UUCP mailers. 16957246SericHOSTMAP_SPEC [dbm -o /etc/hostmap] The value for the builtin 17057246Seric hostmap key definition. You can redefine this 17157246Seric to change the class, flags, and filename of 17257246Seric the hostmap. The default flag (-o) makes this 17357246Seric map optional. 17457246Seric 17557246Seric+---------+ 17657246Seric| DOMAINS | 17757246Seric+---------+ 17857246Seric 17957246SericYou will probably want to collect domain-dependent defines into one 18057246Sericfile, referenced by the DOMAIN macro. For example, our Berkeley 18157246Sericdomain file includes definitions for several internal distinguished 18257246Serichosts: 18357246Seric 18457246SericUUCP_RELAY The host that will forward UUCP-addressed email. 18557246Seric If not defined, all UUCP sites must be directly 18664028Seric connected. 18757246SericBITNET_RELAY The host that will forward BITNET-addressed email. 18857246Seric If not defined, the .BITNET pseudo-domain won't work. 18957246SericCSNET_RELAY The host that will forward CSNET-addressed email. 19057246Seric If not defined, the .CSNET pseudo-domain won't work. 19157246SericLOCAL_RELAY The site that will handle unqualified names -- that 19257246Seric is, names with out an @domain extension. If not set, 19357246Seric they are assumed to belong on this machine. This 19457246Seric allows you to have a central site to store a 19557246Seric company- or department-wide alias database. This 19657246Seric only works at small sites, and there are better 19764028Seric methods. 19857246Seric 19964028SericEach of these can be either ``mailer:hostname'' (in which case the 20064028Sericmailer is the internal mailer name, such as ``suucp'' and the hostname 20164028Sericis the name of the host as appropriate for that mailer) or just a 20264028Seric``hostname'', in which case a default mailer type (usually ``relay'', 20364153Serica variant on SMTP) is used. WARNING: if you have a wildcard MX 20464153Sericrecord matching your domain, you probably want to define these to 20564153Serichave a trailing dot so that you won't get the mail diverted back 20664153Sericto yourself. 20764028Seric 20857246SericThe domain file can also be used to define a domain name, if needed 20957982Seric(using "DD<domain>") and set certain site-wide features. If all hosts 21057982Sericat your site masquerade behind one email name, you could also use 21157982SericMASQUERADE_AS here. 21257246Seric 21358408SericYou do not have to define a domain -- in particular, if you are a 21458408Sericsingle machine sitting off somewhere, it is probably more work than 21558408Sericit's worth. This is just a mechanism for combining "domain dependent 21658408Sericknowledge" into one place. 21758408Seric 21857246Seric+---------+ 21957246Seric| MAILERS | 22057246Seric+---------+ 22157246Seric 22251220SericThere are fewer mailers supported in this version than the previous 22351220Sericversion, owing mostly to a simpler world. 22451220Seric 22551220Sericlocal The local and prog mailers. You will almost always 22651220Seric need these; the only exception is if you relay ALL 22757247Seric your mail to another site. This mailer is included 22857247Seric automatically. 22951220Seric 23051220Sericsmtp The Simple Mail Transport Protocol mailer. This does 23151220Seric not hide hosts behind a gateway or another other 23251220Seric such hack; it assumes a world where everyone is 23363761Seric running the name server. This file actually defines 23463761Seric three mailers: "smtp" for regular (old-style) SMTP to 23563761Seric other servers, "esmtp" for extended SMTP to other 23663761Seric servers, and "relay" for transmission to our 23763761Seric RELAY_HOST or MAILER_HUB. 23851220Seric 23951220Sericuucp The Unix-to-Unix Copy Program mailer. Actually, this 24051220Seric defines two mailers, "uucp" and "suucp". The latter 24151220Seric is for when you know that the UUCP mailer at the other 24251220Seric end can handle multiple recipients in one transfer. 24357246Seric When you invoke this, sendmail looks for all names in 24457246Seric the $=U class and sends them to the uucp mailer; all 24557246Seric names in the $=Y class are sent to suucp. Note that 24657246Seric this is a function of what version of rmail runs on 24757246Seric the receiving end, and hence may be out of your control. 24863857Seric If smtp is defined, it also defines a "uucp-dom" mailer 24963857Seric that uses domain-style rewriting. 25051220Seric 25158087Sericusenet Usenet (network news) delivery. If this is specified, 25258087Seric an extra rule is added to ruleset 0 that forwards all 25358087Seric local email for users named ``group.usenet'' to the 25458087Seric ``inews'' program. Note that this works for all groups, 25558087Seric and may be considered a security problem. 25658087Seric 25758363Sericfax Facsimile transmission. This is experimental and based 25858363Seric on Sam Leffler's FlexFAX software. For more information, 25958363Seric see below. 26058087Seric 26158363Seric 26257246Seric+----------+ 26357246Seric| FEATURES | 26457246Seric+----------+ 26551268Seric 26657246SericSpecial features can be requested using the "FEATURE" macro. For 26757246Sericexample, the .mc line: 26857246Seric 26957246Seric FEATURE(use_cw_file) 27057246Seric 27157246Serictells sendmail that you want to have it read an /etc/sendmail.cw 27258782Sericfile to get values for class $=w. The FEATURE may contain a single 27358782Sericoptional parameter -- for example: 27457246Seric 27558782Seric FEATURE(mailertable, dbm /usr/lib/mailertable) 27658782Seric 27758782SericAvailable features are: 27858782Seric 27957246Sericuse_cw_file Read the file /etc/sendmail.cw file to get alternate 28057246Seric names for this host. This might be used if you were 28157246Seric on a host that MXed for a dynamic set of other 28257246Seric hosts. If the set is static, just including the line 28357246Seric "Cw<name1> <name2> ..." is probably superior. 28458408Seric The actual filename can be overridden by redefining 28558408Seric confCW_FILE. 28664324Seric 28758087Sericredirect Reject all mail addressed to "address.REDIRECT" with 28858087Seric a ``551 User not local; please try <address>'' message. 28958087Seric If this is set, you can alias people who have left 29058087Seric to their new address with ".REDIRECT" appended. 29164324Seric 29258284Sericnouucp Don't do anything special with UUCP addresses at all. 29364324Seric 29459080Sericnocanonify Don't pass addresses to $[ ... $] for canonification. 29559080Seric This would generally only be used by sites that only 29659080Seric act as mail gateways or which have user agents that do 29764028Seric full canonification themselves. You may also want to 29864028Seric use "define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')" to 29964028Seric turn off the usual resolver options that do a similar 30064028Seric thing. 30164324Seric 30258526Sericnotsticky By default, email sent to "user@local.host" are marked 30358526Seric as "sticky" -- that is, the local addresses aren't 30458526Seric matched against UDB and don't go through ruleset 5. 30558526Seric This features disables this treatment. It would 30658526Seric normally be used on network gateway machines. 30764324Seric 30858782Sericmailertable Include a "mailer table" which can be used to override 30958782Seric routing for particular domains. The argument of the 31058782Seric FEATURE may be the key definition. If none is specified, 31158782Seric the definition used is: 31264164Seric hash -o /etc/mailertable 31363761Seric Keys in this database are fully qualified domain names 31463761Seric or partial domains preceded by a dot -- for example, 31563761Seric "vangogh.CS.Berkeley.EDU" or ".CS.Berkeley.EDU". 31663761Seric Values must be of the form: 31758782Seric mailer:domain 31863761Seric where "mailer" is the internal mailer name, and "domain" 31963761Seric is where to send the message. These maps are not 32063761Seric reflected into the message header. 32164324Seric 32263761Sericdomaintable Include a "domain table" which can be used to provide 32363761Seric full domains on unqualified (single word) hosts. The 32463761Seric argument of the FEATURE may be the key definition. If 32563761Seric none is specified, the definition used is: 32664164Seric hash -o /etc/domaintable 32763761Seric The key in this table is the unqualified host name; the 32863761Seric value is the fully qualified domain. Anything in the 32963761Seric domaintable is reflected into headers; that is, this 33063761Seric is done in ruleset 3. 33164324Seric 33259034Sericbitdomain Look up bitnet hosts in a table to try to turn them into 33359034Seric internet addresses. The table can be built using the 33464153Seric bitdomain program contributed by John Gardiner Myers. 33559034Seric The argument of the FEATURE may be the key definition; if 33659034Seric none is specified, the definition used is: 33764164Seric hash -o /etc/bitdomain.db 33859034Seric Keys are the bitnet hostname; values are the corresponding 33959034Seric internet hostname. 34064324Seric 34159037Sericuucpdomain Similar feature for UUCP hosts. The default map definition 34259037Seric is: 34364164Seric hash -o /etc/uudomain.db 34459037Seric At the moment there is no automagic tool to build this 34559037Seric database. 34664324Seric 34760263Sericalways_add_domain 34860263Seric Include the local host domain even on locally delivered 34960263Seric mail. Normally it is not added unless it is already 35060263Seric present. 35164324Seric 35263761Sericallmasquerade If masquerading is enabled (using MASQUERADE_AS), this 35363761Seric feature will cause recipient addresses to also masquerade 35463761Seric as being from the masquerade host. Normally they get 35563761Seric the local hostname. Although this may be right for 35663761Seric ordinary users, it can break local aliases. For example, 35763761Seric if you send to "localalias", the originating sendmail will 35863761Seric find that alias and send to all members, but send the 35963761Seric message with "To: localalias@masqueradehost". Since that 36063761Seric alias likely does not exist, replies will fail. Use this 36163761Seric feature ONLY if you can guarantee that the ENTIRE 36263761Seric namespace on your masquerade host supersets all the 36363761Seric local entries. 36464324Seric 36564153Sericnodns We aren't running DNS at our site (for example, 36664153Seric we are UUCP-only connected). It's hard to consider 36764153Seric this a "feature", but hey, it had to go somewhere. 36857246Seric 36964324Sericnullclient This is a special case -- it creates a stripped down 37064324Seric configuration file containing nothing but support for 371*64394Seric forwarding all mail to a central hub via a local 372*64394Seric SMTP-based network. The argument is the name of that 373*64394Seric hub. 374*64394Seric 375*64394Seric The only other feature that should be used in conjunction 376*64394Seric with this one is "nocanonify" (this causes addresses to 377*64394Seric be sent unqualified via the SMTP connection; normally 378*64394Seric they are qualifed with the masquerade name, which 379*64394Seric defaults to the name of the hub machine). No mailers 380*64394Seric should be defined. No aliasing or forwarding is done. 38157246Seric 38264324Seric 38357246Seric+-------+ 38457246Seric| HACKS | 38557246Seric+-------+ 38657246Seric 38757246SericSome things just can't be called features. To make this clear, 38857247Sericthey go in the hack subdirectory and are referenced using the HACK 38957246Sericmacro. These will tend to be site-dependent. The release 39057246Sericincludes the Berkeley-dependent "cssubdomain" hack (that makes 39157246Sericsendmail accept local names in either Berkeley.EDU or CS.Berkeley.EDU; 39257246Sericthis is intended as a short-term aid while we move hosts into 39357246Sericsubdomains. 39457246Seric 39558087Seric 39657246Seric+--------------------+ 39757246Seric| SITE CONFIGURATION | 39857246Seric+--------------------+ 39957246Seric 40057246SericComplex sites will need more local configuration information, such as 40157246Sericlists of UUCP hosts they speak with directly. This can get a bit more 40257246Serictricky. For an example of a "complex" site, see cf/ucbvax.mc. 40357246Seric 40457246SericThe SITECONFIG macro allows you to indirectly reference site-dependent 40557246Sericconfiguration information stored in the siteconfig subdirectory. For 40657246Sericexample, the line 40757246Seric 40857246Seric SITECONFIG(uucp.ucbvax, ucbvax, U) 40957246Seric 41057246Sericreads the file uucp.ucbvax for local connection information. The 41157246Sericsecond parameter is the local name (in this case just "ucbvax" since 41257246Sericit is locally connected, and hence a UUCP hostname) and the name of 41357246Sericthe class in which to store the host information. Another SITECONFIG 41457246Sericline reads 41557246Seric 41657246Seric SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) 41757246Seric 41857246SericThis says that the file uucp.ucbarpa contains the list of UUCP sites 41957246Sericconnected to ucbarpa.Berkeley.EDU. The $=W class will be used to 42057246Sericstore this list. [The machine ucbarpa is gone now, but I've left 42157246Sericthis out-of-date configuration file around to demonstrate how you 42257246Sericmight do this.] 42357246Seric 42457246SericThe siteconfig file (e.g., siteconfig/uucp.ucbvax.m4) contains nothing 42557246Sericmore than a sequence of SITE macros describing connectivity. For 42657246Sericexample: 42757246Seric 42857246Seric SITE(cnmat) 42957246Seric SITE(sgi olympus) 43057246Seric 43157246SericThe second example demonstrates that you can use two names on the 43257246Sericsame line; these are usually aliases for the same host (or are at 43357246Sericleast in the same company). 43457246Seric 43558087Seric 43657246Seric+-------------------+ 43757246Seric| TWEAKING RULESETS | 43857246Seric+-------------------+ 43957246Seric 44051268SericFor more complex configurations, you can define special rules. 44151268SericThe macro LOCAL_RULE_3 introduces rules that are used in canonicalizing 44251268Sericthe names. Any modifications made here are reflected in the header. 44351268Seric 44451268SericA common use is to convert old UUCP addreses to SMTP addresses using 44551268Sericthe UUCPSMTP macro. For example: 44651268Seric 44751268Seric LOCAL_RULE_3 44851268Seric UUCPSMTP(decvax, decvax.dec.com) 44951268Seric UUCPSMTP(research, research.att.com) 45051268Seric 45151268Sericwill cause addresses of the form "decvax!user" and "research!user" 45251268Sericto be converted to "user@decvax.dec.com" and "user@research.att.com" 45351268Sericrespectively. 45451268Seric 45557246SericThis could also be used to look hosts in a database map: 45657246Seric 45757246Seric LOCAL_RULE_3 45857246Seric R$* < @ $+ > $* $: $1 < @ $(hostmap $2 $) > $3 45957246Seric 46057246SericThis map would be defined in the LOCAL_CONFIG portion, as shown below. 46157246Seric 46251268SericSimilarly, LOCAL_RULE_0 can be used to introduce new parsing rules. 46351268SericFor example, new rules are needed to parse hostnames that you accept 46451309Sericvia MX records. For example, you might have: 46551268Seric 46651309Seric LOCAL_RULE_0 46751309Seric R$+ < @ cnmat.Berkeley.EDU > $#uucp $@ cnmat $: $1 46851309Seric 46951309SericYou would use this if you had installed an MX record for cnmat.Berkeley.EDU 47051309Sericpointing at this host; this rule catches the message and forwards it on 47151309Sericusing UUCP. 47251309Seric 47358681SericYou can also tweak rulesets 1 and 2 using LOCAL_RULE_1 and LOCAL_RULE_2. 47458681SericThese rulesets are normally empty. 47558681Seric 47657246SericA similar macro is LOCAL_CONFIG. This introduces lines added after the 47757246Sericboilerplate option setting but before rulesets, and can be used to 47857945Sericdeclare local database maps or whatever. For example: 47951268Seric 48057246Seric LOCAL_CONFIG 48157246Seric Khostmap hash /etc/hostmap.db 48257246Seric Kyplocal nis -m hosts.byname 48351220Seric 48458087Seric 48557246Seric+---------------------------+ 48657246Seric| MASQUERADING AND RELAYING | 48757246Seric+---------------------------+ 48857246Seric 48957246SericYou can have your host masquerade as another using 49057246Seric 49157246Seric MASQUERADE_AS(host.domain) 49257246Seric 49357246SericThis causes outgoing SMTP mail to be labelled as coming from the 49457246Sericindicated domain, rather than $j. One normally masquerades as one 49557246Sericof your own subdomains (for example, it's unlikely that I would 49657246Sericchoose to masquerade as an MIT site). 49757246Seric 49864153SericThe masquerade name is not normally canonified, so it is important 49964153Sericthat it be your One True Name, that is, fully qualified and not a 50064153SericCNAME. 50164153Seric 50257246Sericthere are always users that need to be "exposed" -- that is, their 50357246Sericinternal site name should be displayed instead of the masquerade name. 50457246SericRoot is an example. You can add users to this list using 50557246Seric 50657246Seric EXPOSED_USER(usernames) 50757246Seric 50857246SericThis adds users to class E; you could also use something like 50957246Seric 51057246Seric FE/etc/sendmail.cE 51157246Seric 51257246SericYou can also arrange to relay all unqualified names (that is, names 51357246Sericwithout @host) to a relay host. For example, if you have a central 51457246Sericemail server, you might relay to that host so that users don't have 51557246Sericto have .forward files or aliases. You can do this using 51657246Seric 51758071Seric define(`LOCAL_RELAY', mailer:hostname) 51857246Seric 51958071SericThe ``mailer:'' can be omitted, in which case the mailer defaults to 52058071Seric"smtp". There are some user names that you don't want relayed, perhaps 52158071Sericbecause of local aliases. A common example is root, which may be 52258071Sericlocally aliased. You can add entries to this list using 52357246Seric 52457246Seric LOCAL_USER(usernames) 52557246Seric 52657246SericThis adds users to class L; you could also use something like 52757246Seric 52857246Seric FL/etc/sendmail.cL 52957246Seric 53064153SericIf you want all incoming mail sent to a centralized hub, as for a 53164153Sericshared /var/spool/mail scheme, use 53257591Seric 53358071Seric define(`MAIL_HUB', mailer:hostname) 53457591Seric 53558071SericAgain, ``mailer:'' defaults to "smtp". If you define both LOCAL_RELAY 53658071Sericand MAIL_HUB, unqualified names and names in class L will be sent to 53758071Sericthe LOCAL_RELAY and other local names will be sent to MAIL_HUB. For 53858071Sericexample, if are on machine mastodon.CS.Berkeley.EDU, the following 53958071Sericcombinations of settings will have the indicated effects: 54057591Seric 54157591Sericemail sent to.... eric eric@mastodon.CS.Berkeley.EDU 54257591Seric 54357591SericLOCAL_RELAY set to mail.CS.Berkeley.EDU (delivered locally) 54457591Sericmail.CS.Berkeley.EDU 54557591Seric 54657591SericMAIL_HUB set to mammoth.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 54757591Sericmammoth.CS.Berkeley.EDU 54857591Seric 54957591SericBoth LOCAL_RELAY and mail.CS.Berkeley.EDU mammoth.CS.Berkeley.EDU 55057591SericMAIL_HUB set as above 55157591Seric 55264153SericIf you want all outgoing mail to go to a central relay site, define 55364153SericSMART_HOST as well. Briefly: 55458071Seric 55564153Seric LOCAL_RELAY applies to unqualifed names (e.g., "eric"). 55664153Seric MAIL_HUB applies to names qualified with the name of the 55764153Seric local host (e.g., "eric@mastodon.CS.Berkeley.EDU"). 55864153Seric SMART_HOST applies to names qualified with other hosts. 55964153Seric 56064153SericHowever, beware that other relays (e.g., UUCP_RELAY, BITNET_RELAY, and 56164153SericFAX_RELAY) take precedence over SMART_HOST, so if you really want 56264153Sericabsolutely everything to go to a single central site you will need to 56364153Sericunset all the other relays -- or better yet, find or build a minimal 56464153Sericconfig file that does this. 56564153Seric 56664153Seric 56758071Seric+-------------------------------+ 56858071Seric| NON-SMTP BASED CONFIGURATIONS | 56958071Seric+-------------------------------+ 57058071Seric 57158071SericThese configuration files are designed primarily for use by SMTP-based 57258071Sericsites. I don't pretend that they are well tuned for UUCP-only or 57358071SericUUCP-primarily nodes (the latter is defined as a small local net 57458071Sericconnected to the rest of the world via UUCP). However, there is one 57558071Serichook to handle some special cases. 57658071Seric 57758071SericYou can define a ``smart host'' that understands a richer address syntax 57858071Sericusing: 57958071Seric 58058071Seric define(`SMART_HOST', mailer:hostname) 58158071Seric 58264028SericIn this case, the ``mailer:'' defaults to "relay". Any messages that 58358071Sericcan't be handled using the usual UUCP rules are passed to this host. 58458071Seric 58558071SericIf you are on a local SMTP-based net that connects to the outside 58658071Sericworld via UUCP, you can use LOCAL_NET_CONFIG to add appropriate rules. 58758071SericFor example: 58858071Seric 58958071Seric define(`SMART_HOST', suucp:uunet) 59058071Seric LOCAL_NET_CONFIG 59163761Seric R$* < @ $* .$m. > $* $#smtp $@ $2.$m. $: $1 < @ $2.$m. > $3 59258071Seric 59358071SericThis will cause all names that end in your domain name ($m) via 59458071SericSMTP; anything else will be sent via suucp (smart UUCP) to uunet. 59563761SericIf you have FEATURE(nocanonify), you may need to omit the dots after 59663761Sericthe $m. If you are running a local DNS inside your domain which is 59763761Sericnot otherwise connected to the outside world, you probably want to 59863761Sericuse: 59958071Seric 60063761Seric define(`SMART_HOST', smtp:fire.wall.com) 60163761Seric LOCAL_NET_CONFIG 60263761Seric R$* < @ $* . > $* $#smtp $@ $2. $: $1 < @ $2. > $3 60358071Seric 60463761SericThat is, send directly only to things you found in your DNS lookup; 60563761Sericanything else goes through SMART_HOST. 60663761Seric 60764153SericIf you are not running DNS at all, it is important to use 60864153SericFEATURE(nodns) to avoid having sendmail queue everything waiting 60964153Sericfor the name server to come up. 61063761Seric 61164153Seric 61264259Seric+-----------+ 61364259Seric| WHO AM I? | 61464259Seric+-----------+ 61564259Seric 61664259SericNormally, the $j macro is automatically defined to be your fully 61764259Sericqualified domain name (FQDN). Sendmail does this by getting your 61864259Serichost name using gethostname and then calling gethostbyname on the 61964259Sericresult. For example, in some environments gethostname returns 62064259Sericonly the root of the host name (such as "foo"); gethostbyname is 62164259Sericsupposed to return the FQDN ("foo.bar.com"). In some (fairly rare) 62264259Sericcases, gethostbyname may fail to return the FQDN. In this case 62364259Sericyou MUST define confDOMAIN_NAME to be your fully qualified domain 62464259Sericname. This is usually done using: 62564259Seric 62664259Seric Dmbar.com 62764259Seric define(`confDOMAIN_NAME', `$w.$m')dnl 62864259Seric 62964259Seric 63064028Seric+--------------------+ 63164028Seric| USING MAILERTABLES | 63264028Seric+--------------------+ 63364028Seric 63464028SericTo use FEATURE(mailertable), you will have to create an external 63564028Sericdatabase containing the routing information for various domains. 63664028SericFor example, a mailertable file in text format might be: 63764028Seric 63864028Seric .my.domain xnet:%1.my.domain 63964028Seric uuhost1.my.domain suucp:uuhost1 64064028Seric .bitnet smtp:relay.bit.net 64164028Seric 64264028SericThis should normally be stored in /etc/mailertable. The actual 64364028Sericdatabase version of the mailertable is built using: 64464028Seric 64564028Seric makemap hash /etc/mailertable.db < /etc/mailertable 64664028Seric 64764028SericThe semantics are simple. Any LHS entry that does not begin with 64864028Serica dot matches the full host name indicated. LHS entries beginning 64964028Sericwith a dot match anything ending with that domain name -- that is, 65064028Sericthey can be thought of as having a leading "*" wildcard. Matching 65164028Sericis done in order of most-to-least qualified -- for example, even 65264028Sericthough ".my.domain" is listed first in the above example, an entry 65364028Sericof "uuhost1.my.domain" will match the second entry since it is 65464028Sericmore explicit. 65564028Seric 65664028SericThe RHS should always be a "mailer:host" pair. The mailer is the 65764028Sericconfiguration name of a mailer (that is, an `M' line in the 65864028Sericsendmail.cf file). The "host" will be the hostname passed to 65964028Sericthat mailer. In domain-based matches (that is, those with leading 66064028Sericdots) the "%1" may be used to interpolate the wildcarded part of 66164028Sericthe host name. For example, the first line above sends everything 66264028Sericaddressed to "anything.my.domain" to that same host name, but using 66364028Sericthe (presumably experimental) xnet mailer. 66464028Seric 66564028Seric 66664153Seric+--------------------------------+ 66764153Seric| USING USERDB TO MAP FULL NAMES | 66864153Seric+--------------------------------+ 66964153Seric 67064153SericThe user database was not originally intended for mapping full names 67164153Sericto login names (e.g., Eric.Allman => eric), but some people are using 67264153Sericit that way. (I would recommend that you set up aliases for this 67364153Sericpurpose instead -- since you can specify multiple alias files, this 67464153Sericis fairly easy.) The intent was to locate the default maildrop at 67564153Serica site, but allow you to override this by sending to a specific host. 67664153Seric 67764153SericIf you decide to set up the user database in this fashion, it is 67864153Sericimperative that you also specify FEATURE(notsticky) -- otherwise, 67964153Serice-mail sent to Full.Name@local.host.name will be rejected. 68064153Seric 68164259SericTo build the internal form of the user databae, use: 68264153Seric 68364259Seric makemap btree /usr/data/base.db < /usr/data/base.txt 68464259Seric 68564259Seric 68658363Seric+------------------+ 68758363Seric| FlexFAX SOFTWARE | 68858363Seric+------------------+ 68958363Seric 69058363SericSam Leffler's FlexFAX software is still in beta test -- but he expects a 69158363Sericpublic version out "later this week" [as of 3/1/93]. The following 69258363Sericblurb is direct from Sam: 69358363Seric 69458363Seric $Header: /usr/people/sam/fax/RCS/HOWTO,v 1.7 93/02/08 09:00:55 sam Exp $ 69558363Seric 69658363Seric How To Obtain This Software (in case all you get is this file) 69758363Seric 69858363Seric The source code is available for public ftp on 69958363Seric sgi.com sgi/fax/v2.1beta.tar.Z 70058363Seric (192.48.153.1) 70158363Seric 70258363Seric You can also obtain inst'able images for Silicon Graphics machines from 70358363Seric sgi.com sgi/fax/v2.1beta.inst.tar 70458363Seric (192.48.153.1) 70558363Seric 70658363Seric For example, 70758363Seric % ftp -n sgi.com 70858363Seric .... 70958363Seric ftp> user anonymous 71058363Seric ... <type in password> 71158363Seric ftp> cd sgi/fax 71258363Seric ftp> binary 71358363Seric ftp> get v2.1beta.tar.Z 71458363Seric 71558363Seric If you cannot use FTP at all, there is a service called "ftpmail" 71658363Seric available from gateekeeper.dec.com: you can send e-mail to this 71758363Seric machine and it will use FTP to retrieve files for you and send you the 71858363Seric files back again via e-mail. To find out more about the ftpmail 71958363Seric service, send a message to "ftpmail@gatekeeper.dec.com" whose body 72058363Seric consists of the single line "help". 72158363Seric 72258363Seric Internal to Silicon Graphics there are inst'able images on the host 72358363Seric flake.asd in the directory /d/dist. Thus you can do something like: 72458363Seric 72558363Seric % inst -f flake.asd.sgi.com:/d/dist/flexfax 72658363Seric 72758363Seric to install the software on your machine. 72858363Seric 72958363Seric The external distributions come in a compressed or uncompressed tar 73058363Seric file. To extract the source distribution: 73158363Seric 73258363Seric % zcat v2.1beta.tar.Z | tar xf - 73358363Seric 73458363Seric (uncompress and extract individual files in current directory). To 73558363Seric unpack and install the client portion of the inst'able distribution: 73658363Seric 73758363Seric % mkdir dist 73858363Seric % cd dist; tar xf ../v2.1beta.inst.tar; cd .. 73958363Seric % inst -f dist/flexfax 74058363Seric ... 74158363Seric inst> go 74258363Seric 74358363Seric (Note, the dist subdirectory is because some versions of inst fail if 74458363Seric the files are in the current directory.) Server binaries is also 74558363Seric included in the inst'able images as flexfax.server.*. It is not 74658363Seric installed by default, so to get it also you need to extract the do: 74758363Seric 74858363Seric % inst -f flexfax 74958363Seric ... 75058363Seric inst> install flexfax.server.* 75158363Seric inst> go 75258363Seric 75358363Seric The SGI binaries were built for Version 4.0.5 of the IRIX operating 75458363Seric system. They should work w/o problem on earlier versions of the 75558363Seric system, but I have not fully tested this. Also, note that to install a 75658363Seric server on an SGI machine, you need to have installed the Display 75758363Seric PostScript execution environment product (dps_eoe). Otherwise, the fax 75858363Seric server will not be able to convert PostScript to facsimile for 75958363Seric transmission. 76058363Seric 76158363Seric If you are working from the source distribution, look at the file README 76258363Seric in the top of the source tree. If you are working from the inst images, 76358363Seric you need to run faxaddmodem to setup and configure your fax modem. Do 76458363Seric man faxaddmodem for more information. 76558363Seric 76658363SericAlso from Sam: 76758363Seric 76858363Seric A mailing list for users of this software is located on sgi.com. 76958363Seric If you want to join this mailing list or have a list-related request 77058363Seric such as getting your name removed from it, send a request to 77158363Seric 77258363Seric flexfax-request@sgi.com 77358363Seric 77458363Seric Submissions (including bug reports) should be directed to: 77558363Seric 77658363Seric flexfax@sgi.com 77758363Seric 77858363Seric 77957945Seric+--------------------------------+ 78057945Seric| TWEAKING CONFIGURATION OPTIONS | 78157945Seric+--------------------------------+ 78257945Seric 78357945SericThere are a large number of configuration options that don't normally 78457945Sericneed to be changed. However, if you feel you need to tweak them, you 78557945Sericcan define the following M4 variables. This list is shown in four 78657945Sericcolumns: the name you define, the default value for that definition, 78757945Sericthe option or macro that is affected (either Ox for an option or Dx 78857945Sericfor a macro), and a brief description. Greater detail of the semantics 78957945Sericcan be found in the Installation and Operations Guide. 79057945Seric 79163582SericSome options are likely to be deprecated in future versions -- that is, 79263582Sericthe option is only included to provide back-compatibility. These are 79363582Sericmarked with "*". 79463582Seric 79557945SericM4 Variable Name Default Mac/Opt Description 79657945SericconfMAILER_NAME MAILER-DAEMON Dn The sender name used for 79757945Seric internally generated 79857945Seric outgoing messages. 79958681SericconfFROM_LINE From $g $d Dl The From_ line used when 80058681Seric sending to files or programs. 80157945SericconfFROM_HEADER $?x$x <$g>$|$g$. The format of an internally 80257945Seric Dq generated From: address. 80357945SericconfOPERATORS .:%@!^/[] Do Address operator characters. 80464153SericconfSMTP_LOGIN_MSG $j Sendmail $v/$Z ready at $b 80557945Seric De The initial (spontaneous) 80657945Seric SMTP greeting message. 80759743SericconfSEVEN_BIT_INPUT False O7 Force input to seven bits? 80857945SericconfALIAS_WAIT 10 Oa Wait (in minutes) for alias 80957945Seric file rebuild. 81058087SericconfMIN_FREE_BLOCKS 4 Ob Minimum number of free blocks 81158087Seric on queue filesystem to accept 81258087Seric SMTP mail. 81357945SericconfBLANK_SUB . OB Blank (space) substitution 81457945Seric character. 81557945SericconfCON_EXPENSIVE False Oc Connect immediately to 81657945Seric mailers marked expensive? 81757945SericconfCHECKPOINT_INTERVAL 10 OC Checkpoint queue files 81857945Seric every N recipients. 81957945SericconfDELIVERY_MODE background Od Default delivery mode. 82057945SericconfAUTO_REBUILD False OD Automatically rebuild 82157945Seric alias file if needed. 82257945SericconfERROR_MODE (undefined) Oe Error message mode. 82357945SericconfERROR_MESSAGE (undefined) OE Error message header/file. 82457945SericconfSAVE_FROM_LINES False Of Save extra leading 82557945Seric From_ lines. 82657945SericconfTEMP_FILE_MODE 0600 OF Temporary file mode. 82757945SericconfDEF_GROUP_ID 1 Og Default group id. 82857945SericconfMATCH_GECOS False OG Match GECOS field. 82957945SericconfMAX_HOP 17 Oh Maximum hop count. 83063582SericconfIGNORE_DOTS False Oi * Ignore dot as terminator 83157945Seric for incoming messages? 83257945SericconfBIND_OPTS (empty) OI Default options for BIND. 83363582SericconfMIME_FORMAT_ERRORS True Oj * Send error messages as MIME- 83459743Seric encapsulated messages per 83559743Seric RFC 1344. 83664153SericconfFORWARD_PATH (undefined) OJ The colon-separated list of 83764153Seric places to search for .forward 83864153Seric files. 83957945SericconfMCI_CACHE_SIZE 2 Ok Size of open connection cache. 84057945SericconfMCI_CACHE_TIMEOUT 5m OK Open connection cache timeout. 84163582SericconfUSE_ERRORS_TO False Ol * Use the Errors-To: header to 84263582Seric deliver error messages. This 84363582Seric should not be necessary because 84463582Seric of general acceptance of the 84563582Seric envelope/header distinction. 84657945SericconfLOG_LEVEL 9 OL Log level. 84757945SericconfME_TOO False Om Include sender in group 84857945Seric expansions. 84957945SericconfCHECK_ALIASES True On Check RHS of aliases when 85057945Seric running newaliases. 85163582SericconfOLD_STYLE_HEADERS True Oo * Assume that headers without 85257945Seric special chars are old style. 85358859SericconfDAEMON_OPTIONS (undefined) OO SMTP daemon options. 85458806SericconfPRIVACY_FLAGS authwarnings Op Privacy flags. 85557945SericconfCOPY_ERRORS_TO (undefined) OP Address for additional copies 85657945Seric of all error messages. 85757945SericconfQUEUE_FACTOR (undefined) Oq Slope of queue-only function 85858116SericconfREAD_TIMEOUT (undefined) Or SMTP read timeouts. 85963582SericconfSAFE_QUEUE True Os * Commit all messages to disk 86057945Seric before forking. 86158806SericconfMESSAGE_TIMEOUT 5d/4h OT Timeout for messages before 86258806Seric sending error/warning message. 86359317SericconfTIME_ZONE USE_SYSTEM Ot Time zone info -- can be 86457945Seric USE_SYSTEM to use the system's 86557945Seric idea, USE_TZ to use the user's 86657945Seric TZ envariable, or something 86757945Seric else to force that value. 86857945SericconfDEF_USER_ID 1 Ou Default user id. 86958718SericconfUSERDB_SPEC (undefined) OU User database specification. 87058859SericconfFALLBACK_MX (undefined) OV Fallback MX host. 87163857SericconfTRY_NULL_MX_LIST False Ow If we are the best MX for a 87263857Seric host and haven't made other 87363857Seric arrangements, try connecting 87463857Seric to the host directly; normally 87563857Seric this would be a config error. 87657945SericconfQUEUE_LA 8 Ox Load average at which queue-only 87757945Seric function kicks in. 87857945SericconfREFUSE_LA 12 OX Load average at which incoming 87957945Seric SMTP connections are refused. 88063582SericconfWORK_RECIPIENT_FACTOR 88163582Seric (undefined) Oy Cost of each recipient. 88263582SericconfSEPARATE_PROC False OY Run all deliveries in a 88357945Seric separate process. 88457945SericconfWORK_CLASS_FACTOR (undefined) Oz Priority multiplier for class. 88557945SericconfWORK_TIME_FACTOR (undefined) OZ Cost of each delivery attempt. 88658408SericconfCW_FILE /etc/sendmail.cw Name of file used to get the 88758408Seric Fw local additions to the $=w 88858408Seric class. 88964153SericconfSMTP_MAILER smtp - The mailer name used when 89063972Seric SMTP connectivity is required. 89163972Seric Either "smtp" or "esmtp". 89263999SericconfLOCAL_MAILER local - The mailer name used when 89363999Seric local connectivity is required. 89463999Seric Almost always "local". 89564028SericconfRELAY_MAILER relay - The default mailer name used 89664028Seric for relaying any mail (e.g., 89764028Seric to a BITNET_RELAY, a 89864028Seric SMART_HOST, or whatever). 89964028Seric This can reasonably be "suucp" 90064028Seric if you are on a UUCP-connected 90164028Seric site. 90264259SericconfDOMAIN_NAME (undefined) Dj If defined, sets $j. 90357945Seric 90458087Seric 90557246Seric+-----------+ 90657246Seric| HIERARCHY | 90757246Seric+-----------+ 90857246Seric 90951220SericWithin this directory are several subdirectories, to wit: 91051220Seric 91151220Sericm4 General support routines. These are typically 91251220Seric very important and should not be changed without 91357247Seric very careful consideration. 91451220Seric 91551220Sericcf The configuration files themselves. They have 91651220Seric ".mc" suffixes, and must be run through m4 to 91751220Seric become complete. The resulting output should 91851220Seric have a ".cf" suffix. 91951220Seric 92051220Sericostype Definitions describing a particular operating 92151220Seric system type. These should always be referenced 92251220Seric using the OSTYPE macro in the .mc file. Examples 92351220Seric include "bsd4.3", "bsd4.4", "sunos3.5", and 92451220Seric "sunos4.1". 92551220Seric 92651220Sericdomain Definitions describing a particular domain, referenced 92751220Seric using the DOMAIN macro in the .mc file. These are 92851220Seric site dependent; for example, we contribute "cs.exposed.m4" 92951220Seric and "cs.hidden.m4" which both describe hosts in the 93051220Seric CS.Berkeley.EDU subdomain; the former displays the local 93151220Seric hostname (e.g., mammoth.CS.Berkeley.EDU), whereas the 93251220Seric latter does its best to hide the identity of the local 93351220Seric workstation inside the CS subdomain. 93451220Seric 93551220Sericmailer Descriptions of mailers. These are referenced using 93651220Seric the MAILER macro in the .mc file. 93751220Seric 93851220Sericsh Shell files used when building the .cf file from the 93951220Seric .mc file in the cf subdirectory. 94051220Seric 94151220Sericfeature These hold special orthogonal features that you might 94251220Seric want to include. They should be referenced using 94351220Seric the FEATURE macro. 94451220Seric 94551220Serichack Local hacks. These can be referenced using the HACK 94651220Seric macro. They shouldn't be of more than voyeuristic 94751220Seric interest outside the .Berkeley.EDU domain, but who knows? 94851220Seric We've all got our own peccadilloes. 94951220Seric 95051268Sericsiteconfig Site configuration -- e.g., tables of locally connected 95151268Seric UUCP sites. 95251220Seric 95351268Seric 95457246Seric+------------------------+ 95557246Seric| ADMINISTRATIVE DETAILS | 95657246Seric+------------------------+ 95751220Seric 95851220SericThe following sections detail usage of certain internal parts of the 95951220Sericsendmail.cf file. Read them carefully if you are trying to modify 96051220Sericthe current model. If you find the above descriptions adequate, these 96151220Sericshould be {boring, confusing, tedious, ridiculous} (pick one or more). 96251220Seric 96351220SericRULESETS (* means built in to sendmail) 96451220Seric 96551220Seric 0 * Parsing 96651220Seric 1 * Sender rewriting 96751220Seric 2 * Recipient rewriting 96851220Seric 3 * Canonicalization 96951220Seric 4 * Post cleanup 97054839Seric 5 * Local address rewrite (after aliasing) 97160539Seric 1x mailer rules (sender qualification) 97260539Seric 2x mailer rules (recipient qualification) 97360539Seric 90 Mailertable host stripping 97460892Seric 96 Bottom half of Ruleset 3 (ruleset 6 in old sendmail) 97560892Seric 97 Hook for recursive ruleset 0 call (ruleset 7 in old sendmail) 97663857Seric 98 Local part of ruleset 0 (ruleset 8 in old sendmail) 97751220Seric 97851220Seric 97951220SericMAILERS 98051220Seric 98151220Seric 0 local, prog local and program mailers 98251220Seric 1 smtp SMTP channel 98358087Seric 2 uucp UNIX-to-UNIX Copy Program 98458087Seric 3 netnews Network News delivery 98558363Seric 4 fax Sam Leffler's FlexFAX software 98651220Seric 98751220Seric 98851220SericMACROS 98951220Seric 99051220Seric A 99151220Seric B Bitnet Relay 99251220Seric C CSNET Relay 99354839Seric D The local domain -- usually not needed 99451220Seric E 99558363Seric F FAX Relay 99651220Seric G 99757591Seric H mail Hub (for mail clusters) 99851220Seric I 99951220Seric J 100051220Seric K 100151220Seric L 100251220Seric M Masquerade (who I claim to be) 100351220Seric N 100451220Seric O 100551220Seric P 100651220Seric Q 100751220Seric R Relay (for unqualified names) 100858071Seric S Smart Host 100951220Seric T 101051309Seric U my UUCP name (if I have a UUCP connection) 101151309Seric V UUCP Relay (class V hosts) 101251220Seric W UUCP Relay (class W hosts) 101351220Seric X UUCP Relay (class X hosts) 101451309Seric Y UUCP Relay (all other hosts) 101551220Seric Z Version number 101651220Seric 101751220Seric 101851220SericCLASSES 101951220Seric 102051220Seric A 102151220Seric B 102251220Seric C 102351220Seric D 102457246Seric E addresses that should not seem to come from $M 102554839Seric F hosts we forward for 102651220Seric G 102751220Seric H 102851220Seric I 102951220Seric J 103051220Seric K 103151220Seric L addresses that should not be forwarded to $R 103251220Seric M 103351220Seric N 103451220Seric O operators that indicate network operations (cannot be in local names) 103560211Seric P top level pseudo-domains: BITNET, FAX, UUCP, etc. 103651220Seric Q 103751220Seric R 103851220Seric S 103951220Seric T 104051220Seric U locally connected UUCP hosts 104151309Seric V UUCP hosts connected to relay $V 104251309Seric W UUCP hosts connected to relay $W 104351309Seric X UUCP hosts connected to relay $X 104451309Seric Y locally connected smart UUCP hosts 104564153Seric Z locally connected domain-ized UUCP hosts 104654839Seric . the class containing only a dot 104751220Seric 104851220Seric 104951220SericM4 DIVERSIONS 105051220Seric 105158071Seric 1 Local host detection and resolution 105258071Seric 2 Local Ruleset 3 additions 105358071Seric 3 Local Ruleset 0 additions 105451268Seric 4 UUCP Ruleset 0 additions 105551309Seric 5 locally interpreted names (overrides $R) 105654839Seric 6 local configuration (at top of file) 105751220Seric 7 mailer definitions 105854839Seric 8 special local name recognition (late in ruleset 3) 105958681Seric 9 special local rulesets (1 and 2) 1060