[comp.mail.mush] Alias expansion

mskucherawy@watmath.waterloo.edu (Murray S. Kucherawy) (10/24/90)

I have an alias that expands to more than 20 users, but when I try to use
it, mush says something like "To: line to long - alias not expanded".
Is this something I can correct with a change in the sources?

============================== Murray S. Kucherawy ==========================
University of Waterloo, Ontario, Canada       2A Math (Comp Sci/Comb. & Opt.)
Internet: mskucherawy@<machine>.UWaterloo.ca  UUCP: uunet!watmath!mskucherawy
<machine> ::= { watmath | dahlia | trillium | orchid }

argv@turnpike.Eng.Sun.COM (Dan Heller) (10/26/90)

In article <1990Oct24.023606.9441@watmath.waterloo.edu> mskucherawy@watmath.waterloo.edu (Murray S. Kucherawy) writes:
> I have an alias that expands to more than 20 users, but when I try to use
> it, mush says something like "To: line to long - alias not expanded".
> Is this something I can correct with a change in the sources?

I'm curious as to what addresses you are using.  20 aliases seems
awfully short -- unless of course you are using very long addresses.
You can define HDRSIZ in config.h to be larger.  This controls the
size limits for all mail headers.  By default, it's set to BUFSIZ.
If you're on an older UNIX or xenix box, that might be as little as
256, so then I could see the problem.

--
dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.

mskucherawy@watmath.waterloo.edu (Murray S. Kucherawy) (10/31/90)

I sez:
> I have an alias that expands to more than 20 users, but when I try to use
> it, mush says something like "To: line to long - alias not expanded".
> Is this something I can correct with a change in the sources?

Then, argv@turnpike.Eng.Sun.COM (Dan Heller) sez:
>I'm curious as to what addresses you are using.  20 aliases seems
>awfully short -- unless of course you are using very long addresses.
>You can define HDRSIZ in config.h to be larger.  This controls the
>size limits for all mail headers.  By default, it's set to BUFSIZ.
>If you're on an older UNIX or xenix box, that might be as little as
>256, so then I could see the problem.

The aliases were of the format "fullname - department <mail_address>";
for example, mine is:

alias	murray	"Murray S. Kucherawy - Waterloo C&O/CS <mskucherawy@watmath>"

20 or so of them is pretty long, so I guess that's my problem.

============================== Murray S. Kucherawy ==========================
University of Waterloo, Ontario, Canada       2A Math (Comp Sci/Comb. & Opt.)
Internet: mskucherawy@<machine>.UWaterloo.ca  UUCP: uunet!watmath!mskucherawy
<machine> ::= { watmath | dahlia | trillium | orchid }