Thread View: comp.mail.sendmail
1 messages
1 total messages
Started by Jem Taylor
Fri, 03 Feb 1989 16:19
Re: UK-Sendmail-2.1 Wildcard Problem
Author: Jem Taylor
Date: Fri, 03 Feb 1989 16:19
Date: Fri, 03 Feb 1989 16:19
67 lines
2734 bytes
2734 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads