[comp.mail.elm] Bug in alias

bes@holin.ATT.COM (Bradley Smith) (03/16/90)

For give me if this is covered.  I haven't seen it.  It maybe the
way elm is configured.  But while in elm if you make a new alias
(lets say 'test') and have 2 names in it 'bes' and 'machA!bes'
and save them.  When you try to mail to test the alias is expanded
as "bes, machA, bes".  If anyone could shed some light on this
I would be greatful.

-thanks brad

FYI: patch level 16 elm 2.2
-- 
Bradley Smith
Telecommunications Solutions Development
AT&T Bell Labs, Holmdel, NJ 
201-949-0090 att!holin!bes or bes@holin.ATT.COM

syd@DSI.COM (Syd Weinstein) (03/16/90)

bes@holin.ATT.COM (Bradley Smith) writes:
>For give me if this is covered.  I haven't seen it.  It maybe the
>way elm is configured.  But while in elm if you make a new alias
>(lets say 'test') and have 2 names in it 'bes' and 'machA!bes'
>and save them.  When you try to mail to test the alias is expanded
>as "bes, machA, bes".  If anyone could shed some light on this
>I would be greatful.
This is not a bug, but the most common misuse of aliases, as per
the alias manual, a alias must either point to a single user,
or a group of local users and other aliases.

Thus

test = comment = bes, machA!bes

is not valid.  What is required is

mAbes = comment = machA!bes
test = comment = bes, mAbes

(PS: aliases will be case insensitive in 2.3, so be careful of my
mAbes above.)
-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.                          Voice: (215) 947-9900
syd@DSI.COM or bpa!dsinc!syd                    FAX:   (215) 938-0235

taylor@limbo.Intuitive.Com (Dave Taylor) (03/17/90)

Bradley Smith writes that an alias of the form:

   alias = whatever = localname, host!remotename

fails.  Syd comments that it's designed that way.  Curiously, though,
I find that my version is *not* like that.  In fact, I created the
following alias:

   test = testing = tutcom, decwrl!vixie, joe, nancy@mips.com

where "tutcom" is another alias in my alias file.  Letting Elm
then expand it:

   % elm test
   To: tutcom@usenix.org (Usenix Tutorial Evaluation Committee), decwrl!vixie,
       joe, nancy@mips.com
   Subject:   

Notice that it picked up and expanded the "tutcom" alias, and left everything
else alone.  Further, we can even have aliases that point to aliases and
so on...

The question is, if this is in the version of Elm I gave to Syd and the
Usenet development group, how come it's ended up not being part of the
code??   Strange but true...

						-- Dave Taylor
Intuitive Systems
Mountain View, California

taylor@limbo.intuitive.com    or   {uunet!}{decwrl,apple}!limbo!taylor

bes@holin.ATT.COM (Bradley Smith) (03/19/90)

any chance of chaning to execpt 'machA!bes'.  Seems like alot of
excess typing needed.

on a side note 'listalis' expands correctly (or should I say it
prints it out like you entered.  Also newalias doesn't complain
about the alias as entered
-- 
Bradley Smith
Telecommunications Solutions Development
AT&T Bell Labs, Holmdel, NJ 
201-949-0090 att!holin!bes or bes@holin.ATT.COM