jonathan@cs.kl.ac.uk (Jonathan Knight) (02/03/89)
I'm having trouble using UK-Sendmail-2.1. I have domain tables which correctly deliver fully qualified domain addresses given any uk academic site. For the channel tables all I largely want to do is pass and domain name beginning with uk. straight onto unix-niftp. To do this I have a file called 'local-janet.chn' which is configured as a janet channel file in which I have the line: uk.%s uk.%s There is another file called janet.chn which holds all the other relaying information. When run in test mode I can see ruleset 16 gradually stripping the address down until only 'uk' is left. I then get the 'Domain Unknown' error. *What am I doing wrong?* Here is the sendmail header: derek.cs.keele.ac.uk Sendmail 4.12/UK-2.1 ready at Thu, 2 Feb 89 20:58:05 GMT And here is Ruleset 16: S16 R$+@$+ $:$>17$1@$2 initial routing R<$+>$+ $@<$1>$2 success, return triple # initial match failed, retry with successively higher level domains R<$+@$+> $:<$1%$2@$2> u@a.b.c -> u%a.b.c@a.b.c R<$+@$-.$+> $>17$1@$3 retry routing R<$+>$+ $@<$1>$2 success, return triple # match failed, attempt to match with "general" rules (wildcards); # if this fails then try matching top level domain to find relay domain R<$+@$-> $:$>4$1 restore original address R$+@$+.$=N $@$>16$1%$2.$3@ean.ac.uk R$+@$+.earn $@$>16$1%$2.earn@earn-relay.ac.uk R$+@$+.$=O $@$>16$1%$2.$3@nss.cs.ucl.ac.uk R$+@$+.fr $@$>16$1%$2.fr@cs.ucl.ac.uk R$+@$+.gb $@$>16$1%$2.gb@cs.ucl.ac.uk R$+@$+.bitnet $@$>16$1%$2.bitnet@earn-relay.ac.uk R$+@$+.uk $@$>16$1%$2.uk@uk R$+@$+.uucp $@$>16$1%$2.uucp@ukc.ac.uk R$+@$+ $:$>9$1@$2 convert to NRS style R$+@uk.$+ $@<$1@uk.$2>uk.$2.janet R$+@$+ $:$>9$1@$2 convert back to 822 style ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.
taylor@cs.glasgow.ac.uk (Jem Taylor) (02/04/89)
For the channel tables all I largely want to do is pass and domain name beginning with uk. straight onto unix-niftp. To do this I have a file called 'local-janet.chn' which is configured as a janet channel file in which I have the line: uk.%s uk.%s There is another file called janet.chn which holds all the other relaying information. That's just what one should do - good. When run in test mode I can see ruleset 16 gradually stripping the address down until only 'uk' is left. I then get the 'Domain Unknown' error. *What am I doing wrong?* And here is Ruleset 16: S16 R$+@$+ $:$>17$1@$2 initial routing R<$+>$+ $@<$1>$2 success, return triple # initial match failed, retry with successively higher level domains R<$+@$+> $:<$1%$2@$2> u@a.b.c -> u%a.b.c@a.b.c R<$+@$-.$+> $>17$1@$3 retry routing R<$+>$+ $@<$1>$2 success, return triple # match failed, attempt to match with "general" rules (wildcards); # if this fails then try matching top level domain to find relay domain R<$+@$-> $:$>4$1 restore original address R$+@$+.$=N $@$>16$1%$2.$3@ean.ac.uk R$+@$+.earn $@$>16$1%$2.earn@earn-relay.ac.uk R$+@$+.$=O $@$>16$1%$2.$3@nss.cs.ucl.ac.uk R$+@$+.fr $@$>16$1%$2.fr@cs.ucl.ac.uk R$+@$+.gb $@$>16$1%$2.gb@cs.ucl.ac.uk R$+@$+.bitnet $@$>16$1%$2.bitnet@earn-relay.ac.uk R$+@$+.uk $@$>16$1%$2.uk@uk ^ I don't like the look of this. I suspect that you have put uk uk in your top.chn file, which should have a relay site on the right. We have uk uk.ac.ucl.cs in the top.chn, so that unknown uk domains (ie. not uk.ac uk.co uk.mod etc) which are probably new X.400 systems are passed to an X.400 capable system for interpretation. R$+@$+.uucp $@$>16$1%$2.uucp@ukc.ac.uk R$+@$+ $:$>9$1@$2 convert to NRS style R$+@uk.$+ $@<$1@uk.$2>uk.$2.janet This line comes from local-janet.chn ... and looks fine. The problem is that the top.chn entries above are stealing from you. Try re-arranging your config.site file so that top.chn is referenced after local-janet.chn . The documentation forgets to mention that the order of config.site file entries is significant. R$+@$+ $:$>9$1@$2 convert back to 822 style -Jem.
jonathan@cs.kl.ac.uk (Jonathan Knight) (02/06/89)
-> This line comes from local-janet.chn ... and looks fine. The problem is that -> the top.chn entries above are stealing from you. Try re-arranging your -> config.site file so that top.chn is referenced after local-janet.chn . -> The documentation forgets to mention that the order of config.site file -> entries is significant. Bingo! That was the probelm. I had a line uk uk as you suggested. I had to have that line in otherwise I don't get uk as a top domain, I also wanted to run wih top.chn and top.dom linked. Anyway, re-ordering the config file ensured that the uk.%s was dealt with first. Ta. for your help. ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.