Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!gatech!udel!rochester!rit!tropix!moscom!ur-valhalla!uhura.cc.rochester.edu!sunybcs!rutgers!apple!ames!hc!lll-winken!uunet!mcvax!ukc!etive!glasgow!HopkinsRJ From: HopkinsRJ@bristol.ac.uk (R.J.Hopkins) Newsgroups: comp.mail.sendmail Subject: Re: Another 2.1 concept error? Message-ID: <16233.8906161458@np1a.bristol.ac.uk> Date: 22 Jul 89 20:58:41 GMT Sender: daemon@cs.glasgow.ac.uk Reply-To: HopkinsRJ@bristol.ac.uk Lines: 86 | The order of domain resolution searches is directly dictated by the order | of domain declarations in your config.site file. | | -Jem. | Think we're talking at cross purposes. Below is a script listing showing the creation of 2 configs - test1 and test2. They are identical except for the order of the domain declarations in the config file. You'll see that there are indeed differences between the resultant sendmail configuration files but these diffences do not affect the order of domain resolution. In both, "computervision" still resolves to computervision.co.uk Here's the script listing... Script started on Fri Jun 16 15:41:24 1989 1## Config config.test1 creating tables/test1.mk ... Making directory test1 ... creating configuration files in test1 ... 2## Config config.test2 creating tables/test2.mk ... Making directory test2 ... creating configuration files in test2 ... 3## cd test1 4## make cd ../tables; make -f test1.mk test1 ../Dombuild -o test1-dom.m4 bristol.local.dom bristol.bris.dom ac.dom uk.dom co.dom -top top.dom ../Chnbuild -o test1-chn.m4 -local qgb.local.chn -ether ether.chn -janet janet.chn -janet catchall.chn -janet bristol.janet.chn -top top.dom make test1.cf cp ../tables/test1-dom.m4 . cp ../tables/test1-chn.m4 . mv: test1.cf: Cannot access: No such file or directory *** Exit 1 (ignored) m4 test1.mc > test1.cf 5## cd ../test2 6## make cd ../tables; make -f test2.mk test2 ../Dombuild -o test2-dom.m4 uk.dom ac.dom bristol.bris.dom co.dom bristol.local.dom -top top.dom ../Chnbuild -o test2-chn.m4 -local qgb.local.chn -ether ether.chn -janet janet.chn -janet catchall.chn -janet bristol.janet.chn -top top.dom make test2.cf cp ../tables/test2-dom.m4 . cp ../tables/test2-chn.m4 . mv: test2.cf: Cannot access: No such file or directory *** Exit 1 (ignored) m4 test2.mc > test2.cf 7## diff test2.cf ../test1/test1.cf 17c17 < ### test2 configuration file --- | ### test1 configuration file 331c331 < ##### @(#)test2-dom.m4 UK-2.1 sendmail configuration 18/11/88 --- | ##### @(#)test1-dom.m4 UK-2.1 sendmail configuration 18/11/88 340c340 < CAalv alvey forest-rd mod ac co --- | CAac co alv alvey forest-rd mod 348c348 < CBabdn aber aberdeen aberystwyth afrc aston bangor bath bbk bham --- | CBbris abdn aber aberdeen aberystwyth afrc aston bangor bath bbk bham 376c376 < CBumrcc uwcm warwick warwk westfield wolverhampton wolves york bris --- | CBumrcc uwcm warwick warwk westfield wolverhampton wolves york 396,397c396,397 < CEbsa cms computervision compsci csa esa fagg gsa lib msa np1a pva qgb < CEqsa qvc rsa lloyd knott testpc domain apl tango --- | CElloyd knott testpc domain apl tango bsa cms computervision compsci csa | CEesa fagg gsa lib msa np1a pva qgb qsa qvc rsa 404d403 < R$*med-image.compsci $1med-image.compsci.bristol.ac.uk 408a408 | R$*med-image.compsci $1med-image.compsci.bristol.ac.uk 452c452 < ##### @(#)test2-chn.m4 UK-2.1 sendmail configuration 18/11/88 --- | ##### @(#)test1-chn.m4 UK-2.1 sendmail configuration 18/11/88 8## script done on Fri Jun 16 15:43:31 1989