Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pur-ee.UUCP Path: utzoo!linus!decvax!harpo!floyd!clyde!ihnp4!inuxc!pur-ee!ecn-ee!malcolm From: malcolm@ecn-ee.UUCP Newsgroups: net.news Subject: Re: 'Notesfile' sites please note - (nf) Message-ID: <1202@pur-ee.UUCP> Date: Sat, 3-Dec-83 18:34:05 EST Article-I.D.: pur-ee.1202 Posted: Sat Dec 3 18:34:05 1983 Date-Received: Sun, 4-Dec-83 09:30:15 EST Sender: notes@pur-ee.UUCP Organization: Electrical Engineering Department , Purdue University Lines: 91 #R:ittvax:-114700:ecn-ee:16900001:000:2409 ecn-ee!malcolm Dec 3 15:03:00 1983 I'm not sure if this fixes the problem that ittvax!swatt is seeing, but it did fix a problem that pur-ee had. A Notesfiles site needs to run a program called newsoutput to submit everything that was written for notes and submit it to news. Notes supplies a fake return address for inews but there is a bug in news 2.10 that causes this to fail. The return path then causes the news "Reply" command to reply to the notes account instead of the real account. Malcolm ----------------------------------------------- Return-Path: Date: 18 Nov 83 17:19:55 EST (Fri) From: cbosgd!mark (Mark Horton) Subject: Re: News 2.10 Problem To: pur-ee!malcolm I have noticed notes doing this lately. I think there must be a bug in 2.10 causing -f not to work properly. I seem to recall a similar bug involving net.announce. I'm enclosing a diff from 2.10's inews.c to the current one - please try this out and let me know if it fixes the problem. Mark *** oinews.c Fri Nov 18 17:15:17 1983 --- inews.c Fri Sep 2 10:39:32 1983 *************** *** 2,8 * inews - insert, receive, and transmit news articles. */ ! static char *SccsId = "@(#)inews.c 2.29 5/3/83"; #include "iparams.h" --- 2,8 ----- * inews - insert, receive, and transmit news articles. */ ! static char *SccsId = "%W% %G%"; #include "iparams.h" *************** *** 297,303 /* Allow the user to supply some headers. */ hread(&header, stdin, FALSE); /* But there are certain fields we won't let him specify. */ ! if (header.from) strcpy(forgedname, header.from); header.from[0] = '\0'; header.path[0] = '\0'; --- 297,303 ----- /* Allow the user to supply some headers. */ hread(&header, stdin, FALSE); /* But there are certain fields we won't let him specify. */ ! if (header.from[0]) strcpy(forgedname, header.from); header.from[0] = '\0'; header.path[0] = '\0'; *************** *** 308,314 ngcat(header.nbuf); } if (forgedname[0]) { ! gensender(&header, forgedname); sprintf(header.sender, "%s@%s%s", username, SYSNAME, MYDOMAIN); } else { --- 308,315 ----- ngcat(header.nbuf); } if (forgedname[0]) { ! strcpy(header.from, forgedname); ! strcpy(header.path, forgedname); sprintf(header.sender, "%s@%s%s", username, SYSNAME, MYDOMAIN); } else {