Xref: utzoo comp.sources.bugs:2824 comp.mail.uucp:5805 can.uucp:255 can.usrgroup:736 Path: utzoo!utgpu!cunews!fts1!latour!ecicrl!eci386!woods From: woods@eci386.uucp (Greg A. Woods) Newsgroups: comp.sources.bugs,comp.mail.uucp,can.uucp,can.usrgroup Subject: Re: smail-2.5 fix for domain gateway routing Message-ID: <1991Jan30.195213.12815@eci386.uucp> Date: 30 Jan 91 19:52:13 GMT References: <1991Jan14.234354.8055@eci386.uucp> <1991Jan23.061830.19719@watdragon.waterloo.edu> <1991Jan24.034941.3360@Sandelman.OCUnix.On.Ca> Reply-To: woods@eci386.UUCP (Greg A. Woods) Organization: Elegant Communications, Inc. Lines: 49 In article <1991Jan24.034941.3360@Sandelman.OCUnix.On.Ca> mcr@Sandelman.OCUnix.On.Ca (Michael Richardson) writes: > In article <1991Jan23.061830.19719@watdragon.waterloo.edu> gamiddleton@watdragon.waterloo.edu (Guy Middleton) writes: > >In article <1991Jan14.234354.8055@eci386.uucp> woods@eci386 (Greg A. Woods) writes: > > Here's the problem, as told by Mark Moraes : > > > When looking up "foo.xenitec.on.ca", first look it up as is. > > > If matched, replace the %s in the path with username. Else, > > > remove the first domain component (foo) and look up > > > ".xenitec.on.ca". If that matches, replace the %s in the path > > > with THE FULL DOMAIN NAME AND username. I.e: > > > > > > lsuc!utai!watmath!foo.xenitec.on.ca!user > > > NOT > > > lsuc!utai!watmath!user > > lsuc!utai!watmath!xenitec!foo.xenitec.on.ca!user should be what is > produced. > > In some other article someone else (gamiddleton?) said: > > I think it would be nicer if the result was > > > > lsuc!utai!watmath!xenitec!user And someone else also suggested: lsuc!utai!watmath!xenitec!foo.xenitec.on.ca!user > And (gamiddleton?) continues: > > That way, I could use smail on watmath to decide that foo.xenitec.on.ca was a > > local connection, instead of having to embed that information in my > > sendmail.cf file. > > If you aren't the gateway, you shouldn't have to do anything. Ah, but if I understand the map entries correctly, watmath *IS* the gateway! I'm not sure if it should be the former, (i.e. path!domain!user) or the latter (i.e. path!gate!domain!user). The pathalias output contains only the path segment, and Mark's comments indicate the former is correct (i.e. smail inserts domain!user). It seems to me that the gateway machine should indeed be the one which decides how to route into the domain. Certainly pathalias can't insert the gateway machine into the output (i.e. path!watmath!xenitec!%s), since there's no saying the gateway can be reached by '!' addressing. -- Greg A. Woods woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP ECI and UniForum Canada +1-416-443-1734 [h] +1-416-595-5425 [w] VE3TCP Toronto, Ontario CANADA Political speech and writing are largely the defense of the indefensible-ORWELL