[comp.mail.mush] Bug in Mush 6.5.5

paul@devon.LNS.PA.US (Paul Sutcliffe Jr.) (08/21/89)

When I started mush this morning, there was one lone message in my
system mailbox; here are its headers:

+---------
| From paul@pro-europa.cts.com Mon Aug 21 05:40:51 1989
| Received: by devon.LNS.PA.US (5.61/smail2.5/03-12-89)
| 	id AA02720; Mon, 21 Aug 89 05:40:38 EDT
| Received: from ucsd.UUCP by rutgers.edu (5.59/SMI4.0/RU1.2/3.04) with UUCP 
| 	id AA08979; Mon, 21 Aug 89 03:26:10 EDT
| Received: from nosc.UUCP by ucsd.edu; id AA21521
| 	sendmail 5.61/UCSD-1.0 via UUCP
| 	Sun, 20 Aug 89 23:57:58 -0700 for devon!paul
| Received: by trout.nosc.mil (5.59/1.27)
| 	id AA01985; Sun, 20 Aug 89 23:12:25 PDT
| Message-Id: <8908210612.AA01985@trout.nosc.mil>
| Received: by crash.cts.com (smail2.5)
| 	id AA00150; 20 Aug 89 17:36:00 PDT (Sun)
| Date: Sat, 19 Aug 89 09:34:31 CDT
| From: paul@pro-europa.cts.com (Paul Hutmacher)
| To: devon!paul
| Subject: Imagewriter clones
+---------

However, the list of messages showed this to be from (ie, the %n
value):

	TO: devon!paul

and not paul@pro-europa.cts.com.  I take it that the code for
evaluating the %n value doesn't look at the whole From: header, but
just the userid.

Perhaps %n is derived from the "From_" header.  Note the syntax of the
one in the above message -- this is how messages look when they come
to me from my Internet forwarding site (rutgers).

- paul
-- 
INTERNET:  paul@devon.LNS.PA.US         |   How many whales do you have to
UUCP:      ...!rutgers!devon!paul       |       save to get a toaster?

scott@grlab.UUCP (Scott Blachowicz) (08/24/89)

It seems to be looking at either the FullName part of the 1st N characters of
the username...I get mail with headers like this that does the same thing:
   From hpubvwa!scottk Tue Aug 15 21:01:05 1989
   Received: from grlab (grlab) by gr370; Tue, 15 Aug 89 21:01:03 pdt
   Return-Path: <hpubvwa!scottk>
   Received: by grlab; Tue, 15 Aug 89 21:01:08 pdt
   Received: from hpubvwa with uucp; Tue, 15 Aug 89 10:35:16
   Received: by hpubvwa.HP.COM; Tue, 15 Aug 89 10:35:16 pdt
   From: Scott Key <hpubvwa!scottk>
   Full-Name: Scott Key
   Message-Id: <8908151735.AA15346@hpubvwa.HP.COM>
   Subject: Re: misc stuff...
   To: scott@grlab (Scott Blachowicz)

Note that his username is 'scottk' not 'scott', but it still comes up as 
   TO: Scott Blachowicz

It ought to be using the alts list, but the comparison seems imperfect anyway.
Oh yeah, I'm running Mush 6.5.6.

Scott Blachowicz
USPS:  Graphicus                UUCP:    ...!hpubvwa!grlab!scott
       150 Lake Str S, #206     VoicePh: 206/828-4691
       Kirkland, WA 98033       FAX:     206/828-4236

schaefer@ogccse.ogc.edu (Barton E. Schaefer) (08/27/89)

In article <7330019@grlab.UUCP> scott@grlab.UUCP (Scott Blachowicz) writes:
} It seems to be looking at either the FullName part of the 1st N characters of
} the username...I get mail with headers like this that does the same thing:
}    From: Scott Key <hpubvwa!scottk>
}    To: scott@grlab (Scott Blachowicz)
} 
} Note that his username is 'scottk' not 'scott', but it still comes up as 
}    TO: Scott Blachowicz

A fix for this has been applied and will be available for testing when
the next update to the "mushview" beta goes out.  Efficiency in the
header-summary-generation code constrains us to avoid testing every
From: address against the alternates list, but an additional test of
that list when the current username matches should catch most of the
currently-incorrect cases.  It'll still fail if you use "alts *",
which in effect tells mush that your user name is unique in all the
world.  Those with logins like "argv" can afford such assumptions. ;->
-- 
Bart Schaefer           "And if you believe that, you'll believe anything."
                                                            -- DangerMouse
CSNET / Internet                schaefer@cse.ogc.edu
UUCP                            ...{sequent,tektronix,verdix}!ogccse!schaefer