🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #593

Bug in uumail V 3.0 `opath' or `getpath'?

#593
From: Greg Earle
Date: Fri, 24 Oct 1986 04:17
66 lines
3341 bytes
I'm having trouble with uumail munging addresses which consist of a site(s)
which is not in the UUCP map connected to one that is; i.e. a path to it
would look like
	mysite!foo!bar!...!a!b![c!d!]spudbrain
where `a' is a known site, with an optimized path available; and `b' (and
every succeeding site, all unknown to the UUCP map) is not known to the 
UUCP map.  Every time I try to mail in this situation, `Getpath' returns
the valid path to the last known site (OK here) `a', but `Opath' returns
just `spudbrain' attached to Getpath's path-to-`a', thus I end up with
all mail in these circumstances headed for user@last-known-mapsite.UUCP.

Here's some relevant data:
- Running uumail with sendmail, on Sun OS 2.2.
- sendmail.cf entry for uumail:
># use fancy path expanding UUCP frontend.
>Muucp,  P=/usr/lib/mail/uumail, F=sCDFMSU, S=13, R=23, M=65535,
>	A=uumail -h -oc -f$g $h!$u
[So `$u' is getting munged.]

Here's a sample session, with `-d6' installed to prevent real delivery:
# mail -v cogent!slime@ptsfa.UUCP
~s Test of uumail bug
Test; ignore
EOT
cogent!slime@ptsfa.UUCP... Connecting to ptsfa.uucp...
Version $Header: uumail.c,v 3.0 86/03/14 12:05:00 sob RELEASE_3 $
Mail from smeagol!root
Temp file is /tmp/.uum019168
In getpath: Sysname = cogent, Pathfile = /usr/lib/mail/uucp.hosts /* getpath#1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Starting uuname
Neighbor # 1: udon'tcare
Neighbor # 2: etc. etc.
In getpath: Sysname = ptsfa, Pathfile = /usr/lib/mail/uucp.hosts /* Why here */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /* twice?  */
Getpath returns: elroy!cit-vax!topaz!nike!ptsfa
Opath returns elroy!cit-vax!topaz!nike!ptsfa!slime	/* WHOOPS! where's */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^	/* `cogent' gone?? */
Path = elroy!cit-vax!topaz!nike!ptsfa!slime
p = elroy!cit-vax!topaz!nike!ptsfa!slime  local = 0
 p = cit-vax!topaz!nike!ptsfa!slime sys = elroy fname =
elroy!cit-vax!topaz!nike!ptsfa!slime
Command is /usr/bin/uux - -r -gC elroy!rmail
\(cit-vax!topaz!nike!ptsfa!slime\)
cogent!slime@ptsfa.UUCP... Sent

(End of sample session; in case you're wondering, `mail -v ptsfa!cogent!slime'
 gives exact same result)

- my OPTIONS line in uumail's Makefile:
>OPTIONS= -DOPATH -DGETHOSTNAME -DNOALIAS -DLOG -DDBM -DDEBUG -DRFC976 -DOPTIMIZE

---------------------
I tried to mail to Stan Barber about this, but got no response.

Hasn't anyone else been bitten by this?  I'd like to assume it's a problem
somewhere in my configuration, but I can't find it anywhere ...

--

	Greg Earle		UUCP: sdcrdcf!smeagol!earle; attmail!earle
	JPL			ARPA: elroy!smeagol!earle@csvax.caltech.edu
				      smeagol!earle@usc-oberon.usc.edu
				AT&T: +1 818 354 0876

Yow!  Did something bad happen or am I in a drive-in movie??
Technical Details
Message-ID: <771@smeagol.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ll-xn!cit-vax!elroy!smeagol!earle

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ll-xn!cit-vax!elroy!smeagol!earle
From: earle@smeagol.UUCP (Greg Earle)
Newsgroups: net.bugs,net.mail
Subject: Bug in uumail V 3.0 `opath' or `getpath'?
Message-ID: <771@smeagol.UUCP>
Date: Fri, 24-Oct-86 00:17:48 EDT
Article-I.D.: smeagol.771
Posted: Fri Oct 24 00:17:48 1986
Date-Received: Fri, 24-Oct-86 17:20:38 EDT
Organization: Jet Propulsion Laboratory, Pasadena, CA
Lines: 64