[comp.mail.mush] looong recipient lists

fletcher@cs.utexas.edu (Fletcher Mattox) (10/06/89)

If one wants to mail to an arbitrarily long mush alias,
must one recompile with a larger HDRSIZ, or is there
a more clever way to avoid:

	address length too long.
	address expansion failed for To: line.
	Saved unfinished letter in ~/dead.letter.

A "set no_expand" doesn't help.

The current need is for a 5 kbyte recipient list (yes, I
know this should probably be done by the MTA).

Fletcher

schaefer@ogccse.ogc.edu (Barton E. Schaefer) (10/07/89)

In article <456@ai.cs.utexas.edu> fletcher@cs.utexas.edu (Fletcher Mattox) writes:
} If one wants to mail to an arbitrarily long mush alias,
} must one recompile with a larger HDRSIZ, or is there
} a more clever way to avoid:
} 
} 	address length too long.
} 
} The current need is for a 5 kbyte recipient list (yes, I
} know this should probably be done by the MTA).

There is no good way to do this other than increasing HDRSIZ.  In fact,
even increasing HDRSIZ may not be enough in some cases, because mush
passes the addresses to the MTA via a /bin/sh command line [%] and the
shell or operating system may impose additional limits.
____________

% Except when MMDF is the MTA.
____________

Mush allows for 3*HDRSIZ worth of addresses, to allow each of To, Cc,
and Bcc to be a full HDRSIZ in length.  I routinely define HDRSIZ to
be 10*BUFSIZ in config.h; when multiplied again by 3 this easily exceeds
the limitations of most shells.
-- 
Bart Schaefer      "A Yellowbeard is never so dangerous as when he's dead."
                                              -- Graham Chapman, 1941-1989
CSNET / Internet                schaefer@cse.ogc.edu
UUCP                            ...{sequent,tektronix,verdix}!ogccse!schaefer