Trn help needed

The Ancient Programmer abrams at cass.amd.bnl.gov
Sat Feb 9 09:20:16 AEST 1991


	I have built trn on my Sun3 (OS4.1) and it reads news beautifully.
However, I have encountered one problem, and have been unable to locate
the cause of it. 
	My machines name is dan.amd.bnl.gov, but when I post an
article that machine the From: line says "From abrams at dan.tmc.edu".

	Grepping the trn source for "dan.amd" produces:
Pnews:		'') sitename="dan.amd" ;;
Pnews:		sitename="dan.amd"
Rnmail:		 '') sitename="dan.amd" ;;
Rnmail:		undef) sitename="dan.amd" ;;
config.h:	#define SITENAME "dan.amd"
config.sh:	sitename='dan.amd'

	and a grep for "bnl.gov":
Pnews:          sitename=${sitename}.bnl.gov
Rnmail:         sitename=${sitename}.bnl.gov
config.h:	#define OURDOMAIN "bnl.gov"
config.sh:	domain='bnl.gov'
And in NNTP/common/conf.h:	#define   DOMAIN  "bnl.gov"

I've defined HOSTFILE in config.h as dan.amd.bnl.gov
#define HOSTFILE "/usr/local/lib/usenetname" 

I then thought that I could find tmc.edu in either trn's or nntp's source.
All that I turned up were comments!
grep tmc.edu Nntp/*/*
Nntp/common/README.SYSV:	from archi...
Nntp/common/README.SYSV:	If you hav...
Nntp/doc/nntpd.dst:	Stan Barber (In...
Nntp/inews/inews.c:	 * Send bug rep...
Nntp/server/main.c:	 *   (Internet:	...
Nntp/server/misc.c:	 * by Stan Barb...
Nntp/server/misc.c:	 * written by S...
Nntp/support/nntp_awk:	# Stan Barbe...
Nntp/xfer/nntpxfer.c:	 * Stan Barbe...
#dan<su 11> grep tmc.edu Trn/*
Trn/trn.1:	and is now under the...
Trn/trn.1.02:	and is now under ...

Question:  Where is the tmc.edu coming from in my From: line?

I had to login on this machine in order to post an article with the
correct return address.

Any clues as to what to do or what to look for would be greatly appreciated. 

			Thanks in advance.



More information about the Comp.sources.bugs mailing list