Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!husc6!rutgers!ucla-cs!ames!hao!woods
From: woods@hao.UUCP (Greg Woods)
Newsgroups: comp.mail.uucp
Subject: Re: pathalias bug?
Message-ID: <489@hao.UUCP>
Date: Mon, 12-Jan-87 20:23:55 EST
Article-I.D.: hao.489
Posted: Mon Jan 12 20:23:55 1987
Date-Received: Tue, 13-Jan-87 05:00:36 EST
References: <486@hao.UUCP> <1292@ncr-sd.UUCP>
Organization: High Altitude Obs./NCAR, Boulder CO
Lines: 51
Keywords: sendmail, smail
Summary: Thanks. OK, next question...

In article <1292@ncr-sd.UUCP>, greg@ncr-sd.UUCP (Greg Noel) writes:
> In article <486@hao.UUCP> woods@hao.UUCP (Greg Woods) writes:
> To reprise, the data:
> 
> >first @second(LOCAL)
> >second .third(LOCAL)
> 
> produces:
> 
> >0	first	%s
> >25	second	%s@second
> >4050	.third	%s@second     # Where the HELL does the extra 4000 come from???
> 
> The cure is simple -- declare the domain to be @-routed as well:
> 	second	@.third(LOCAL)
> which will produce the expected
> 	0	first	%s
> 	25	second	%s@second
> 	50	.third	%s@second	# really %s@.third@second


  Thanks for that information, because it does solve the first problem I had,
but unfortunately it brings up another one. This all started because I am
trying to install "smail", a back end to sendmail(8) recently posted to
mod.sources which supposedly handles domain-based addresses. My experience
shows that it would probably drop right in *if* all our connections were
via UUCP. Unfortunately they are not, and all the non-uucp links are giving
me fits. I'd like to ask those out there who ARE running "smail" for help.
The above situation still exists, and now that the pathalias problem is
fixed (so that the route to the domain .third via our machine "second", which
is connected to "first" via a local Ethernet, is the one that makes it into
our database). The problem is that when I mail to "user@host.third", it
bounces, and I don't know how to fix it. What happens is that the changes to
the sendmail.cf file (which are documented in the information that comes with
the smail sources) correctly recognize this as a domain-based address and
pass it on to smail. Smail changes this address to host.third!user@second,
as per the above pathalias output, but then it doesn't seem to know what to
do with it after that. I get the mail bounced with the message that host.third
is an unknown host. I would like it to do something sensible, like send it
over the ethernet to "second" and let that host deliver it. How do I set it
up to do this? Do I have to hack sendmail.cf (gag) to handle all domains that
are not reached via UUCP links? If so, what ruleset should that kind of hack
go into? Any hints or advice would be appreciated, I will post the final 
solution in this group if one is ever found (this does not seem like it 
should be all that uncommon a setup).

--Greg
{hplabs, seismo, nbires, noao}!hao!woods

CSNET: woods@ncar.csnet  ARPA: woods%ncar@CSNET-RELAY.ARPA
Soon? woods@hao.ucar.edu