[eunet.general] long address paths

jr@taurus.UUCP (Jim R Oldroyd) (01/24/84)

This is the fix for the problem I outlined in a recent message whereby
the uux of a message to a "long" address failed causing files like
C.ha^#2@A0019 to be created in the SPOOL dir.

Our version of uucp is that distributed by the EUUG with news 2.10, so
watch out if you're in EUROPE, you may have the same problem.  It's
important that everyone fixes it, *particularly* HIRST1 and UKC, else
my mail to distant sites *still* won't get through!!

Ok, the problem's this:
there is a buffer in uux.c declared as:

	char rest[MAXFULLNAME];
	
That's right, you guessed it: MAXFULLNAME is #defined as 100.  So
addresses over 100 chars don't work!

Working out the fix for this requires a considerable amount of
brainpower, so I save you the trouble by outlining it below:

in file uucp.h, about line 67, change MAXFULLNAME to something more
suitable:

	#define MAXFULLNAME 256

then recompile uux.c
-- 
									++jim
					 <england>!ukc!hirst1!taurus!jr ++jim