🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3150

UK-Sendmail-2.1 Wildcard Problem

#3150
From: Jonathan Knight
Date: Fri, 03 Feb 1989 11:12
54 lines
2520 bytes
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.
Technical Details
Message-ID: <1042.8902031112@derek.cs.kl.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!ucsd!ucsdhub!hp-sdd!ncr-sd!ncrlnk!uunet!mcvax!ukc!etive!glasgow!jonathan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!ucsd!ucsdhub!hp-sdd!ncr-sd!ncrlnk!uunet!mcvax!ukc!etive!glasgow!jonathan
From: jonathan@cs.kl.ac.uk (Jonathan Knight)
Newsgroups: comp.mail.sendmail,mail.uk-sendmail-workers
Subject: UK-Sendmail-2.1 Wildcard Problem
Message-ID: <1042.8902031112@derek.cs.kl.ac.uk>
Date: 3 Feb 89 11:12:28 GMT
Sender: daemon@cs.glasgow.ac.uk
Lines: 54
X-Mailer: mail-news 2.0.4