Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!adm!stanonik@nprdc.arpa From: stanonik@nprdc.arpa Newsgroups: comp.unix.wizards Subject: long from: lines break /bin/mail Message-ID: <4534@brl-adm.ARPA> Date: Wed, 18-Feb-87 16:06:29 EST Article-I.D.: brl-adm.4534 Posted: Wed Feb 18 16:06:29 1987 Date-Received: Fri, 20-Feb-87 01:46:13 EST Sender: news@brl-adm.ARPA Lines: 28 Description: Long from: lines cause /bin/mail to loop Repeat-By: Wait for a message that has passed through a lot of relays; eg, <@host0,@host1,@host2,...:user@host>. Info-vax seems to occasionally send one of these. Fix: The buffer truename, intended to hold the from address, is only 100 chars. Up it, say to 1000 chars. --- mail.c Wed Feb 4 08:18:23 1987 *************** *** 418,424 **** bulkmail(argc, argv) char **argv; { ! char truename[100]; int first; register char *cp; int gaver = 0; --- 418,424 ---- bulkmail(argc, argv) char **argv; { ! char truename[1000]; int first; register char *cp; int gaver = 0;