Path: utzoo!attcan!uunet!mcvax!ukc!etive!glasgow!jac From: jac@doc.ic.ac.uk (Jim Crammond) Newsgroups: comp.mail.sendmail,mail.uk-sendmail-workers Subject: Re: Oddities with uk.ac.man sitenames Message-ID: <9204.8811281432@sophocles.doc.ic.ac.uk> Date: 28 Nov 88 14:32:00 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 31 Phone: 01-589 5111 ext 5065 In-Reply-To: Network Manager's message of Mon, 28 Nov 88 13:32:08 GMT X-mailer: mail-news 2.1 There are two ways to fix this: 1. remove the entry for uk.ac.man from the table generated by c-nrs and let the ftp system figure out the routing. 2. make a small change to chn/MAKE in the awk script for the janet channel where it thinks that rules like uk.ac.man.cs.ux uk.ac.man.cs.ux can be taken care of by the "general rule" and thus doesn't generate a sendmail rule for it. The problem is that a match for uk.ac.man is found before the general rule is tried... The change is simply to remove the two lines of code thus: if ( $1 == $2 ) { if ( $1 ~ /^uk\./ ) # general rule will catch this break printf "R$+@%s\t\t$@<$1@%s>%s.janet\n", $1, $1, $1 } becomes: if ( $1 == $2 ) printf "R$+@%s\t\t$@<$1@%s>%s.janet\n", $1, $1, $1 There is a catch with this: namely that (assuming your c-nrs program generates an entry for every site in the nrs and not just the ones with application relays) your sendmail.cf will become very large and may be a bit slow. Probably not a problem with a Sequent Symmetry mind. -Jim.