[news.admin] *IMPORTANT* Fix for news 2.10.1 sites

rick@seismo.UUCP (03/30/87)

If you are still running news 2.10.1 (or 2.10) it is VERY IMPORTANT that
you install the following patch to header.c and remake inews/rnews.

If you do not install this patch, your site will corrupt the From: lines
of certain types of articles passing through your site. This includes
most moderated newsgroups.

Please take a few minutes and install this simple fix. You do not
have to upgrade your news system to the latest release and you do not 
have to reinstall everything (just rnews/inews).

If you are running news 2.10.2 or later, you do not have this bug. It
is ONLY present in 2.10.1 and earlier.

If one of your neighbor sites has this problem you should ask them
nicely if they will install this fix. It will affect anyone downsteam
of a broken site.

---rick

The following sites (as of late February, 1987) have this problem:

abnji akgub akguc akgud akguf allegra arrow auvax bentley bocar calay
cepu clan cord cubsvax custom cuuxb cvbnet daimler desoto drutx edsel gamma
gangue granjon gsg hcr hcrvax hcrvx1 hcrvx2 hocpl houem hounx ihopb kaiser
lambda lcuxa lcuxb lcuxc logico m10ux microsof mprvaxa mruxc mruxe nrcaer nvuxa
nvuxb nvuxd nvuxe nvuxf nvuxg nvuxh nvuxj nvuxr ohgua ohguc oscvax packard petsd
phs phuxa phuxc pierce pur-ee pwa-b pyuxa pyuxd pyuxgg pyuxh pyuxss pyuxv
pyuxww pyuxz pyuxzz rruxa rruxc rruxd rruxg rruxo rruxp rruxqq rruxu scherzo
siemens spuxll stcvax stsci suvax1 swen01 ticnj ttrda ttrdc u1100s ubc-ean
ucf-cs ucsbcsl umcp-cs ur-laser utecfa utx1 utzoo uw-vlsi vax135 vaximile
wavefron winston xios zeta

(The problem is that 2.10.1 is looking for a Relay-Version line that
isn't there anymore)

Index: header.c
Prereq: 2.20
*** header.c.2.10.1	Fri Jun 24 15:32:20 1983
--- header.c	Mon Mar 30 12:48:48 1987
***************
*** 354,363 ****
  	if (!colon || colon + 1 != space)
  		return FALSE;
  	if (its("From: "))
! 		if (index(ptr, '@') && !index(ptr, '!') && seenrelay)
! 			return FROM;
! 		else
! 			return PATH;
  	if (its("Path: "))
  		return PATH;
  	if (its("Newsgroups: "))
--- 354,360 ----
  	if (!colon || colon + 1 != space)
  		return FALSE;
  	if (its("From: "))
! 		return FROM;
  	if (its("Path: "))
  		return PATH;
  	if (its("Newsgroups: "))

Index: defs.dists
Prereq: 2.23
*** defs.dist.2.10.1	Fri Jun 24 16:35:28 1983
--- defs.dist	Mon Mar 30 13:02:19 1987
***************
*** 10,16 ****
   * to be news_version below.
   */
  
! static char *news_version = "B 2.10.1 6/24/83";
  /* SCCS ID @(#)defs.dist	2.23 (hand edited)	5/3/83 */
  
  #define DAYS	(60L*60L*24L)
--- 10,16 ----
   * to be news_version below.
   */
  
! static char *news_version = "B 2.10.1a 6/24/83";
  /* SCCS ID @(#)defs.dist	2.23 (hand edited)	5/3/83 */
  
  #define DAYS	(60L*60L*24L)